User Defaults
User Defaults
- Subject: User Defaults
- From: alex gordillo <email@hidden>
- Date: Thu, 10 Nov 2005 16:27:23 -0500
Hey all,
I have an NSTableView (one column only) that is dynamically populated
with an array of web services. I'm trying to use NSUserDefaults so
that it remembers the last row selected. I don't want to do it using
the row index numbers because the number of items could possibly
change every time the app is launched, so I figure I must do it by
the name of the object in the row. In my awakeFromNib method, I'm
trying to write the method that reads the default and sets the
tableview to the current setting. I don't know how I can set a
selected row using an object name and not the row index. Any help
would be appreciated.
Thanks,
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden