Tagged Questions
1
vote
0answers
9 views
Xcode quickly jump to Action associated with a Control
Is there a quick way to jump to an action associated with a control.
Say there is a button on a XIB file that has an associated action. The way to find the code associated with this is rather ...
0
votes
0answers
10 views
Image folder reference - image not show
I have a problem with some images, I create a folder reference (blu icon) with some subdirectory, I add /Immagini in "User Header Search Path", then in a xib file I add a button and I select an image, ...
0
votes
2answers
57 views
Using existing custom UIView in interface builder
I made an UIView subclass because I needed something custom.
Then, I added an UIView on one of my xibs and changed the class of from UIView to my custom class. When I run, it doesn't instantiate the ...
0
votes
2answers
141 views
Resize UILabel dynamically and reposition UIViews below it using Interface Builder
I have a UILabel that can contain any number of lines with a constrained width. I have no problem resizing a UILabel to fit the given text, however, I am implementing a 'View More...'/'View Less...' ...
0
votes
1answer
61 views
Xcode can't compile XIBs
I'm getting the below error message and multiple XIB compilations failing with exit code 6. I can't make much sense of it. Anyone know what might be wrong?
I've cleaned the project, but that didn't ...
0
votes
1answer
86 views
When and why to use initWithNibName:bundle: in development
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
Why we use this method? Is it necessary when ...
2
votes
1answer
114 views
Loading XIB file without a UIViewController
I'd like to design a UIView and some sub-views (UIWebView, UIToolbar, some UIBarButtonItems, a progress indicator and so-forth) using the Interface Builder, but I think it's unnecessary to do this ...
1
vote
1answer
80 views
View loaded from nib not getting touch event
I have created a custom keyboard, using some buttons. I created them using interface builder, and I create a CustomKeyboardView file..
So I have 3 files
CustomKeyboardView.h
CustomKeyboardView.m
...
2
votes
2answers
104 views
How to “import” a UIView XIB into a UIViewController XIB?
I've seen a few answers here that seem to get at what I'm after, but I can't make any of them work.
MyView is a UIView subclass with a handful of images and text fields laid out and styled in ...
0
votes
1answer
49 views
Dependency injection in XIB with Objection
I'm trying to change dynamically my xib File owner using the dependancy injection framework "Objection". If you don't know Objection just understand that I just want to change dynamically my xib File ...
2
votes
1answer
328 views
iOS 6.0 AutoLayout issue with constraints: subviews disappear when rotated
Hi I have designed a XIB using AutoLayout constriants to display two rows of buttons, with three buttons in each row, as shown in the screenshot (I'll place the buttons in the Red UIViews after I get ...
1
vote
1answer
534 views
Make Default XIB File in Xcode 4.6 size of iPhone 4 Screen
Whenever I create a new class in Xcode 4.6 I get the tall XIB designed for the iPhone 5. I am not building an app for iPhone 5 and want to use Interface Builder to lay things out for the smaller ...
1
vote
1answer
432 views
iOS: Auto Layout vs autoresizingMask - resizing whole view to fill?
I've got a storyboard which is built using Auto Layout. Within that storyboard, I'm embedding a UIViewController subclass ("ButtonGridViewController") in several locations, each of which is a ...
0
votes
1answer
42 views
Rescaling a view defined in a xib (autoscaling subview w/ unexpected results)
For simplicity, I laid out a view using Interface Builder. It is a player status view and is used for all 'x' players that are currently playing. To accomodate a large number of players, we have ...
0
votes
0answers
63 views
Why does Interface Builder constantly update its files (changes seem arbitrary)?
Everyday, I notice in Xcode 4.5 with source control, Interface Builder very frequently changes xib files.
For example, I could open a xib and click on one of the views on the left side and switch one ...