Hey,
I have a mainMenu.xib - that sets up all my interface items (button, textfields, etc).
I have a LogController that has access to all these items via IBOutlet and IBAction.
Works fine - All connected and running well.
However, I want to have NSUserDefault values pre-populated in the textfields. However, I can't figure out how - si...
What happened to "User Defined Runtime Attributes" under the Identity inspector in Interface Builder when building iPhone UIs?
I used to define a custom outlet for UITableView's tableHeaderView in versions before 3.1/3.2 or when it might have disappeared.
...
Hi again,
the app I want to create will have an interface very like Keynote, with a list of pages on the left and one page in full on the right. These kinds of interfaces are very common yet I don't know how to do them in Interface Builder.
Are there any ready-made components? Apple doesn't offer any, afaik. Or does every developer re...
IBCocoaSimulator crashes when IB cannot find the framework, I assume that happens to you too. I can run IBCocoaSimulator without crash, when I manually copy my framework+ibplugin from the build dir into /Users/username/Library/Frameworks. I'm doing this with Finder, this is not optimal, but works.
I have searched for a smarter way and ...
I've noticed that if you load connected views from a nib you have to override initWithCoder if you want to add initialization code because the designated initializer doesn't get called (which does make sense), and if you don't load the view from a nib then the same code needs to be executed in the designated initializer.
So in order to ...
Hello! I would like to set up a proxy object in the application NIB file. The problem is that the NIB file is the main application NIB that gets loaded automatically by the application and therefore I cannot set up the UINibProxiedObjectsKey dictionary as described in the documentation. Is there a way to set up a proxy object in the main...
I've got a UIToolbar in Interface Builder and I've noticed that it's locked to being 44px tall. Ideally I'd like to make this larger.
Do Apple allow resizing of this control? and if so, how do I go about it?
...
Hey,
I'm looking for an in-depth breakdown/explanation of the iphone's view usage. Like, what controllers have what types of views, how they relate (child <> parent), how they can be nested, added and removed, etc.
Preferably something with some pictures would be nice too (I'm a visual learner).
But yeah, in-depth, technical, explana...
After always running monolithic blocks of code from within my AppController object, I've just learned how to modularize my code using separate model controller objects (so much neater and less confusing to work with :-))
My simple test app has a main AppController and two model objects (Model1 and Model2). I can successfully pass data f...
In interface builder I select the Tab Bar Controller item. The inspector shows me a list of associated view controllers. For any strange reason, I can not define anywhere the exact name for an view controller. I have an DetailsViewController and an SetupViewController. However, I can only select generic names such as "Navigation View con...
I'm trying to create a modal view which pops up when the user presses a button. The modal view has a navigation bar with a map view as the main view. I'm having trouble setting this up in Interface Builder. When I set the view outlet for my File's Owner's view to the view inside the Navigation Controller, the only thing that show up is t...
How to disable or hide AM/PM in UIDatePicker from code / interface builder?
I want to have 24 hours time picker mode in UIDatePicker.
Please help
...
I'm creating a number of static custom UITableViewCells and have dragged a UISegmentedControl onto one of the custom cells.
Whilst the segmented control allows me to alter its width I cannot alter its height in Interface Builder (that property is greyed out on 44 in the 'size' section of the property inspector).
I know that a UISegmen...
How do I change the basic table to custom images in Interface Builder and xcode?
Interface builder provides a boring white background for each cell. I want it to look more custom.
I want to change that into something like this:
http://tinypic.com/view.php?pic=51ufwg&s=6
Thank you.
...
Hi,
I've a window with a horizontal split view. On the bottom pane of the split view, I have a nssegmentedcontrol, aligned to the center. On the bottom of the nssegmentedcontrol I have 5 tabs that are controlled by the segmented control - click in one of the cells and the corresponding tab opens.
My problem is, if I completely minimize...
I usually don't use interface builder but from what I have gather it seems that interface builder if mostly for building self contained window. Is it possible to create a view with IB and then import this NIB file and use it as a subview?
...
I've configured a NIB as follows:
...but when I display this NIB as a modal view controller, it appears on the simulator as:
I recall seeing this problem a long time ago on a project, but I can no longer remember what I did to fix it. Any idea what I've done wrong here?
Thanks very much.
...
Hi,
I have a UITabBar and a UINavigationBar created in IB, when I launch my application everytime I navigate the UINavigation title change because I'm using
self.title = @"NAME";
my problem is that the UITabBarItem will change with the same name at the same time.
I want to put a static name only for the UITabBarItem, how to do it i...
I'm just starting out with interface builder and I'd like to create a tabbed, single window app similar in design to Coda or Versions.
However, i can't figure out what approach I should be taking. I think I'll probably need to create my own tab bar and some sort of controller to load/unload different 'views', but what should the individ...
Hello,
I need to get the size of an IBOutlet UIImageView drawn in Interface Builder.
But if I read the IBOutlet UIIMageView.image.size.width or .height in the viewDidLoad, viewWillAppear or viewDidAppear method I always get 0 !!!
Where (which method) and how (may be an other variable ?) can I get this information ?
Thank you for your...