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" <t...@cornell.edu> 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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to