Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Dec 30, 2012, 04:10 AM   #1
macrumors 6502a
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Science & photography people, I'm trying to reproduce atmospheric light rays SamIchi Community Discussion 1 May 5, 2013 04:25 AM
Purchasing guidance historyteacher Buying Tips and Advice 14 Apr 22, 2013 03:36 PM
All iPads: Need some guidance. slitherjef iPad 0 Dec 11, 2012 06:59 PM
rMBP - Strange Safari Glitch (Can't reproduce) photosaurus MacBook Pro 1 Jul 13, 2012 07:08 PM
Should I take my MBP to Apple Store if I cannot reproduce the problem? huythanhv2 MacBook Pro 2 Jun 29, 2012 10:25 AM

Forum Jump

All times are GMT -5. The time now is 07:26 AM.

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

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