On Sat, Aug 14, 2010 at 1:08 AM, Geoffrey Holden
<[email protected]> 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 ([email protected])

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 [email protected]

Reply via email to