Questions tagged [cocoa]
The cocoa tag has no summary.
15 questions
3 votes
3 answers
755 views
What is the best way to retain a local object which is performing an asynchronous task?
My problem is the following: inside a method I'm creating an object like this: MyObject* myObject = [MyObject new]; Then I want it to perform an asynchronous task like this: [myObject ...
0 votes
1 answer
148 views
MVC design in Cocoa games: Is it possible?
I'm working on creating games on OS X, using the Cocoa framework, the probably only and best way to utilize all the capabilities of this operating system. Since Cocoa is MVC, I have to frame my games ...
3 votes
1 answer
254 views
Testing: Should I wrap system notifications and send my own?
In the current Cocoa app I'm working on, I've got an object, RecordScheduler, which responds to two types of notifications, "day did pass" and "quicksaving interval did pass". In both cases, the ...
0 votes
1 answer
393 views
NSException in init when having a custom designated initialiser?
I have a custom View Controller that is a subclass of UIViewController that requires a data object to be set up properly. Without this object, showing the VC doesn't make any sense. So I created a ...
1 vote
1 answer
863 views
Implement a file system for ios devices
I've read that ios apps can communicate via unique urls. An online tutorial on tutsplus says Communication between apps provides your application with an opportunity to take advantage of other ...
0 votes
1 answer
647 views
Project Resource Organization and Structure at Cocos2d-X Development
Cocos2d-X is a game engine framework based on Cocos2d-iPhone, which consists of expanding supported platforms, with multiple choice of programming languages thats shares the same API structure. What ...
1 vote
1 answer
364 views
Why use Pascal with Cocoa/Cocoa Touch?
I'm surprised to find that it might be possible to use Pascal with the Cocoa and Cocoa Touch frameworks. This is an interesting turn of events, as Pascal was the favored language for Mac development ...
0 votes
2 answers
557 views
Cocoa Applications: Use custom preference dialog or system preference app?
When writing Cocoa Applications for MacOSX, you have the choice of either having a custom preference dialog, or using the Settings.app to manage your preferences. Functionality wise, there is no ...