Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 30, 2012, 04:10 AM   #1
jeanlain
macrumors 6502
 
Join Date: Mar 2009
Need guidance to reproduce these cocoa buttons

Hello, I'd like to add buttons at the bottom of an NSTableView to reproduce those frequently seen in Apple apps, like for instance the + and - buttons of the users and groups settings (system prefs).
These are not simple gradient buttons (the disable state looks different for once). It looks like Apple has placed buttons or cells into some gradient view.
I have reproduced a similar gradient in an NSView that I placed at the bottom of the table view. From this I'm not sure how to proceed. I can put buttons in that view but they won't look the way I want.
Should I place buttons in this gradient view, or just cells? Should I subclass NSCell to customize their look, or NSButton? Or should the "gradient" be an NSButton subclass with a gradient background and custom NSCell subclasses in it?
Thanks for your suggestions.
jeanlain is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:11 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC