• 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: NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView


  • Subject: Re: NSOutlineView
  • From: Mahaboob <email@hidden>
  • Date: Tue, 30 Dec 2008 15:30:01 +0530
  • Thread-topic: NSOutlineView


When I'm calling [self medialistSelectionChanged]; from - (IBAction)
openMediaWindow: (id) sender, OutlineView shows 0x0 and when I'm calling the
same method from -(IBAction) comboSelectionChanged: (id) sender then
OutlineView shows 0x14c460 in debugger.

On 12/30/08 3:09 PM, "Mahaboob" <email@hidden> wrote:

>
> I put breakpoint there but the OutlineView shows nil.
>
> On 12/30/08 2:49 PM, "Timothy Larkin" <email@hidden> wrote:
>
>> I would put a breakpoint there and confirm that OutlineView is not nil
>> when you call reloadData.
>>
>> Sent from my iPhone
>>
>> On Dec 30, 2008, at 3:57 AM, Mahaboob <email@hidden> wrote:
>>
>>> I'm calling this method from the action method that opens this
>>> window. I
>>> used the code:
>>> - (IBAction) openMediaWindow: (id) sender
>>> {
>>>    [cbChooseDatabase selectItemWithTitle:@"Default table"];
>>>    [self medialistSelectionChanged];
>>>    [OutlineView reloadData];
>>>    [MediaWindow makeKeyAndOrderFront:sender];
>>> }
>>>
>>>
>>> On 12/30/08 2:17 PM, "Timothy Larkin" <email@hidden> wrote:
>>>
>>>> Depending on when you call the method, the outlet for the outline
>>>> view
>>>> may be nil. For instance, if you call the function from an init
>>>> method
>>>> for some other object in the nib.
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Dec 30, 2008, at 12:03 AM, Mahaboob <email@hidden> wrote:
>>>>
>>>>> My application uses an NSPopupButton and NSOutlineView. PopupButton
>>>>> shows
>>>>> all the table names in the database and the outlineView displays the
>>>>> data in
>>>>> the corresponding table selected from the popupButton. It is working
>>>>> fine. I
>>>>> also need to display one default table's data in the outlineView
>>>>> when I'm
>>>>> opening this window. So in the opening method of the window I called
>>>>> the
>>>>> same method used for the PopupButton's selection changed, and it
>>>>> runs that
>>>>> method but it doesn't fires the events for the OutlineView. So the
>>>>> outlineView shows nothing. How can I fires the events for
>>>>> outlineView in
>>>>> this method ?
>>>>>
>>>>> Thanks in advance
>>>>> Mahaboob
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>> 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:
>>>>>
>>>>> This email sent to email@hidden
>>>
>>>


_______________________________________________

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:

This email sent to email@hidden

References: 
 >Re: NSOutlineView (From: Mahaboob <email@hidden>)

  • Prev by Date: Re: NSOutlineView
  • Next by Date: RE: RE: NSColorWell shows no color
  • Previous by thread: Re: NSOutlineView
  • Next by thread: Re: NSOutlineView
  • Index(es):
    • Date
    • Thread