views:

28

answers:

1

I implemented the two methods of the protocol nscoding in a view controller, but now I want to save the view when the apps close and restore the view when the apps start, how I do this?

A: 

You can use a NIB to ensure that the view objects are always loaded as required, then just configure them in the view controller's -viewDidLoad method.

Graham Lee