Questions tagged [nib]

NIB files are similar to XIB files (XCode Interface Builder), with the difference being XIB files are modified during development and NIB files are created during the build process. NIBs store static information about the interface as well as any behavior that has been implemented.

Storyboards have since succeeded NIB/XIB files as the latest UI interface tool.

1152 questions
0
votes
3 answers

memory retention/leak on iOS

I have a UItableViewCell defined from a XIB file. This cell contains a UIScrollView, which is filled on the fly with UIView Objects - viewXY -. I use arc, everywhere in the code. The UI looks like: cell 0: [ view00 view01 view02 ...] cell 1: […
Alex
  • 1,581
  • 1
  • 11
  • 27
0
votes
1 answer

XCode will not bind nib and source header file with control click

I added a custom view controller class with interface (.h), implementation (.m) files, and UI (.xib) to an existing project. When I ctrl-click and drag between the nib and the interface, it will not place an outlet or IBAction when I drag, so I…
Yakubs
  • 161
  • 2
  • 11
0
votes
2 answers

UITableViewCells nib showing default values as i scroll

I have created a UITableViewCell nib that I am loading into my tableview, however something weird is happening when I scroll through the table, if I am scrolling down the new cell that comes in shows the default values for a split second and then if…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
0
votes
1 answer

XCode: Rearrange Output/Main Window

Is it possible to move the output/find window that sits above the source editor to the bottom? I was hoping there might be a hidden preference some where, or perhaps someone has edited the nib file to do the re-arrangement. cheers
push 22
  • 1,172
  • 3
  • 15
  • 34
0
votes
1 answer

Readable alternative to nib files?

To me, the basic problem with nib files is that they are not human readable, so it's difficult to impossible to tell if there are unintentional or undesirable changes in the file, such as accidentally dragging a view. Are there any nib alternatives…
Uncommon
  • 3,323
  • 2
  • 18
  • 36
0
votes
1 answer

How do I use both xibs and storyboard in my program?

I've made a project based completely on xibs. Now I need to add a table view whose cells will lead into the xibs I have in my project. All of the tutorials I've found for table view use storyboard, so I was wondering, how I would go about building…
Mickster37
  • 155
  • 2
  • 10
0
votes
2 answers

iOS: Xcode appears to be inserting an extra space into XIB file name causing "Could not load XIB file" issue

I have a UITableViewController that uses custom table view cells (and I have created an XIB for my custom UITableViewCell subclass) When my app attempts to load the table view controller it crashes with the following error: *** Terminating app due…
CoolDocMan
  • 637
  • 7
  • 29
0
votes
1 answer

iOS Application launch black screen, UINavigationController, Nib, RootViewController

I've got the following app, whose RootViewController is named TopicsViewController. When I run it, there aren't any errors or breaks but the screen is black. No table, populated or empty, just a black screen. Not sure which of the following is…
Morkrom
  • 578
  • 7
  • 26
0
votes
3 answers

ios how can use multiple nibs control by one viewcontroller

I'm building a universal app with support to iOS 5.1.X and 6.X. But I have a question for you guys. On iOS 5.1.X autolayout is not supported and I thought for a solution to have 3 nibs 1)ipad 2)iphone retina and not retina 3)iphone 5. One of the…
Juan
  • 627
  • 2
  • 9
  • 27
0
votes
1 answer

OBShapedButton class in Storyboard

I am trying to implement the OBShapedButton class in my iOS project so I can create irregular shaped buttons defined by png files. This is a link for more information on OBShapedButton. Basically this class works great when I'm using it with my nib…
0
votes
1 answer

how to make initWithNibName behave like instantiateViewControllerWithIdentifier

I'm trying to add a view controller container library to the remail email client. The idea is that the view controller container presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the…
abbood
  • 23,101
  • 16
  • 132
  • 246
0
votes
0 answers

NIB with stripped symbols

I've been told that it is a good idea to make sure that all of the symbols from an application are stripped when you release it. But if you strip all the symbols from a binary on an OS X application, how does the nib know where the methods it is…
Bob Bobbio
  • 577
  • 2
  • 5
  • 10
0
votes
2 answers

Dynamic text labels in NIB file

I created a nib file and want to display dynamic text messages on it like file names that are selected or the no of files selected etc. Is there a way to to this? I know this can be done for alert panels but i want it on my custom sheets. Thanks
King
  • 239
  • 3
  • 17
0
votes
1 answer

Instantiating nib lazily in UIViewController's view property accessor

In the application I'm currently working on, there's a case where I have 2 screens for a set of data: one is a list and one is a map. Each screen has its own view controller. The default screen is the list view, so that view controller loads first.…
smileyborg
  • 30,197
  • 11
  • 60
  • 73
0
votes
2 answers

How do you handle memory management of outlets in the iPhone SDK

Since KVC is used to set outlets on the iPhone, there are 2 methods (that I know of) to make sure you've properly handled memory management. Specifically, I am referring to this article written by Aaron Hillegass. My question is which method do you…
Corey Floyd
  • 25,929
  • 31
  • 126
  • 154