xib Questions
5
Solved
I can create simple custom viewForHeaderInSection in programmatically like below. But I want to do much more complex things maybe connection with a different class and reach their properties like a...
Gaze asked 28/4, 2016 at 22:33
16
Solved
Jonathan suggest here: Xcode Includes .xib files that have been deleted! that cleaning all targets and empty the caches will fix the problem with Xcode including deleted .xib files but I cannot fin...
33
Solved
I added a new nib file to my project, and tried to load it.
However, when I click on the toolbar icon that is supposed to take me to the view that I created, I get an NSInternalInconsistencyExcept...
Addi asked 21/1, 2011 at 20:35
3
I'm trying to create a custom UIButton for a Radio Button class. When selected, the button should have a background color of orange with a text color of white, and when unselected it should have a ...
10
Solved
Im having some troubles to start an iOS app using xibs instead of storyboard. The problem is that im getting a black screen and the first view controller is not being called (added break point to v...
Bunkhouse asked 4/8, 2015 at 8:12
7
Solved
I am using xcode 7.2, in xib when i insert any view, label,txtField etc., all are showing this covering blue line. now it is very hard to insert/manage new view or anything in xib due to this line...
Incoherent asked 22/2, 2016 at 12:20
28
I just created one new cordova ios project via CLI, and i opened that project in Xcode 7.1 and while running on simulator am getting some error on mainViewController.xib, if we clicked on that erro...
7
Solved
I have a xib but I can't add constraints. When I control click and drag I can't do anything also the buttons at the bottom I can't do anything with it.
I'm using xCode 11.
Disenthrone asked 7/12, 2019 at 9:18
1
I am building a library using Swift Package Manager. I have added a XIB file to define the layout of a custom UICollectionViewCell. My package will not compile in Xcode, because the XIB file is spe...
Teenager asked 8/10, 2020 at 4:7
8
Solved
I am working on project with another developer. We are working on bitbucket.
The problem is he made a changes in XIB files. After that when I do a git pull, I receive the changes but get an error ...
11
Solved
I want to use a view throughout multiple viewcontrollers in a storyboard. Thus, I thought about designing the view in an external xib so changes are reflected in every viewcontroller. But how can o...
Marabou asked 14/2, 2012 at 18:43
30
Solved
Here is my Objective-C code which I'm using to load a nib for my customised UIView:
-(id)init{
NSArray *subviewArray = [[NSBundle mainBundle] loadNibNamed:@"myXib" owner:self options:nil];
retu...
2
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 tedi...
Ld asked 25/4, 2013 at 11:35
3
I have a map I'm populating with a list of food trucks, and I'd like to implement a custom callout like the one shown below, when an annotation is selected. Currently I have the standard annotation...
Glossectomy asked 3/8, 2016 at 5:13
8
Solved
When I double-click my file StartWindow.xib in Xcode 4, it does not open into the integrated Interface Builder; it opens like a XML file. I can open all other xib files and they display as expected...
Wallacewallach asked 27/5, 2011 at 12:2
11
Solved
This seems like such a basic task, but I'm stumped.
How, in Xcode, do you execute a textual search though (the XML contents of) all the .xib files in a project?
For example, all of our .xib files...
Janeejaneen asked 18/10, 2010 at 21:3
14
I had a MyViewController.swift and a MyViewController.xib presenting the layout of MyViewController.
I tried different methods to load this view controller including:
//1
let myVC = UINib(nibName...
Asymptotic asked 5/5, 2016 at 9:5
4
Solved
I have been spending time learning how to use the iPhone SDK. I've read "Beginning iPhone Development: Exploring the iPhone SDK" from cover to cover and I've never seen an example of multiple views...
14
Solved
3
I lost half a day figuring this and I can't see a straight forward solution online.
I created an iOS CocoaTouch Framework. I have some private and public classes in it and it all works fine.
The p...
Hirsutism asked 11/3, 2016 at 14:32
4
I have a UICollectionView that displays a vertical list of cells. It's basically a tableview but I'm using the collection view for more controller of how each cell is placed in the view. For some r...
Chaing asked 23/8, 2013 at 18:43
10
Solved
I created a sample project to reproduce this.
I've a xib file with an UILabel having a fixed top, leading and trailing constraint. I added a minHeight constraint and set the number of lines to 0.
...
Argot asked 13/11, 2014 at 21:28
2
I have a custom cell called NormalImageCell that inherits from UITableViewCell and is tied to a xib. Let's say I wanted to create a new cell called LargeImageCell that inherits from NormalImageCell...
Brandtr asked 31/7, 2016 at 9:49
2
Solved
I just create custom UIView with name PopupViewForViewMoreDetail and I want to add this custom view in my ViewController but each time getting below error
Terminating app due to uncaught excepti...
Worry asked 27/6, 2018 at 6:53
4
Solved
I am starting to move more of my view hierarchy construction to IB.
I have a nib file called "AlignmentViewController.xib" in which I set up my view hierarchy with AlignmentViewController as the ...
Deservedly asked 19/10, 2009 at 13:54
1 Next >
© 2022 - 2025 — McMap. All rights reserved.