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

Similar Threads
thread Thread Starter Forum Replies Last Post
Interface Builder WTF. SolarShane Mac Programming 2 Mar 12, 2014 02:38 AM
Resolved: Can't move objects in Interface Builder moonman239 iPhone/iPad Programming 0 Jan 13, 2014 07:14 PM
Pashua gui tool interface elements anything similar in xcode interface builder wild4life2013 Mac Programming 1 Aug 10, 2013 08:13 PM
OpenGL ES without interface builder? blueshogun96 iPhone/iPad Programming 1 Feb 10, 2013 01:04 PM
Im having a bit of an issue with interface builder adildacoolset iPhone/iPad Programming 5 Oct 12, 2012 12:51 PM

Forum Jump

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

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

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