I know how to write a Cocoa project, with classes, xib files, localizations, property lists, resources, ...
Sometimes, when I want to learn a specific API or a how-to for a cool feature, apple reference manuals or programming guides point to examples to download.
And sometimes, I feel lost digging in all this source code and not findin...
I need to relocate my iPhone development stack to a different machine. What do I need to do in preparation and are there any gotchas?
Thanks!
...
I'm doing a short project just to experiment writing without the use of nib files (personal interest only, don't plan on never using nibs!).
I have my app controller set up as NSApp's delegate. Under -(void)applicationDidFinishLaunching:(NSNotification *)aNotification, I attempt to initialize the interface.
AppController.h:
#import <C...
What is the easiest way to get the network traffic sent and received bytes in objective c?
...
In XCODE I'm trying to add another localization to an xib file. In the drop-down list I have 4 languages:
English, Japanese, French, German.
How do I add Chinese to the list so I don't have to type it every time when I add to another xib file?
...
I'm trying to add two inputs to a QTCaptureSession in the following:
mainSession = [[QTCaptureSession alloc] init];
BOOL success;
NSError* error;
QTCaptureDevice *videoDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:@"QTMediaTypeVideo"];
success = [videoDevice open:&error];
QTCaptureDevice *audioDevice = [QTCaptureDevice de...
I've built a command-line utility (Foundation tool) in Xcode, using Cocoa. The tool makes use of a 3rd party framework.
Everything works OK in Xcode, but how do I deploy this program? If I run the app from Finder, it can't find the library because it's looking in "../Frameworks/etc." Can I statically link in the 3rd party framework? ...
I am looking for alternatives for my current box and Mac OS X seems very appealing.
My main area of interest is C++ programming. Currently I'm using Eclipse + CDT and g++ for creating my software; sometimes it is KDevelop.
I know that primary IDE for Mac is Xcode and primary language is Objective-C. I would like to avoid learning Objec...
I'm in the middle of localizing my iPhone app, and I've gotten English, French, German and Japanese localizations working without any problems. Now I'm trying to get a simplified chinese localization working, and no matter what I try, the chinese .lproj bundle just won't be used when I have the phone set to simplified chinese.
One probl...
After Xcode has finished building is there a way to make it copy the executable to specific directory (~/Sites/cgi-bin/).
I have the target "Installation Directory" set to the correct folder, with "skip installation" unchecked, but no luck.
Is there something i'm missing? Thanks
...
I am currently developing a program in Qt and it uses the library libqextserialport.1.dylib.
I build it and run in x-code and it spits back:
dyld: Library not loaded: libqextserialport.1.dylib
Referenced from: /Users/samuelreh/Desktop/QtOpenCV/build/Debug/QtOpenCV.app/Contents/MacOS/QtOpenCV
Reason: image not found
The libra...
In the process of localizing my app, I have about 50 resources (mostly xibs) that need to be localized. I know how to add a localization for each file, but it's a pretty time consuming process to open the info panel and add the localization for each file.
Is there any way to select multiple files and add a localization to each of them i...
When I startup Xcode I get the following error:
The application Xcode quite unexpectedly. Clicking on the Report... button gives the following:
Process: Xcode [875]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: ??? (???)
Build Info: DevToolsIDE-921...
I'm writing an iPhone app. I have a header file that looks like this:
@interface EditTagsViewController : UITableViewController {
NSMutableArray *allTags;
NSMutableArray *selectedTags;
NSInteger currentFavorite;
}
@property (nonatomic, retain) NSMutableArray *allTags;
@property (nonatomic, retain) NSMutableArray *selectedTags;
@...
Hi I mostly do C++, Objective-C programming. And I found Xcode plus an auto completion/macro plugin (Completion Dictionary) quite adequate.
However, all people seem to praise over their pure text editors. I tried Textmate for a bit; liked its simplicity but dislike its files/framework handling.
Am I missing something here? Or, do Vim ...
You know in Xcode, you can press option - command - left/right arrows to switch between multiple files. But what are these files?
They seem to be the ones that have been opened. But is there any way to check what they are? And close some unwanted ones.
Or, any other way you know to switch between files??
...
I have searched but cant find this question anywhere. My wife and I are about to take on iPhone development and we've only got the funds to purchase one iMac 24" to do this. Anyone out there with iPhone development experience know if two different Apple developer accounts can be profiled on one development Mac? Not only via the devel...
I'm trying to use libtidy for an iPhone app (since the iPhone 2.2 SDK doesn't include NSXMLDocument which has tidy functionality) but I get a linker error saying "library not found for -ltidy" when I build the app.
As for other framework/library references, I've added the libtidy.dylib to my list of referenced frameworks and I've added ...
I'm new to XCode 3.1.2 and Objective-C 2.0. I've just discovered using breakpoints for logging instead of littering the code with millions of NSLog() statements. The problem is, when the debugger starts up it spews half a screen full of status and credits info into the console.
Is there any way to suppress this text?
...
I have an Xcode project and needed to change the name of the product it builds. I went through the project files with a fine-toothed comb and thought I had made every change possible. The last step was to grep all files in the project folder for occurrences of the old name. It comes up clean.
But after a build grep finds a file which...