• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
help with userdefaults.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with userdefaults.


  • Subject: help with userdefaults.
  • From: email@hidden
  • Date: Fri, 19 Mar 2004 14:19:20 EST

I am a newbie when it comes to programing and I have a project that has
preferencePanes, and if no preference file exists I get the following error and
I've determined it's due to no defaults found in the preference file.

I do have the minimum defaults already stored in the nib, how do I save these
if none exist?

I've RTFM but cannot grasp it.

ERROR:
_______________________________________________
2004-03-19 12:04:59.171 XSKeyEMU[19381] *** Assertion failure in
-[NSTextFieldCell _objectValue:forString:], AppKit.subproj/NSCell.m:1131
2004-03-19 12:04:59.172 XSKeyEMU[19381] Invalid parameter not satisfying:
aString != nil
_______________________________________________

If you have some time and can help me with code that would save these
defaults to avoid this error I would be most greatful.
_______________________________________________

Dale
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Cannot get indexOfObject to work
  • Next by Date: Re: memory management question
  • Previous by thread: Re: Cannot get indexOfObject to work
  • Next by thread: Nib - children problem.
  • Index(es):
    • Date
    • Thread