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

jamesapp

macrumors 6502a
Original poster
Mar 7, 2008
544
0
working on a xcode project. In Interface Builder, i have dragged an NSController from the library into my Doc window. My question is can i change the name of NSConroller in my Doc window? I want to rename it from NSController to Cars. I tried double clicking the NSController but my computer won't let me change the name. My computer only beeps. Also my Menu for my app does open when i launch Interface builder. Any help would be appreciated.
 

Darkroom

Guest
Dec 15, 2006
2,445
0
Montréal, Canada
highlight the object by clicking on it, then click once more on the title to change the name.

this will only change the Interface Builder Identity of your object. if you want to actually subclass your object you gotta do so in the Inspector under the Object Identity tab (Inspector > Object Identity > Class Identity). you can also change the Interface Builder Identity here as well (Inspector > Object Identity > Interface Builder Identity).
 

bananfarfar

macrumors newbie
Apr 2, 2009
4
0
Add my own graphic to Interface builder

Hi

I've just started to use Interface Builder (3.1.2), and would like to add some of my own buttons that I've created in photoshop. Is that possible? Do anyone knows how to do that?

cheers!
 

MrFusion

macrumors 6502a
Jun 8, 2005
613
0
West-Europe
Hi

I've just started to use Interface Builder (3.1.2), and would like to add some of my own buttons that I've created in photoshop. Is that possible? Do anyone knows how to do that?

cheers!

Why would you want to do that? Mac users expect a lot from their user interfaces and consistency across applications is an important part of that.
You can of course add your specific icon to an existing button. Just open the inspector window for that.
 

Darkroom

Guest
Dec 15, 2006
2,445
0
Montréal, Canada
Hi

I've just started to use Interface Builder (3.1.2), and would like to add some of my own buttons that I've created in photoshop. Is that possible? Do anyone knows how to do that?

cheers!

drop your button images into your resource files in xcode, then in interface builder you can drag and drop any button into a window and change that buttons image under Button Attributes in the inspector window. note that it's also possible to uncheck "Bordered" if you created a full button image and not just an image for the button.

Why would you want to do that? Mac users expect a lot from their user interfaces and consistency across applications is an important part of that.
You can of course add your specific icon to an existing button. Just open the inspector window for that.

there are like 10 buttons to choose from in interface builder. i wouldn't exactly call that consistent. besides, it's better to be creative if you can be.
 

bananfarfar

macrumors newbie
Apr 2, 2009
4
0
drop your button images into your resource files in xcode, then in interface builder you can drag and drop any button into a window and change that buttons image under Button Attributes in the inspector window. note that it's also possible to uncheck "Bordered" if you created a full button image and not just an image for the button.



there are like 10 buttons to choose from in interface builder. i wouldn't exactly call that consistent. besides, it's better to be creative if you can be.


Thanks for all your help!
 

bananfarfar

macrumors newbie
Apr 2, 2009
4
0
Add a thumbnail list

Hi I would like to add one of those thumbnail lists that you can find in keynote, to the left. Not sure if it's called thumbnail lists :) but it's basically an small overview of all your pages.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Hi I would like to add one of those thumbnail lists that you can find in keynote, to the left. Not sure if it's called thumbnail lists :) but it's basically an small overview of all your pages.

Start with NSTableView + NSImageCell. For very basic needs you can do this all in IB and then use bindings to provide a thumbnail image of whatever you're trying to represent.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.