Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Garrett

macrumors regular
Original poster
Apr 4, 2007
173
0
I am having a struggle trying to find any resources on making preference panels to look like:
e4c6d5be95db8ed2beff5a148cf0ab09.png



I can't seem to figure out if there is some sort of class, because if there is, it's well hidden.

Seeing as, I am thinking this is some sort of Subclass of NSToolbar, where whenever one is clicked it loads a subview of some sort. I have looked through many applications nib files to try to understand how this interface or animation is created. Any help is much appreciated, I finally feel this is something worthy as I have not been able to find the answer.

Thanks,
Garrett
 

Manty

macrumors member
Mar 18, 2008
32
0
Lisbon, Portugal
Well, I am doing a little SIMBL plugin for safari and I've done a preference module, I think it's the same thing if you want to do it for your app.
Just search for the NSPreferences header (it's inside AppKit framework) and look at it.
Also i found this link.
If you succeed please let me know.

Manty
 

Mac Player

macrumors regular
Jan 19, 2006
225
0
There are two main options:

1: View Swapping with NSToolbar
2:Tabless NSTabbiew with an NSToolbar as delegate.
 

Mac Player

macrumors regular
Jan 19, 2006
225
0
Doing that you have to do the resize effect right?

I guess so :(, never heard of NSPreferences before but it looks much simpler.

Off: Cool another portuguese

How would you do the view animation and the Toolbar image on click?

Setting the size each time the user clicks another tab item.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.