mac

Xcode : UNIX Command-Line Tools Installation

I'm trying to install MacPorts but it needs command-line support to be installed with Xcode (which is an option during installation) is there any way I could install UNIX command line support with Xcode without re-installing Xcode? ...

Poly1305AES MAC Authenticator generation problem

From page 5 of Bernstein's paper, it says to do a simple summation equation of c_q * r ^(q-x+1) from 1 to q and mod the entire thing by 2^130-5, add it to an AES output and mod it by 2^128. However, I cannot seem to get his test vectors. one of them is: c1 124bcb676f4f39395d883fb0f19ea3c66 c2 13...

Which MacBook can comfortably display XCode for iPhone development?

I need a portable Mac for iPhone / iPad development. I bought and am using a 15" MBP matte display right now. It cost $2400 and is hard on my eyes because the resolution is 1680 x 1050. I'm thinking of returning it and getting a different laptop, but which one? My usage pattern is that I see myself shuttling this computer to and from wor...

Installer like InnoSetup for Mac

Hi, I'm looking for a simple and efficient Mac installer software. For Windows, there are many good installers - Inno Setup, NSIS, etc. Anything like that available for apples? Thank you! ...

How to send a message from iPhone to Mac/PC

Hey guys, I'm looking to start a new application up - the concept's really simple I guess. You press a button labelled '1' on the iPhone and it sends a message to the PC or Mac that makes the mac/PC respond exactly as if the number '1' had been pressed on the computer's own keyboard. Now I think I'm going to have to do some serious re...

Search file system with Xcode Mac application.

Hello, my uncle challenged me to make an application in which you can search the file system of a Mac. I've never actually had to do this yet in my programming experience, but I think it would be good to know as well. I have a search field, and a button that says search. Does anybody know how I can make that search the file system, and d...

texmate and django, is there intellisense?

New to mac and textmate AND python. I don't seem to be getting any intellisensewith textmate, is there a plugin? what are the keyboard shortcuts I should know about (basic ones at this point). thanks! ...

What's the difference between formal and informal protocols in Objective-C?

What's the difference between formal and informal protocols in Objective-C? ...

Mac developer vs iPhone developer, the other way

Whats the difference between Mac Developer and iPhone Developer membership? Here we have a similar question: http://stackoverflow.com/questions/2635191/dc-mac-developer-vs-iphone-developer Now I ask the other way: if you sign up as an iPhone developer, what would you be missing from a Mac developer account? ...

JavaScriptMVC applications on mac terminal commands

I am new to JavaScriptMVC I downloaded it and trying out my first "hello world" commands. The problem is all the examples are for PC's. I am stuck at the first point. How do i write the commands in the terminal console. In the documentation the first thing to do is to C:\workspace\Cookbook>js jmvc\update How do i write this in the ter...

How to make a droplet on mac osx with automator?

I readed some tutorials about making droplets with apple script or with automator's help. First, I need to know if these droplets only works with the drag n drop file action, or if you can do the action in the current directory you are.And if the last answer is yes, how to do with automator? This was a general question. In my case. I ne...

develop android apps in xcode

hi im trying to develop an android app in xcode. ive downloaded java, java jdk and the android sdk and have loaded a half finished (but working with no errors) app. i also changed the target to: Build Tool: /usr/bin/ant Arguments: install but when i try to build it i get Build file build.xml does not exist i couldn't figure...

How to link PHP 5.3 (FastCGI) to cURL with Lighttpd on Mac OS X?

I installed lighttpd, php5 +fastcgi, and php5-curl earlier this morning using MacPorts. I have been able to get the former two working fine, but I can't seem to get PHP to see the installed cURL extension. I did not change the install path for cURL - it is now at /opt/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so. I've adde...

Which script gets invoked from my eclipse when starting weblogic server?

I setup weblogic to run on my Mac. I am trying to start weblogic from eclipse on port 80 but it doesn't start. I can start the server using sudo on a terminal. I am not able to figure out which script gets called when I start the server from eclipse? The error that I am getting is: There are 1 nested errors: weblogic.management....

integerForKey: always returns zero

Hi, i'm trying to retrieve a value from my preference file which is an integer. The funny thing is that it always returns zero, although it does exist and the names for both integerForKey: and setIntegerForKey: are the same. Here's how I retrieve the value: [defaults integerForKey:@"BackUpSize"]; And here I set it: [defaults setIntege...

Unable to read a path with special characters in FSRef.

Hi All With this code I am trying to get the path in const char *pathPtr from fsRefAEDesc. It gives the correct name and path if there are no special characters in the name of file which is there in fsRefAEDesc. Now if path has some special characters /Users/XYZ/.rtf I don't get a correct fsRef from AEGetDescData(). I believe it has ...

Is it possible to write a C++ MacOS X screensaver without using Objective-C at all ?

I asked Google how to write a Mac screensaver with c++ and he told me many things about how to create a simple screensaver in Objective-C which I would really like to avoid. Is there any way to do like under Windows systems where you can put an executable file as screensaver ? ...

How do I get the name of a file's owner in Java?

I just need to know the owner's name of a file on Mac using Java -- how can I go about getting it? Thanks! ...

Launching a program so that it opens in center of the launching application

Launching a program so that it opens in center of the launching application. Platform: Mac Launching mechanism: a c++ program launches using system() Currently I observe the program launched pushes it to left most part of the screen. ...

Mac Vim: How can I change the default text color to be green? Default font? Macvim manual?

I have installed MacVim but I cannot figure out how to do some formatting things. The screen shot below shows: the file class1.jak (custom file type I have defined) open in both macvim and vim the left one is macvim the right one is the terminal Here is what I would like to do: The default color of my terminal is green. I wou...