Questions on AppDelegates and life in general...


ok, i've read documents @ apple , i've read tutorials , stacks of books. still don't appdelegates. yes, know pretty handle loading/unloading , view swapping , such (summarized know still).

main question is: else, if anything, for?

i, say, declare nsstring in app delegate , have set or accessed in various views in app? if how? (side note: if that's done in way outside of appdelegate i'd know how that's different thread).

i'm looking kind of app delegate feature summary or something. appdelegates dummies, perhaps?
 

appdelegates can used store/access data tons of view controllers or classes, it's thing (correctly) stated loads , manages windows , app launching/crashing.

if you'd to, example, access app delegate anywhere:

code:
[uiapplication sharedapplication].delegate
you can use access app delegate methods, data (assuming @property's , @synthesize's done correctly) , other state information.

hope answers question? they're weird, there kinds of problems best solved using app delegates.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments