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 Aug 7, 2006, 12:00 AM   #1
sebastijan
macrumors member
 
Join Date: May 2005
Location: London, UK
UI in Interface Builder

How can i make UI (toolbar) like this with Interface Builder?

sebastijan is offline   0 Reply With Quote
Old Aug 7, 2006, 12:02 AM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
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 ).
kainjow is offline   0 Reply With Quote
Old Aug 7, 2006, 12:16 AM   #3
sebastijan
Thread Starter
macrumors member
 
Join Date: May 2005
Location: London, UK
tnx. but why is this not default or part of IB?
sebastijan is offline   0 Reply With Quote
Old Aug 7, 2006, 02:53 AM   #4
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: 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....
caveman_uk is offline   0 Reply With Quote
Old Aug 7, 2006, 05:54 AM   #5
ATG
macrumors regular
 
Join Date: Aug 2005
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).

Quote:
Originally Posted by caveman_uk
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
ATG 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

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning how to use Xcode / interface builder to program in c/++ furycd001 Mac Programming 6 Sep 20, 2011 04:45 AM
Nothing in my header shows up in Interface Builder calistra iPhone/iPad Programming 16 Dec 16, 2010 05:42 PM
Where is Class Tab in Interface Builder v.3? EricBrian Mac Programming 7 Sep 14, 2009 09:45 AM
Edit Open/Save dialogs in interface builder? alho0001 Mac Programming 16 Feb 8, 2008 12:20 PM
Building nice GUI's in Interface Builder aquanutz Mac Programming 4 Sep 24, 2006 06:15 PM


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

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

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