• 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: Combined objects (NSString and Switch checkbox)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Combined objects (NSString and Switch checkbox)


  • Subject: Re: Combined objects (NSString and Switch checkbox)
  • From: j o a r <email@hidden>
  • Date: Fri, 17 Jan 2003 10:54:11 +0100

A switch box button cell per default has both a button image and a button title, so you don't need to invent anything to get this working. Just look at how it appears in IB.

Unfortunately I don't understand your questions on "addObject:", so I cannot comment on that.

j o a r

On Friday, Jan 17, 2003, at 10:49 Europe/Stockholm, Chad Armstrong wrote:

In my table, I want two elements, a checkbox and a string after it to appear in one cell. Is this possible, and if so, when I call an addObject method, how should I go about doing this? Should I create a new class which contains the checkbox and string elements, and when I do an addObject: I would do something like [myStuff addObject: [ [myClass alloc] init]]; (or something like that)?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Combined objects (NSString and Switch checkbox) (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Combined objects (NSString and Switch checkbox)
  • Next by Date: Re: Deadlock with -setApplicationIconImage in a drawing thread
  • Previous by thread: Combined objects (NSString and Switch checkbox)
  • Next by thread: Re: Combined objects (NSString and Switch checkbox)
  • Index(es):
    • Date
    • Thread