Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-05-2009, 12:33 PM   #33 (permalink)
Nosferatu
Developer
 
Nosferatu's Avatar
 
Join Date: Jan 2009
Posts: 16
Nosferatu is on a distinguished road
Default

Check out lecture 7 of the Stanford CS193P course which is run by Apple engineers.

CS193P - Cocoa Programming | Announcements

They talk about best practices for data flow within your application and specifically, between view controllers. In short, using the application delegate, global variables and singleton methods are all bad practices. Instead, communicate only the data that needs to be communicated to the next view controller via properties or custom initializer methods in the view controller that is being pushed onto the stack.
__________________
Avatar Credit: M. Uli Kusterer
Nosferatu is offline   Reply With Quote
 

» Advertisements
» Online Users: 466
17 members and 449 guests
13dario13, 7twenty7, bhsu21, Bryan1, ClerurcifeDer, Duncan C, gdogdev, guusleijsten, HowEver, iAppDeveloper, iekei, jessicagx69, Paul Slocum, PavelMik, pbart, Wikiboo, yys
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,637
Threads: 94,101
Posts: 402,822
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jessicagx69
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.