From: Zachery Bir <zbir@ur...> - 2003-08-26 00:43:55
The entries in my app's defaults.plist don't seem to be registering
when I try to access them from a dry-run with no existing plist file in
Should I need to explicitly call syncronize() in my init() method? I've
tried calling resetStandardUserDefaults(), but it didn't seem to pull
in the defaults.
Now, I subclassed the NSBrowserCell class (MyBrowserCell), and in my
awakeFromNib() I call:
yet it does not set the cell class for the browser ("print
self.mBrowser.cellClass()" confirms this)
I can't call setCellClass_(MyBrowserCell.class()) because the python
interpreter chokes on the class keyword, and MyBrowserCell alone should
return the same thing anyway.
I call "cell.__class__ = MyBrowserCell" in my
browser_willDisplayCell_atRow_column_() implementation, but that just
gets my past one error, and isn't a real fix
Are you registering the defaults? I.e.:
On Aug 25, 2003, at 7:41 AM, Zachery Bir wrote:
> The entries in my app's defaults.plist don't seem to be registering
> when I try to access them from a dry-run with no existing plist file
> in ~/Library/Preferences/
Get latest updates about Open Source Projects, Conferences and News.