Re: Any new/updated Cocoa books soon?
Re: Any new/updated Cocoa books soon?
- Subject: Re: Any new/updated Cocoa books soon?
- From: Eric Forget <email@hidden>
- Date: Thu, 29 Jan 2004 19:22:20 -0500
>
At 15:26 Uhr +0100 28.01.2004, Andreas Mayer wrote:
>
> Oh, and I had problems figuring out how to use the run loop inside
>
> my NSCell subclass. Turns out I had to use NSApplication's
>
> nextEventMatchingMask:untilDate:inMode:dequeue:. I think that method
>
> should be mentioned in the NSRunLoop documentation somewhere. A link
>
> to an appropriate example (is there one?) would be even better.
>
>
Haven't checked for new docs yet, but what was missing until now was
>
some good documentation (or at least sample code with loads of
>
comments) on writing one's own NSCells. There's lots of stuff saying
>
you can and should do it, but I'd really like to see an example of a
>
completely hand-grown cell that includes in-place text editing, mouse
>
tracking, does custom highlighting when selected in an NSTableView
>
and whatever else Apple's cells do.
You may want to check <file:///Developer/Examples/AppKit/ClockControl/>. It
may be not complete, but gives you a good quick start on what to do for
dealing with cells.
Eric
___________________________________________________________________
Eric Forget Cafederic
email@hidden <
http://www.cafederic.com/>
Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684>
_______________________________________________
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.