142
votes
14answers
55k views

Loaded nib but the view outlet was not set - new to InterfaceBuilder

I added a new nib file to my project, and all I want to do is have it display on the screen for now. However, when I click on the toolbar icon that is supposed to take me to the view that I created, ...
112
votes
24answers
47k views

“Unknown class <MyClass> in Interface Builder file” error at runtime

Even though Interface Builder is aware of a MyClass, I get an error when starting the application. This happens when MyClass is part of a library, and does not happen if I compile the class directly ...
83
votes
1answer
22k views

Remove autolayout (constraints) in Interface Builder

I'm trying to make my project compatible with Snow Leopard and I am not able to remove the autolayout in the nibs using Interface builder (XCode 4.3 on Lion). Is it possible to remove the constraints ...
52
votes
4answers
46k views

How to add a button to UINavigationBar?

How to add a button to UINavigationBar programmatically?
51
votes
4answers
11k views

How do I enter RGB values into Interface Builder?

How can I enter RGB or Hex color values for backgrounds in Interface Builder? I can select predefined colors but I would like to manually enter in RGB values. Where can I do this?
41
votes
6answers
18k views

Can't resize UIView in IB

Probably something simple, but I can't figure why I cannot resize a UIView in a xib in Interface Builder. I created a new view XIB in xcode and in the size inspector, the width and height are ...
34
votes
2answers
8k views

iPhone: Create a reusable component (control) that has some Interface Builder pieces and some code

I want to create a reusable component (a custom control) for the iPhone. It consists of several standard controls prearranged on a View, and then some associated code. My goals are: I want to be ...
27
votes
5answers
22k views

Is there a way to change the height of a UIToolbar?

I've got an UIToolbar in Interface Builder and I've noticed that it's locked to being 44px tall. Of course I'd like to make this larger. Does Apple allow resizing of this control? If so, how do I go ...
27
votes
6answers
6k views

IBOutletCollection set ordering in Interface Builder

I am using IBOutletCollections to group several Instances of similar UI Elements. In particular I group a number of UIButtons (which are similar to buzzers in a quiz game) and a group of UILabels ...
21
votes
4answers
24k views

IPhone Interface Builder: Z-Index, Z-order of a button, image, ui element, etc?

I'm dragging things around in the Interface Builder... I'd like to specify whether an image is in front (like an indicator) or behind of a button (like a background). I don't see any z-index property ...
21
votes
6answers
10k views

Interface Builder and Xcode integration not working

After having installed the iPhone SDK 3.1.2, Interface Builder is not in sync with Xcode anymore. The light indicator at the bottom of the XIB window is grey. IB doesn't see any files from the Xcode ...
21
votes
4answers
8k views

Cannot zoom in and out of nib in the new Interface Builder

Have I missed something obvious or is it not possible to zoom freely in and out of an open nib file, within the integrated Interface Builder of Xcode 4?
20
votes
3answers
16k views

Xcode 4 Interface Builder: How to set File's Owner

I have myController.h and myController.m defined, and proceeded to create a myController.xib with the Wizard. I can't, however, connect the controls from the xib file to the class interface. Usually ...
19
votes
2answers
1k views

Xcode changes unmodified storyboard and XIB files

Storyboards are rather a royal pain from a git workflow perspective when multiple people are collaborating on them. For example, the XML in the .storyboard file has its starting <document> tag's ...
18
votes
4answers
13k views

Xcode Project Resource Organization and Structure

Hey guys I'm relatively new to Xcode and one thing that has bothered me is that when I add a resource it gets added to the top level directory of my project directory. So for example, at the moment, ...

1 2 3 4 5 69
15 30 50 per page