0
votes
1answer
28 views

Why won't my IBOutlets show up in my list of Outlets in Interface Builder?

I basically have code that reflects the answer from Connect a UILabel in Interface Builder and XCode?. In one view controller I have several UILabels whose text is set by some other methods I have ...
0
votes
1answer
20 views

How to create custom Object Library items?

I have written a custom view class that has two sub views, very similar to NSSplitView. I would like my new class to show up with two sub views when it is used in interface builder. The two subviews ...
0
votes
1answer
57 views

On Interface Builder connect UILabel to custom UIView IBOutlet

I'm developing an iOS app with latest SDK. I have created a custom class: #import <UIKit/UIKit.h> @interface UICustomView : UIView { @private int _counter; } @property (nonatomic, ...
0
votes
1answer
153 views

Cant connect UITableViewCell custom cell IBOutlet

Im trying to connect UITableViewCell IBOutlet. I have made a UITableView cell in the interface builder, @interface ViewController : ...
-1
votes
1answer
39 views

IBOutlet undeclared

I'm writing a Mac application, and I have a text field whose contents I would like to update. In the Interface Builder I control-dragged my text field into AppDelegate.h, which created the line ...
0
votes
1answer
51 views

iPhone IBOutlet responds on 3.5“ in simulator but not on 4” / device

this one is a weird one, I'm updating the last of my old apps for the new 4" iphone screen. I'm finding that a bottom uitoolbar with two segmented controls respond to user interaction in the 3.5" ...
0
votes
1answer
13 views

IBOutlets set up and working correctly are suddenly all shown as “!” in interface builder

While updating a UIViewController, all my IBOutlets are suddenly not registering with Interface builder. (note: i did not change any of these outlets in the .m file) The class in the identity ...
0
votes
1answer
226 views

Adding event handler to a cocoa button

I have a very simple Mac App built with XCode 4 (just a blank form for now). Now I've added a button via Interface Builder and a method to my AppDelegate: -(IBAction) btnScanClicked { ...
0
votes
1answer
60 views

How to create\implement two and more File's Owners in Interface Builder? And does it even possible?

I have two .xib files and two classes : one describes custom table view cell and other tableview with several custom controls and they both have IBActions and IBOutlets for those controls. I have ...
0
votes
1answer
190 views

Loading custom class UIView from NIB (IBOutlets nil)

I'm trying to modularize a complex UI in several xib's. I want to programaticly load each additional xib from file. The xib has controls which are connected to the custom view code. Then I try to ...
1
vote
1answer
170 views

Link IBOutlet to both iPhone and iPad Storyboards

I am writing a universal application. As far as I can tell, it's not possible to use Interface Builder to link an IBOutlet, which is already linked to the iPhone storyboard, to the iPad storyboard? ...
0
votes
1answer
1k views

UIImageView setImage does not work for IBOutlet

I want to set an image as my background at runtime, so I created a UIImageView 'backGroundImage' as IBOutlet in Interface Builder. However the following code: UIImage *image = [UIImage ...
0
votes
3answers
290 views

loadNibNamed loads to different IBOutlets?

I have a very weird problem and has not been able to solve it yet. This class is defined: @interface EngineViewController : UIViewController { } @property (nonatomic,readonly) IBOutlet GameView* ...
0
votes
1answer
126 views

Interface Builder outlets connected, but code not?

This has got to be the most bizarre thing I've ever seen. So I'll go and set up a event handler from an object created with IB, then I'll write some code like: [connectedObjectViaIB ...
0
votes
2answers
293 views

Interface builder no longer generate ARC compliant code for IBOutlets

I'm implementing my first iOS 5.1 application using XCode 4.3.2 and I'm experimenting a strange XCode interface builder behavior. I created a ViewController with NIB file in the interface builder and ...
0
votes
1answer
79 views

In Xcode's Interface Builder, isn't outlet the same as properties, and action the same as event handler?

It seems that using Xcode's Interface Builder, when we Ctrl-drag the control to the header file, what we create as outlet is very similar to a webpage's element's properties (attributes), and what we ...
3
votes
2answers
497 views

iOS - Interface Builder Outlets Not Initialized

I have created a view in Interface Builder with some labels and text as IBOutlets. I can view this screen perfectly when I segue to it from another view that I have defined in my Storyboard. However, ...
0
votes
1answer
91 views

Chromium Tabs in Cocoa (Outlets turning up NULL from 'TabContents.xib')

I'm struggling to use Chromium Tabs in Cocoa and I really seem to be missing something. I've subclassed CTBrowserWindowController (ppEditor), CTBrowser (ppDocumentBrowser), CTTabContents ...
2
votes
1answer
934 views

IBOutletCollection - hooking up multiple objects at once

I've been using IBOutletCollections to apply the same behaviour to many objects which are hooked up in IB. This is a great time saver, but it still takes a long time to individually make the ...
0
votes
2answers
2k views

How can i create `IBOutlet` or `IBAction` in custom class

how can i create IBOutlet or IBAction taking into account following conditions: IBAction or IBOutlet must be created inside my custom class (inherited from NSObject) NSButton instance is visible ...
9
votes
6answers
2k views

Issues using UITapGestureRecognizers in Interface Builder

I'm attempting to use the UITapGestureRecognizer object that can be found in Interface Builder. I've dragged a single "UITapGestureRecognizer" from the object library to a single view xib. I then ...
0
votes
1answer
363 views

IBOutlet not showing in File's Owner/ IB

In my .h file I have this: @interface { UILabel *questionLabel_; } @property (nonatomic, retain) IBOutlet UILabel *questionLabel; In my .mm file I have this: @synthesize questionLabel = ...
1
vote
3answers
1k views

Cannot connect UIButton to ViewController in XCode4

I'm learning iPhone Dev and I'm stuck on something. I'm writing a simple calculator program, but when I try to connect one of the buttons on the calculator to the File Owner in Interface Builder I do ...
0
votes
1answer
167 views

UIViewController - Can't change image within vcontroller.view via IBOutlet

Ok, I used a work-around for something similar to this last night...but a workaround won't suffice for my new situation, so I figured I should find out what I'm missing. I have a UIViewController ...
0
votes
1answer
58 views

Connect one view to another in seperate NIBs using Interface Builder

I have a custom UIWindow class that has an IBOutlet @interface MyWindow IBOutlet UIView * someView; id <MyWindowDelegate> delegate; // to inform a controller something happened to ...
0
votes
1answer
269 views

XCode4 Declare variables using interface builder

It is the general way of implementing/connecting views using viewControllers ( as follows ). Declare IBOutlet variables in .h file of your view controller. Open .xib of your view controller. tap on ...
0
votes
2answers
330 views

Access Outlets from a different class

So heres my issue. I assume its a simple one but i just cannot figure out why this is not working. I need to access Outlets (UITextField, UITableView, UIActivityIndicatorView, etc.) in one class ...
1
vote
2answers
1k views

Create an IBOutlet or a UIView?

The usual method, as far as I know, of referring to an object in a nib file is creating an IBOutlet object and then connecting it in Interface Builder with the blue line. But I just saw a video in ...
26
votes
6answers
6k views

IBOutletCollection set ordering in Interface Builder

I am using IBOutletCollections to group several Instances of similar UI Elements. In particular I group a number of UIButtons (which are similar to buzzers in a quiz game) and a group of UILabels ...
0
votes
1answer
518 views

What is the purpose of using UIViewController IBOutlet

I am in the learning phase of iOS programming. I am trying to add a NIB (called B) in another NIB (called A). To do so, I have added a View Controller in A which uses the B NIB (using NIB Name). In ...

1 2
15 30 50 per page