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

sebastijan

macrumors member
Original poster
May 22, 2005
62
2
London, UK
How can i make UI (toolbar) like this with Interface Builder?

picture1785173.png
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Check out GenericToolbar. It's a palette for IB that lets you create toolbars without any code.

However, those buttons in Mail are custom, not part of Cocoa (thankfully :p).
 

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
Toolbars are done entirely in code. There's no built-in support for them in IB (apart from third-party add ons such as kainjow described). They're pretty simple to do though. Check out NSToolbar and NSToolbarItem. The mail toolbar is custom but I'm surprised that you'd want to duplicate it as most people seem to hate the mail toolbar....
 

ATG

macrumors regular
Aug 7, 2005
187
0
I suggest you create toolbars in code. It's more fun that way and you learn more. I suspect that you will need to anyway if you want to use custom controls on it (though I have never used the pallet described above so can't say for sure).

caveman_uk said:
I'm surprised that you'd want to duplicate it as most people seem to hate the mail toolbar....
I can never understand that. I quite like it :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.