Re: Getting the Item from NSOutlineView's Notifications
Re: Getting the Item from NSOutlineView's Notifications
- Subject: Re: Getting the Item from NSOutlineView's Notifications
- From: Dave Hersey <email@hidden>
- Date: Thu, 30 Jun 2005 21:24:39 -0400
Yeah, this is working for me here. I'd check your case and @ signs. :)
- (void) outlineViewItemDidExpand:(NSNotification *)notification;
{
id anObject = [notification userInfo], anItem;
if (anObject)
{
anItem = [anObject objectForKey: @"NSObject"];
NSLog(@"outlineViewItemDidExpand: the item's class = %@",
[anItem class]);
}
}
- dave
On 6/30/05 8:30 PM, "Seth Willits" <email@hidden> wrote:
> On Jun 30, 2005, at 5:13 PM, Michael McCracken wrote:
>
>> It really should work with
>> id obj = [userInfo objectForKey:@"NSObject"];
>>
>> Is that what you're doing? Note that we're using NSObject as a
>> string here.
_______________________________________________
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