There are many resources regarding encoding on iPhone. Most of them concern "how to make X", for example. "configure navigation controller" or "download text from a URL". Everything is good and beautiful.
Now I'm more interested in questions that follow simpler things - how to best structure your complex user interface or your application or the general problems that arise. To illustrate: The iPhone 3 Getting Started book tells you how to set up an application with multiple viewcontrollers using the βSwitcherβ top view manager, which switches between views belonging to other view controllers. Ok, but they only tell you how to do this and nothing about the problems that may arise: for example, if I use their paradigm to switch to the UINavigationViewController, the navigation bar gets too low on the screen because the UINavigationViewController expects to be the topmost UIViewController (by apparently). In addition, delegation methods (for example, those related to orientation changes) go to the top controller of the switch view, and not to the actual controller responsible for the current view. I have corrections for these things, but they feel like hacks, which makes me unhappy and makes me feel like I missed something.
One of the productive things might be to view some open source iPhone projects (see this question ). But beyond that?
Update
To clarify: I guess what I'm asking about could be summarized as "Recipes and Gotchas for iPhone Design". Such things that are interesting to developers, but not covered in any of the iPhone-books, etc., which I saw, for example:
I am writing an application for the iPad and I want the UISplitViewController to be presented to the user only for a while, which Apple seems to say that I can not do this. Is it possible? How?
Apple does not give me a way to style my application in a convenient, transverse direction (for example, font or color settings). How can I fit the style of my application?
Memory management is not simplified due to some inconsistencies in the UIViewController method names (for example, viewDidUnload is not opposite viewDidLoad, despite the name). Is there an easy way to remove this and make view manager memory management less error prone?
How can I constantly and easily test the controllers of my view for the correct behavior when a memory warning arrives? It is easy to simulate a memory warning in the simulator, but if the user interface I want to check shows (and is a "sheet-level view controller"), it will not unload its view because it is currently visible.
NB I do not really ask the questions above. . I think I have decent answers to them! - just giving examples of βgoodβ questions that illustrate this stackoverflow question.
design-patterns iphone
occulus
source share