8
votes
6answers
11k views

Setting font of UILabel with Interface Builder comes out Helvetica

I'm having a problem setting the font for UILabels and UITextViews with Interface Builder. I'm trying to set the font to Gill Sans. If I set it programmatically it works fine, like this: ...
11
votes
5answers
19k views

How do I add a Navigation Bar to a UITableViewController in Interface Builder?

Interface builder does not let me click and drag a Navigation Bar onto a Table View Controller!!! It is super frustrating. All I want is a table view with an edit button (done in interface-builder). ...
1
vote
2answers
227 views

iPhone XIB quickly grows to huge size

I used to have a very small/simple XIB file. Something has caused it to quickly grow to over 500k. The only graphics in it are 3 small PNG files (about 4k each). Here's some of the XIB. Any idea on ...
2
votes
3answers
641 views

Choosing between the two - Interface Builder OR creating via code

When I started with IPhone development I preferred using Interface builder for creating views in my application. With time I considered the option of creating the application via code which I really ...
17
votes
10answers
17k views

How to add UIScrollView to Interface builder?

I have all my controls laid out in interface builder (many labels, buttons etc). How do I put them all in a scroll view in interface builder so that I can have more space and be able to scroll up and ...
6
votes
7answers
5k views

How to make xib compatible with both iphone 5 and iphone 4 devices

I am trying to layout my xib so that layout fits in both iphone 5 (4 inches retina) and 3.5 devices. Because I have to support IOS-5 I cannot use autolayout. I have to use springs and Struts. I ...
14
votes
5answers
13k views

How to make UIButton's text alignment center?

I can't set the title of UIButton using IB as center. My title is multi line.It is giving like this one But I want like this one I have given space in this but I don't want to do that. As it is ...
-1
votes
1answer
2k views

Generate View for iPhone application using interface builder.?

I wanted to generate one fix view using interface builder, but the size of that view is exceeding the size of iphone screen,and I am not able to maximize screen. I wanted to show table view in that ...
10
votes
6answers
4k views

How to draw a line in interface builder in Xcode 4

I'd like to draw a simple inset line in Interface Builder to separate some items in a list and make the UI a bit more tidy. I don't see any "line" or similar objects in the objects library and can't ...
2
votes
2answers
3k views

Convert iPhone App to iPad App (Just The Easy Part)

I make a basic View-Based application for iPhone in XCode 3.2, but when I switch the emulator to the iPad, the application gets "framed" (not sure what the right term is): If I adjust the width of ...
19
votes
7answers
21k views

How to deselect a selected UITableView cell?

I am working on a project on which I have to preselect a particular cell. I can preselect a cell using -willDisplayCell, but I can't deselect it when the user clicks on any other cell. - ...
0
votes
0answers
67 views

Is there a way to force Interface Builder events to resolve?

I'm having issues where if I use draw commands in a UIView drawRect: method, components created through Interface Builder will not resolve their events. Is there a way to force events to resolve, kind ...
25
votes
5answers
21k views

Is there a way to change the height of a UIToolbar?

I've got an UIToolbar in Interface Builder and I've noticed that it's locked to being 44px tall. Of course I'd like to make this larger. Does Apple allow resizing of this control? If so, how do I go ...
1
vote
1answer
479 views

Interface builder's not showing the navigation controller's navigation bar inside a UITabBarController

I recently switched to Xcode 4 from 3.2 and so far everything's been fine. There's one thing that's driving me nuts for the last hour or so. In my main window xib, I have a Tab Controller with 4 tabs. ...
88
votes
6answers
41k views

Cocoa Touch: How To Change UIView's Border Color And Thickness?

I saw in the inspector that I can change the background color, but I'd like to also change the border color and thickness, is this possible? Thanks

1 2 3 4 5 84
15 30 50 per page