• 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: using a tableview delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using a tableview delegate


  • Subject: Re: using a tableview delegate
  • From: Michael Thon <email@hidden>
  • Date: Fri, 5 Feb 2010 15:38:58 +0100

On Feb 5, 2010, at 12:13 PM, Graham Cox wrote:

>
> On 05/02/2010, at 9:55 PM, Michael Thon wrote:
>
>> Instead of putting my delegate methods in the window controller, should I instead subclass NSArrayController and put the delegate methods in there?  Doesn't make sense to me to make a subclass just to add delegate methods.
>
>
> No, it can be any object, it's just usually convenient for it to be the same controller that is also the datasource.
>
> Where does the error you mention actually come from?
>

Haven't actually figured that out.  Its not fatal and it isn't followed by a stack trace.  my button in the UI is bound to remove: in the array controller.  when I remove the last item in the table I get the error.  clicking the button when the table is already empty does not throw the error. I guess it must come from NSTableView._______________________________________________

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

  • Follow-Ups:
    • Re: using a tableview delegate
      • From: Graham Cox <email@hidden>
References: 
 >using a tableview delegate (From: Michael Thon <email@hidden>)
 >Re: using a tableview delegate (From: Graham Cox <email@hidden>)

  • Prev by Date: logic problem. adding sine wave pattern to dynamic float
  • Next by Date: Re: Main menu missing in 10.5. There in 10.6
  • Previous by thread: Re: using a tableview delegate
  • Next by thread: Re: using a tableview delegate
  • Index(es):
    • Date
    • Thread