Check that -[ComputerInfo init] method. That's coming from your
program, and it's apparently trying to call -[NSString
initWithString:] with a nil argument.
Ben, I noticed that you're calling -init from inside of
nibInstantiate. Are you be trying to initialize something with the
string value of an outlet? If so, that would be better deferred until
-awakeFromNib.
Doing so in -init *might* work, depending on whether the outlet has
been initialized or not before your -init gets called, but it's not
something you can rely on, since the order in which objects are
initialized is neither defined nor guaranteed. -awakeFromNib is
called after everything has been initialized; it's express purpose is
to allow you to do any sort of initialization that depends on other
objects in the nib.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden