title: Best way to store text, font, and color in iPhone?
body: <p>I'm working on a text editor iPhone app where a user can type and save a note with custom font, size, and color. So I have an <code>NSString</code>, <code>UIFont</code>, and a <code>UIColor</code>. I need to store all these in some sort of data structure, but I'm not sure what would be the best method. Currently I'm using an <code>NSMutableArray</code> which writes to a plist for the string, and two other <code>NSMutableArray</code> of custom objects that save to <code>NSUserDefaults</code> on exit. But this is getting way too complicated to manage and debug. Is there any better way to do this?</p>