• 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
Spaces in NSUserDefaults keys not allowed in IB 3.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spaces in NSUserDefaults keys not allowed in IB 3.1?


  • Subject: Spaces in NSUserDefaults keys not allowed in IB 3.1?
  • From: patrick machielse <email@hidden>
  • Date: Fri, 1 Aug 2008 13:02:32 +0200

In IB 3.1 I'm trying to bind to a "Shared Defaults" key containing a space, say "has registered", but IB 3.1 now gives me an error dialog saying:

  Key paths cannot contain: ' '

and simply won't accept the key. This used to work in previous versions of IB (2.5?). IB excepts bindings I set up with previous versions of the program.

I can see how this makes sense when you are binding to regular object properties, but user defaults keys can and do contain spaces (f.i. when storing the window frame keys). There is also no restriction on user defaults keys mentioned in the class' documentation.

I'm going to report this as a bug, is there a known workaround?

patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Spaces in NSUserDefaults keys not allowed in IB 3.1?
      • From: Kevin Cathey <email@hidden>
  • Prev by Date: xcode and x11
  • Next by Date: Unable to set breakpoints in custom executable
  • Previous by thread: xcode and x11
  • Next by thread: Re: Spaces in NSUserDefaults keys not allowed in IB 3.1?
  • Index(es):
    • Date
    • Thread