Hello,
I have the following code:
@interface AddResident : UIViewController
{
IBOutlet UITextField *FirstName;
IBOutlet UISegmentedControl *Gender;
}
I can see both of these outlets in interface builder but can only connect the UISegmented control... the other one will not connect to my UITextField on the form.
Any help is ...
I'm using three20 for most of my iPhone app.
One of the views I need to create is relatively complex. It needs a top bar (under the nav bar) with some controls and label, an image view below this bar (which occupies most of the body) and another bottom bar with more controls and labels (above the tab bar control).
I don't have much UI e...
i have 2 tabbars each bar have own ViewController and UINavigationController.
so i create 1 instance UINavigationController from my Appdelegate, how can i link them with my UINavigationController?
Notice i try:
in IB it can link only 1 to 1
...
I have a pretty simple UIScrollView defined inside Interface Builder. I've pasted in some UILabels and when I run my app, I can drag to see the UILabels at the bottom but as soon as I let go it bounces away from view.
What property controls this sort of setting?
...
I'm struggling to create a custom UITableViewCell (in IB) that has a UIImageView on the left, fixed to the top left corner, then 2 UILabel's adjacent to it, side by side. So the cell looks something like:
+---------------------------+
| IMAGE LABEL1 LABEL2 > |
+---------------------------+
What I cannot seem to do is to change the...
I have two views within one .xib (one view for landscape, another for portrait). How can I use the same IBOutlet I've defined in @interface section for both labels if they have the same functionality. (ctrl+dragging to both of them does'n help-each time I drag to second, the first one loses its outlet).
...
Hey everyone,
I've added some UIImageViews with png images to my view, using interface builder. Initially they are added off-screen.
Later, I animate them onto the screen with CoreAnimation, like so:
[UIView beginAnimations:@"slide" context:nil];
[UIView setAnimationDuration:0.1f];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInO...
I am trying to set up a layout as such in an iPad application. It will have three major views, which make up the whole screen. The views will be stacked one on top of the other, each taking up the full width. I have one major nib file which accounts for the entire screen space. In that nib file, I am instantiating the three view cont...
This should be a pretty easy fix, but I haven't figured out from reading the Apple documentation or other SO questions how to do this simple switch from creating my Interface programmatically to using Interface Builder.
I am basing my code around this framework:
http://www.pushplay.net/blog_detail.php?id=27
The only difference is that,...
Hi,
I have a button in a view which refuses to work. I've got in working in a blank, default view application from X-Code, but in none of my applications will it work, instead it gives me the following error.
Terminating app due to uncaught
exception
'NSInvalidArgumentException', reason:
'* -[UIViewController showVicInfo:]:
...
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?
...
I am trying to create a UIView in Interface Builder that shows to the user two boxes containing some text. This UIView should support both landscape and portrait modes.
When in portrait orientation, the two boxes should be centered horizontally and be under each other. Like in the picture below:
But when in landscape orientation, it s...
Basically my setup is this. I have a many-to-many relationship in Core Data where a student entity can have multiple courses, and a course entity can have multiple students. My problem is in trying to figure out how to bind this relationship to the UI in Interface Builder.
I want to be able to add courses to a course array controller, t...
Hi,
I was just wondering how I can get a single tap to undo the zoom inside of a scroll view? I cant seem to figure it out.
I was also wondering how do you know what size to set your scroll view contentSize, as I find this issue a little confusing at the moment I have it set at 460x320.
Thanks
...
Hi.
I have a search display controller, and it is searching well.
I'm searching in a table with several sections and I have a viewForHeaderInSection function working as it's supposed to. When I start searching, my numberOfSectionsForTableView returns 1, and I have a special view saying "Search Results" wich I use in self.searchDisplayC...
Im using a scroll view and need to make the view bigger so I can add the content that appears lower down but IB does allow me to do this?
...
I have a NIB with a UIView that contains some UILabels, UIButtons etc. and a UIViewController that is loading a UITableView from a detached NIB.
I want the UITableView in the UIViewController to be positioned below my UIView, but whenever I add it in Interface Builder it takes up the whole screen, and my UIView becomes part of the UIVie...
I have two NIB's
ParentViewController.xib
ChildViewController.xib
ParentViewController.xib contains a UIView and a UIViewController.
ChildViewController.xib contains a UIButton
I want ChildViewController.xib to load in the ParentViewController.xib's UIView
I have done the following:
Created @property for UIView in ParentViewContro...
I have a window and add a navigation controller's view to it, all I want is for the navigation controller's view to take half of the window (top half) and want to add another view to bottom half. I'm trying to set the frame for navigation controller's view, but 0,0 is the topmost point on screen (doesn't count the iPhone's status bar). I...
I would like to add a toolbar to a UIWebView that resembles Safari's toolbar. I just can't find the 'back button' . There is only 'forward button' - which is actually 'play'. Help!
...