interface-builder

iPhone - make a tableView UIimageview footer static (appear all the time)

Hi, i used the ib to create a uiimageview footer in the tableview, i want that the image will appear all the time while rolling and not just when rolling to the end of the table, is there a way to d that? ...

Multiple Xib files - Same Class

Hey there, I'm fairly new at this, but I think what I'm looking to do makes sense. I have a xib that is displayed in portrait and one that is displayed in landscape. Both views are similar, but have a few differences. Some of the buttons, labels and textfields are the same. I can reveal one and hide the other when the orientation is...

Cocoa Touch how to design the interface like facebook iPhone application's home screen?

Hi everyone, I am just curious how facebook for iPhone application can display a list of icons with the text, then all the icons shake to allow user to change the position of each item. What kind of control is that, and is there some sample code that do the same thing? I think it must be standard because it exists as well in home scre...

How do you design an interface with a list of varying width elements?

I want the interface to look something like the right side of the Things interface but the items in the list need to be of different widths. Is this achievable with the Interface Builder or do I have to use drawing? I'd like as detailed an explanation as possible. Thanks! Like this : ...

How to convert nib/xib to objective C code?

I am just wondering is there a way to convert nib/xib file to ojbective C code? I just want to find the equivalent code to the nib/xib file (I've tried nib2objc, seems the result is not what I am after). Actually I want to compile this example http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html without nib/xib ...

how to create many elements in Interface Builder that overflow beyond the xib

I have a UIView where has so many elements like Text Field, Date Picker, and Picker View to add data to my app. This won't make it in a screen in Interface Builder. In my mind, user will scroll down to insert them. Is there a way to achieve this? Thanks ...

UIView Callout Bubble

Hello, I want to be able to do something like the MapView callout when a user touches a UILabel in a standard view. This is not a map view! Or can I hover over a new UIView? Can anyone point me in the right direction please? Thanks, ...

What are the differences between Xcode generated .nib/.xib and interface builder .nib/.xib template?

I am new to iPhone development so I have been working through some tutorials. What I don't understand is how xib fit into the work flow. In a tutorial, one of the instruction is to create a new UIViewController subclass with "XIB for User Interface" selected. On my first try, I neglected to check that option and I thought may be I c...

Adding action to menu item

Hi. I have added a menu item to menu controller window by dragging a item from library. Now i want to provide a action to that menu such as on click that menu item a applescript file should run. Can any body help me out this? ...

Resources for creating a Interface Builder

I want to create a web based interface/GUI builder that used a specific set of components to design the layout and workflow across screens. In addition to the layout, I want to do some data bindings with XML data sources. A lot of the IDE's already do that so all I am looking for is resources, articles, or books that could guide me forwa...

"Updates Frequently" option in Interface Builder

What exactly does the "Updates Frequently" option in Interface Builder do? Does it optimize the NIB for frequent updates somehow? ...

Interface Builder (iPhone dev) custom button background Image does not respect Stretching settings

I'm attempting to create a custom button using a background image in Interface Builder. The image has stretchable and non-stretchable parts so that it can be resized. IB exposes the Stretching properties to allow for this, yet no values I put in affect how the button appears. It is always fully stretched to fill the size of the frame....

How do I associate events with an image view?

Hello I have an app with an image view. When the user clicks on this view I want to run some code which will change the colour of a label and then hide this view I have everything setup in the interface, i.e. Outlets etc, but I dont see any events available to associate Can anyone help or point me in the direction of a good tutorial ...

What design pattern best represents the "File Owner" object in the iPhone?

I'm new to iPhone development. I'm reading that the "File Owner" in the xib is the responsible for instantiating all objects defined in the nib... some type of factory pattern comes to mind, but maybe I'm not looking at the big picture... So, what would be the closest design pattern (gof) associated with the "File Owner" concept? ...

Can I deploy UI within an iPhone Static Library?

I'd like to have a UIViewController class, with the UI created in Interface Builder within a static library I am building. As an analogy - In the iPhone SDK, I can access the address book through a low-level API, and the AddressBookUI api. I am doing something similar. There's doesn't seem to be a way to include XIBs in a static librar...

Issue with view controllers - Prior controller (images/content) is still present (Its not *gone*/dealloc'd/released)

So, I started typically by init the controller from the nib and popping it onto the view stack. But the problem is that the first controller isn't really gone - its still around. So, we started down the path of this: Starting w/the appDelegate and loading the RootViewController: mRootController = [[RootViewController alloc] initWith...

What Cocoa class is this?

Hi, Can somebody please tell me which class/IB widget this is for the headers where it says "Task", "Grade", "Files"? Thanks. EDIT: My question was totally unclear. Let me rephrase. This is a screenshot from an app called "Schoolhouse". I was wondering how I can get that same style for the headers (headers being where it says "Task...

iphone navigationController wont display unless i access .view

Hi, When i create a iboutlet to my navigationController and try to add it to the currentview it isn't showing anything. Its really strange, when i initialize my navigationController in code and then add it to the view it works perfectly. It even works when i make one in the mainWindows.xib and add it to the view in my applicationDidFin...

Basic Cocoa Bindings: Toggle a boolean from menu in IB

I'm just getting started with Cocoa Bindings and while I've read through much of the documentation, I'm still struggling to implement a basic feature, making me question wether I'm doing it wrong or perhaps it's just not possible via IB. Goal: Have a menu item called "Toggle visibility" toggle the state of a Boolean property in my appl...

UITableView problems

I've added a UITableView component to a ViewController in Interface Builder to make it easier to customise as the UITableViewController won't let me set a background image. I've then implemented some basic functions just to test if it works, but cannot get it to display any cells - does anyone have any suggestions on how to get it worki...