iboutlet Questions
3
Solved
The debug view hierarchy is a great way to view they different layers that make up the UI, but as far as I can't tell there is no way to see what outlet reference names the objects have. They are s...
42
This bug has been driving me nuts since I started using Xcode (4.6.3). Whenever I try to link a Storyboard item to my code, I get the error:
Could not find any information for class named ViewCo...
18
Solved
I have an IBOutlet that I have linked to from the storyboard
@IBOutlet var creeLigueBouton: UIBarButtonItem!
and I want to make it disappear if a condition is true
if(condition == true)
{
// M...
Stubstad asked 25/8, 2014 at 18:51
9
Solved
I've created a UITableView in Interface Builder using storyboards. The UITableView is setup with static cells and a number of different sections.
The issue I'm having is that I'm trying to setup my...
Geostatic asked 8/5, 2012 at 20:7
33
Solved
Using Swift 1.1 and Xcode 6.2.
I have a UIStoryboard containing a singular, custom UIViewController subclass. On it, I have an @IBOutlet connection of type UIView from that controller to a UIView ...
Pia asked 28/3, 2015 at 19:9
11
Solved
What is the purpose of using IBOutlets and IBActions in Xcode and Interface Builder?
Does it make any difference if I don't use IBOutlets and IBActions?
Swift:
@IBOutlet weak var textField: UI...
Torchbearer asked 29/10, 2009 at 11:15
3
I am using a storyboard to get the correct height of a navigation bar in my launch image.
However, after customizing the view controller a bit, it now displays a black screen instead of a launch ...
Lewislewisite asked 2/4, 2015 at 18:32
5
I made these (marked with red border) IBOutlets using ctrl + drag
But i don't like to have the exact same line 9 times (DRY)
How do i put these IBOutlets in an Array?
Petrina asked 17/7, 2014 at 13:38
4
Solved
I am trying to add an outlet into my viewcontroller for a toolbar item in my window controller. I have tried playing around with first responder and bindings but have not been able to find any solu...
Richerson asked 9/12, 2014 at 4:27
2
Solved
Is there any way to find which UI element an IBOutlet declared in code is connected to?
Hestia asked 21/11, 2014 at 8:15
10
Solved
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 (...
Caty asked 29/6, 2011 at 21:56
0
I've been trying to implement native Google adMob ads in my iOS app. This is the tutorial I'm following:
https://developers.google.com/admob/ios/native/advanced
I successfully installed the p...
2
Solved
I would like to create a super class in a framework that modifies IBOutlet properties. However, I would like a subclass to be connected to the storyboard, since I don't want to connect the controls...
4
Solved
I think this image explains it all. I have a subclass of UIView that I've entered into the class field. I'm trying to connect ibOutlets between the storyboard and class implementation. It's not giv...
Festal asked 20/1, 2015 at 18:47
4
3
(Developing on OSX 10.9, Xcode 6.1b)
If I declare IBOutlets in my AppController, everything is fine. I instantiate an object in InterfaceBuilder, drag it across to form an outlet, and by the time ...
7
Solved
I have a custom UIView class. Inside it I have declared an IBOutlet property for UIImageView.
#import <UIKit/UIKit.h>
@interface SettingItem : UIView{
}
@property (strong, nonatomic) IBOu...
Allie asked 30/12, 2012 at 8:37
8
Solved
in fact the title contains my question.
I have a UISegmentedControl, and need to deselect currently selected tab.
I tried:
[menu setSelectedSegmentIndex:-1];
menu being the UBOutlet for uisegme...
Goingover asked 5/2, 2010 at 9:8
7
Solved
I tried to start and go from Obj-C to Swift today and I was reading the documentation. I tried to create an easy IBOutlet in Swift and it constantly gave me those errors.
View Controller has no in...
6
Solved
I am setting up unit testing for my Swift project and am having trouble testing a class function that involves updating IBOutlets.
I have a function, validateUrl, which expects a string to be pass...
Ruff asked 4/11, 2014 at 17:6
4
Solved
It happened for me to write following code snippet in one of my UIViewControllers in my new iOS Swift Application.
var starButtonsCount = starButtons.count
@IBOutlet var starButtons: [UIButton]!
...
Faunie asked 16/12, 2018 at 15:53
2
Solved
When I try to drag and drop an IB outlet from a UIView into my ViewController.swift, XCode crashes (when I press OK after typing a name for the IBOutlet).
A popup appears saying: "XCode quit unexpe...
3
Solved
I have an IBOutlet NSLayoutConstraint in my app. Very simple:
@property (nonatomic, weak) IBOutlet NSLayoutConstraint* leftConstraint;
At some point I want to deactivate this constraint:
self.l...
Subsidy asked 27/6, 2016 at 10:42
2
Solved
I've created a view on the storyboard in one of my view controllers and realized that I'll need to reuse it. So I then created a subclass for UIView to consolidate the code. I've selected the view ...
4
Solved
I am trying to make my editable UITextView resign the keyboard (resignFirstResponder) when the user taps "Done." Using a UITextField, I have been able to do this with the following code:
- (IBActi...
Evildoer asked 20/10, 2010 at 10:29
1 Next >
© 2022 - 2024 — McMap. All rights reserved.