programming
Cocoa: drop down menu buttons
In Cocoa, it is pretty easy to use an NSButton that creates a drop down menu. One of the key-tricks to making it appear to be an NSPopUpButton is to set the [NSCell sendActionOn:]. Generally,... [read more]
Jan
29
2006
Cocoa: Creating a custom Color Picker in Cocoa. Part 1.
It is pretty easy to create a custom Color Picker that is available in any application, or for just your particular app. It isn’t difficult to do, but there are some caveats that you must... [read more]
Jan
8
2006
Cocoa: Using NSPredicate and NSMetadataQuery
Hi Apple Cocoa developers. Here are some more tips and tricks for Cocoa development. On Tiger, there is a new class called NSMetadataQuery that allows you to do some cool Spotlight searches. See the “Spotlighterâ€... [read more]
Jan
5
2006
Cocoa: Disappearing headers in CoreData generated TableViews
Apple Cocoa developers: Finally another blog entry for you! Everyone else: You may want to skip this one… It has come to my attention that some NSTableView instances created by dragging CoreData objects into Interface... [read more]
Jan
5
2006
Cocoa only feed
One of the great things about WordPress is that you can subscribe to the feed that you are intersted in. For instance, if you just interested in Cocoa stuff, you can just watch this feed.... [read more]
Oct
3
2005
Tiger and the dictionary is a keyboard shortcut away
A really cool “hidden†Tiger feature is the ability to quickly see the dictionary for (almost) any word in a Cocoa app. Move the cursor over a word, and press cmd-ctrl-d. You will see the... [read more]
Sep
27
2005
Cmd – click. The subtle secret of Mac OS X.
It seems that a lot of people don’t know how cmd click works in a lot of Mac OS X Cocoa applications. To put it simply, Cmd-clicking on a non key window (or application for... [read more]
Aug
2
2005
Drag and Drop in an NSTableView
Drag and Drop in an NSTableView is easy to do. However, I think the documentation (Table Views: Using Drag and Drop in Tables) for it isn’t particularly great. It misses a few points, so I’m... [read more]
Jul
29
2005
Repost: How to find memory leaks in Cocoa apps with Object Alloc
(The original of this I accidentally killed — here is a copy). If your Cocoa application leaks memory, here is a way to find those leaks! 1) Open your application in Object Alloc 2) Start... [read more]
Jun
17
2005
As an Amazon Associate I earn from qualifying purchases.
(c) 2008-2024 Corbin Dunn
Subscribe to RSS feeds for entries.
45 queries. 0.188 seconds.