Saving custom data types
<p>Im making an app similar to apples weather app. My main view has a NSMutableArray of objects to be displayed. This array is managed by the user. I want to be able to save this array so that when the app is relaunched it has the stuff the user selected. The objects stored are "Event" objects which is a custom object type that stores more custom objects that all hold some of the following: NSString, NSNumber, NSUInteger, NSURL. My research has led me to three options, none of which i understand, nor know how to implement: saving to a plist using writeToFile, archiving the data, or saving it to userPrefs.
Does anybody know of a solution to my problem?</p>

<p>Sample data object: 
` </p>

<pre><code>@interface Rider : NSObject {
    NSString *name;
}
-(Rider *) initWithName:(NSString *) nam;
- (NSString *)description ;


@property (nonatomic, retain) NSString *name; 
</code></pre>

<p>`</p>
