On Sat, Aug 14, 2010 at 1:08 AM, Geoffrey Holden <45rpmli...@googlemail.com> wrote: > The class object is 'message' and its key 'messageID' is an NSString. If I > set the object to be an NSString (or NSArray or NSDictionary), the > dictionary stores it just fine. It just won't store 'message'.
Again, you need to specify what you mean by "it just won't store". Are you getting a compiler error, a runtime error, what? What is the actual error you are receiving? > messageID is, in reality, generated elsewhere. But you could imagine it to > be NSString* messageID with a value of, say, @"FirstDocument". Messenger > refers to a nib file with which message is initialized. And I know that my > method name (initWithApp) might be a bit rubbish, but I can always refactor > later! It is not helpful to ask people who are already at the disadvantage of distance to "imagine" pertinent details about code that's giving you unspecified problems. Please post all relevant code *and* the full text of any errors, exceptions, warnings, stack traces, or funny looks you're receiving. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com