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
OutlineView manual update with bindings
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
OutlineView manual update with bindings
Subject
:
OutlineView manual update with bindings
From: Sergio Bacchin <
email@hidden
>
Date: Sat, 25 Jun 2005 09:24:13 +0200
Hi all,
my app contains a NSOutlineView with one column (NSTextFieldCell) bound to a NSTreeController.
An "add" button calls an IBAction method which should add a new item and enable edit mode.
-(IBAction) addNode: (id) sender
{
id newTreeNode = [TreeController newObject];
< newTreeNode set some values for keys...>
<select new item in outline and edit it with editColumn:row:withEvent:select:>
}
The problem is that the OutlineView is updated with the new item only after exiting "addNode" method. Is there a way to force the OutlineView to update itself before?
Thanks
_______________________________________________
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
Prev by Date:
Re: Class clusters - infinite loop?
Next by Date:
Re: (Inverse) relationship lost after being set properly
Previous by thread:
Re: Can't keep from leaking memory
Next by thread:
Auto-Generated "Add" and "Remove" buttons (Core Data)
Index(es):
Date
Thread