• 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
Re: Getting the Item from NSOutlineView's Notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Getting the Item from NSOutlineView's Notifications (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Getting the Item from NSOutlineView's Notifications
  • Next by Date: Lots of Core Data Attributes
  • Previous by thread: Re: Getting the Item from NSOutlineView's Notifications
  • Next by thread: Re: Getting the Item from NSOutlineView's Notifications
  • Index(es):
    • Date
    • Thread