• 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: tips on managing group rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tips on managing group rows


  • Subject: Re: tips on managing group rows
  • From: Allyn Bauer <email@hidden>
  • Date: Mon, 16 Apr 2012 23:09:16 -0500

Probably what you want to do is what you suggest - make an object. Other
options include an array of arrays, of dictionaries, or of nsvalue
instances containing structs. Depending on your needs. Try an object first.
On Apr 16, 2012 10:25 PM, "Rick C." <email@hidden> wrote:
>
> Hi,
>
> So I'm working on a view-based nstableview and for the first time I will
be using group rows.  Any tips on how to manage the data?  What I mean is
normally I can just return [dataArray count] and [dataArray
objectAtIndex:row] for the required methods and that will get the job done.
 But since a group row counts as an actual row (right?) would you recommend
inserting group row objects into my main dataArray?  Or maybe maintain a
separate array with group row objects?  But this would throw off how I
normally would do it.  Any tips on how you all do it would be great thanks!
>
> rc
> _______________________________________________
>
> 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: 
 >tips on managing group rows (From: "Rick C." <email@hidden>)

  • Prev by Date: Is there a glue file between Carbon and Cocoa?
  • Next by Date: Re: Xcode warns about missing protocol definition, even though @protocol is used
  • Previous by thread: tips on managing group rows
  • Next by thread: Re: tips on managing group rows
  • Index(es):
    • Date
    • Thread