Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How can I make custom buttons and a layout

How can I make custom buttons and a layout
Thread Tools
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Sep 8, 2004, 06:53 PM
 
How can I make custom buttons and a layout
Yes I know IB is the best thing since sliced bread, but you see apple constantly change there interfaces with each new iapp so why can we not ? Can this sort of thing be done in IB ? Or is it a code only thing? I would love it to be IB.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 8, 2004, 08:44 PM
 
Any view can be placed in a window in Interface Builder. Any custom drawing code and behavior will have to be written by you, as that's got nothing to do with Interface Builder.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Sep 9, 2004, 05:46 PM
 
you mean I can not say make a pack of items in the IB for my own custom buttons and images ?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 9, 2004, 06:54 PM
 
You can't create the buttons' appearance or behavior in Interface Builder. You have to create your controls in Xcode. You can put any view in an IBPalette, however, and then place it graphically and hook up its connections in Interface Builder.
(Last edited by Chuckit; Sep 10, 2004 at 03:09 AM. )
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Sep 10, 2004, 11:17 AM
 
How custom a button are we talking? InterfaceBuilder allows you to modify a lot of the behavior through the "get info" window, and you can always attach your own icons. Plus there is a lot you can hook into programatically if you read up on the NSButton documentation. What is it you are trying to do (*hint* *hint* ask a better question *hint* *hint*)?
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:13 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2