Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView



Data is stored in a database and I¹m retrieving it by using QuickLite
database.

On 12/31/08 6:31 PM, "Timothy Larkin" <email@hidden> wrote:

> Where are the data coming from? A core data store? Or do you load them
> explicitly?
> 
>  
> --
>  
> 
> Timothy Larkin
>  
> 
> Abstract Tools
>  
> 
> Caroline, NY
>  
>  
> 
> On Dec 30, 2008, at 11:53 PM, Mahaboob wrote:
> 
>>  I used awakeFromNib method. When I¹m running the program in debugger,
>> outlineView get instantiated and shows its value ³0x14c260² and also its
>> variables(_numberOfRows ,...) shows the value ³0² and opens the main window.
>> From the main window when I¹m clicking the button, that opens the window
>> containing outlineView, then outlineView shows its value as ³0x99d6938b² and
>> also its variables shows nothing, thus opens the window without outline data.
>> Then I selected a table from the popup button (which calls the method for
>> loading outline data) then outlineView shows its value ³0x14c260² and
>> displays outline data.
>>  
>>  
>>  On 12/30/08 6:33 PM, "Timothy Larkin" <email@hidden> wrote:
>>  
>>  
>>> I am assuming that the objects in question are loaded from a nib. In that
>>> case, you cannot assume that all the nib objects have been created until the
>>> nib loader send those objects an awakeFromNib message. Try writing an awake
>>> from nib method for one of the nib classes. If you then put a breakpoint, I
>>> think you will find that the outline view has been instantiated, and from
>>> there you can call your method that loads the outline data.
>>>  
>>>  
>>>  
>>>   
>>>  --
>>>   
>>>  
>>>  Timothy Larkin
>>>   
>>>  
>>>  Abstract Tools
>>>   
>>>  
>>>  Caroline, NY
>>>   
>>>   
>>>  
>>>  
>>>  
>> 
>>   
>>   
> 
> 


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.