I am working with a TabBarController >> NavBarController UI. One of my UIViewControllers has a UIScrollView in it with some text (UITextField) in it. Problem is, the uppermost text in the UIScrollView is covered by the NavBar. How do I fix this? I am trying to manually adjust stuff in IB with mixed results but I want a more CERTAIN solut...
So this is a really simple question, I just can't find the answer. I have some text in a UITextView, that I would like to have show as blue, and serve as a link to a website. How do I do that in interface builder? Thanks
...
I have designed a view with a toolbar that appears modally in Interface Builder. I have a UIBarButtonItem that is on the left hand side, which I would like to appear on the right hand side of the toolbar. How can I do this in IB, or via code?
...
I started my iPhone application as a navigation-based app which has served me well until now. In the nib for my TableViewController, I see the TableView (with its example values of California cities) but I'm able to drop any other UI elements on it (for example an UILabel).
I can add a UIWindow which gives me a separate window to add st...
This has been annoying me for a while in several XCode projects. I really don't like to have compiler warnings when I build. When I build my current project, I get the following warning from a bunch of XIB files:
/.../CaseInformationView.xib:3:0 UIScrollView's 'Bounce Zoom' option will be ignored on iPhone OS versions prior to 2.1.
...
Hello,
I'm still rather new to iPhone development and I tried something I didn't it was possible. I have a UIView for my TableView Section Header with a switch on it, and I also have a UITableCellView with another Switch on it. It all looks fine, but now I want to propagate the UISwitch state from the section header to all the UISwitches...
Hi there!
I'm using two entities A and B with to-many-to-many relationship. Lets say I got an entity A with attribute aAttrib and a to-many relationship aRelat to another entity B with attribute bAttrib and a to-many relationship bRelat with entity A.
Now I am building an interface with two tables one for entity A and another for entit...
Hi!
I'm trying to play with a WebView.
I made an outlet:
IBOutlet UIWebView *browser;
Defined it as a property:
@property (nonatomic, retain) IBOutlet UIWebView *browser;
Synthethized it:
@synthesize browser;
Finally, I connected it in Interface Builder, really it is.
Then I try to do something with it i.e.:
[browser loadReq...
I have set it before but I cannot find the option any more...
...
I have read a few questions about an app doing it through the info file but not a certain view.
I just need the interface to be set up to start in landscape view.
I managed to get near what I want with shouldAutoRotateToInterfaceOrientation:, but it only works after I rotate the view.
I am kinda new to the documentation on this so I m...
How to add a button to UINavigationBar programmatically?
...
I'm trying to enable or disable all the control in a window as the programme changes from interactive to non-interactive mode. How can I ask a window to give me all its contents?
every control of window "mainWindow"
doesn't work, nor does
contents of window "mainWindow"
Actually, I haven't been able to find any good documentation f...
I have a nib file that contains a window/view and an instance of NSObjectController. I programatically load the window in the nib setting "self" as owner.
"self" is my custom classs that defines an IBOutlet: an NSDictionary called settings. I now want to have that dictionary as content for the object controller. Is there a way to connec...
In porting my app to a universal iPhone / iPad app, the xibs I created by using Interface Builder's "Create iPad Version" will not link to the project properly: They don't pick up on classes and images from the project file.
IB tells me that "there is no xcode project associated with this document" with a gray light in the status bar. Y...
I have a table that I created within xcode so there is no nib file in this case. I want to make my table into the 'Grouped' style but im not sure how.
I think it has somthing to do with the method below, the problem is Im not really sure how to call it, I do understand how methods work I'm just not too sure on where to start with this o...
For quickly mocking up UI, I'd like to be able to drag buttons onto a view in interface builder, then drag a connection from that button to the view that should appear when you click it.
A subclass of UIButton is a little inconvenient to use in IB, so I'd prefer to add the behavior to UIButton itself. Unfortunately, it seems like outlet...
I have tried using an outlet to connect my tableview controller to my object, setting the nib name in IB and setting the class in IB but it still wont link? I know this as im trying to set my table view to 'grouped'
Thanks very much.
...
I got the warning :
property 'textField' requires method
'-textField' to be defined - use
@synthesize, @dynamic or provide a
method implementation.
Now, there is no such property defined in my project! More bizarre, if I just click save in Interface builder and build again, the build is successful - though, right on the line ...
I'm building an app in which the root view/window is a tab-based view (created using the XCode wizard for creating a tab-based iPhone app), but there is also a point in the app where I want to create another tab-based view and present it modally.
I was having so much trouble creating the modal tab-based view in IB that I eventually just...
Is it possible to to hard code the IBActions and IBOutlets in XCode rather then drag them manually in Interface Builder?
...