interface-builder

Crash when scrolling a UIPickerView set up with IB

This is my first time using IB, but after spending a one or two intimate days with it I believe I'm beginning to understand it. That's just my way of saying I might be overlooking something simple here: I've set up a UIPickerView and joined it to its DataSource and Delegate object in IB (both different Classes in my case). This allows t...

Managing different windows in Apple's Interface Builder

I'm working on Interface Builder. I don't like the fact that I have to manage multiple windows. For example if I open two xib files I can easily have six different windows scattered across my window. One problem is bringing these windows together to make a sensible arrangement. Another problem is Interface Builder doesn't remember this a...

Button background setting

This question is almost embarrassing to ask, but I can't find the answer in any documentation. I have a UIButton in a view. In IB, I set the button's background to a colour. The original rectangle in the Identity Inspector shows a half-black, half-white rectangle for the button's background. I can't find anyway to set the background ...

iphone - IB display an image name that been deleted (reference and trashed)

hi. when i choose a uiimageview in interface builder it display in the image pick list (of this imageivew) an image name that been deleted from this project (deleted:reference and trashed), why the image name still on the list ? ...

whats better, to insert multi images to uiimageviews using the code or IB ?

hi, if i have multi uiimageviews (30 images) in the view, is it better (for performance) to insert the images from the code or insert them using the IB. ...

Photoshop-like range selection bar in Cocoa/iPhone

I am wondering how to make the typical "range selection" bar, as seen in Photoshop and many other applications. Cocoa/Cocoa Touch only provide the very basic slide bar. ...

iPhone Project Templates

How come in the App delegate implementation of some of the iPhone project templates do you not see the instantiation ([[alloc init]) of the view controllers yet they all work out of the box? ...

How to make a "view" Outlet show up in a ViewController nib?

I'm working on my first iPhone app and have been able to get most things done. There's one problem that I've run into a few times and I want to understand the issue better. In XCode, if I go File->New File->UIViewController subclass and make sure that both UITableViewController subclass and With XIB for user interface are checked, then...

Button to sound in Interface Builder?

I'm working with the iPhone 3.0 SDK (bit of a novice really), and I have set up an Interface Builder View with several UIButtons in it. I also have several sound files in the Xcode project. I have searched for this and none of the solutions seem to work for me. Does anyone know how to make a short sound play once upon pressing a button?...

IBoutlet with PyObjC and Interface Builder

I'm writing a simple OSX app using Python and PyObjC. I designed the settings dialog using Interface Builder and I use ibtool to compile it, then load it from Python. The problem is how to access the controls I have in this window from the Python code? I played around with iPhone development a bit before and I remember I need to have an ...

How provide own Sent Messages in Interface Builder

I cannot find documents about the way, in which Interface Builder determines the Sent Message outlets for the graphical connections between components triggering events and messages of other components. I want to generate components encapsulating Finite State Automata. The input part is simple, just define IBAction messages and you can c...

How to edit the MainWindow.xib (to change the default view it loads)

Hi I am trying to change the default view MainWindow.xib loads. I am using view based app. I changed the app delegate file, added my new view as a subview to the main window. but in interface builder it still says mainwindow.xib loads from the default view not my newly added view. (BTW I added a new xib file for my new view and that is t...

in interface builder what is accessibility menu for?

with the newer sdk we can see a menu named accessibility in identity inspector.What does it do and how we can use it in application? ...

How to hook up the view of a view controller into another xib file?

I made a fresh view-based app project which has a MyProjectViewController.xib. Then I created AnotherViewController class with an acomanying XIB file. I opened MyProjectViewController.xib up in IB and dropped a "View Controller" object into my window. But now I want to hook the view of that view controllers up with the view of MyProject...

Why can't I change the view's size of my view controller in Interface Builder?

In addition to view based application template, I made a second view controller. When I open it's XIB in IB, I can't reduce the size of the view. It remains fullscreen. I want this view to contain some buttons only and then place this as a subview on another view. ...

Placeholder objects in Interface Builder

Could someone explain the kinds of placeholder objects that may appear in the Interface Builder document window? The kinds of placeholders that I know exist are: File's owner, First Responder and App Delegate Links: This thread explains First Responder. This thread explains the App Delegate. iPhone Interface Builder and Delegates: An...

Moving objects on lower layers in Interface Builder

Interface builder allows you to move objects using drop and drag. Unfortunately, some objects may be on lower layers. These can be selected using shift-right click, but this doesn't allow drag and drop. Is there any way to achieve this? ...

Is it possible to use something like an IBOutlet array?

I have a top list view in my current iPhone app, that's populated by code. I've assembled the view using Interface Builder, so it contains lot of UILabels. Obviously I wouldn't like to have name1, name2, etc. outlets in my class, but prefer a name[10] array. Is it possible to do so, and connect each item to the appropriate label? ...

Making a table's display dependent on the selection in another table in Interface Builder

I've got a window set up with two NSTableViews. In Core Data I have two entities set up, one of them containing members of the other, larger grouping (e.g. cars and manufacturers). I've got entry pages set up for each entity and they play nicely there (no faulting when trying to select from a many-to-one in a drop menu). What I'm tryi...

IKImageView zooming controlled by an NSSlider.

What's the best practice for setting zoom factor of an image within IKImageView via NSSlider? I was able to bind a slider either to zoom in OR zoom out action of an IKImageView. Obviously, what I'd rather see is a single slider controlling both those actions. Best, if image is refreshed after each change of the slider (continuously, eve...