cocoa-design-patterns
Which pattern should be used for editing properties with modal view controller on iPhone?
I am looking for a good pattern for performing basic property editing via a modal view on the iPhone.[详细]
2022-12-28 07:36 分类:问答When to release the model(representedObject) of the corresponding UIViewController
In AppKit we have \"representedObject\" available through NSViewController, this representedObject is generally set to ModelController or the model which the NSViewControllerdisplays, this works great[详细]
2022-12-26 03:50 分类:问答Is it worthwhile to implement observer pattern in PHP? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. 开发者_JS百科 Want to improve this question? Update the question so it can be answered with facts and citation[详细]
2022-12-25 04:31 分类:问答iphone global settings - best way to implement it?
I\'d like to have some settings th开发者_如何转开发at I can access from anywhere in my app. Is there a best way to implement this? Right now I\'m just sticking properties in my app delegate, then acce[详细]
2022-12-20 11:56 分类:问答MVC in a Cocoa document-based application
I\'m going through a refactoring and reorganization of my application at the moment. I\'ve realized that some of the separation between models and views, and their controllers has diminished and I wis[详细]
2022-12-20 03:55 分类:问答MVC Pattern: Where does formatting/processing type work belong? (Objective-C)
As my Cocoa skills gradually improve I\'m trying not to abuse the MVC as I did early on when I\'d find myself backed into a hole built by my previous assumptions. I do开发者_开发问答n\'t have anyone h[详细]
2022-12-19 16:35 分类:问答Core Data pattern: how to efficiently update local info with changes from network?
I have some inefficiency in my app that I\'d like to understand and fix. My algorithm is: fetch object collection from network[详细]
2022-12-19 02:05 分类:问答OSX: Get application windows + bounds
Is there a way to get the list of windows from another application and their bounds. E.g. using F-Script or obj-c or any other way (except AppleScript) to access the window contents of a开发者_C百科no[详细]
2022-12-19 00:22 分类:问答How should I deal with the need for multiple callbacks for the same delegate in Objective-C?
I have created a library which can download JSON data which is then placed into an NSDictionary. I wrap this class with a simple Twitter engine which allows me to pull my friends timeline, post an upd[详细]
2022-12-18 19:51 分类:问答UIButton - should we release or not?
I want to add a button on a view dynamically. Here is the code. UIButton *x=[UIButton buttonWithType:UIButtonTypeRoundedRect];[详细]
2022-12-18 15:01 分类:问答
加载中,请稍侯......