Re: Combined objects (NSString and Switch checkbox)
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.