interface-builder

Cocoa -Adding a menu item programmatically

How can I add a menu item inside a sub menu programmatically? ...

Giving a Boolean property to a controller object in Interface Builder

After I drag a controller object to the document window, how do I give it a Boolean property? ...

How to create an IBOutlet in Interface Builder

I know how to create IBOutlets in Xcode but how do you do it in Interface Builder? ...

Menu item doesn't show when creating menu in Interface Builder

In interface builder I added a menu item to the main menu. I can click on the menu and access its contents, however the title of the menu item doesn't show when running the program. The image shows the application and its menu on top and on the bottom is the application as it appears in IB. Notice that where the menu in IB has the "Calc...

Why don't my buttons go?

I'm setting up two buttons inside UITableViewCells. The cell itself shouldn't ever respond to selection, just my two buttons. Here's the code in question: -(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *ident = @"ResourceResultsCells"; ResourceResultsTab...

Adding Alot Of Controls To A ScrollView

I am trying to create a pretty lengthy form in my iphone app. I added a scrollView to my view in order to scroll down at runtime. The problem is in interface builder all I see is the regular view with the 420 height. So how can I add more controls to the form in interface builder? If I could physically add them somehow the scroll view ...

Debugging Tools/Method for Mac OS X Interface Builder (3.2.3)

I am new to Mac OS X programming and so I am going through an introductory text that includes building interfaces using Interface Builder (3.2.3) for both Cocoa and Carbon. Unfortunately I am having problems getting some of the examples I type in to run error free in the Cocoa and Carbon simulators. So I tried downloading the source co...

which widget in the Inspector view of Interface Builder?

I want to use a widget just like size or attributes buttons of Inspector view of Interface Builder, but I found in Library view , no one widget will be found? which widget it used?Thank you very much! ...

ShortcutRecorder record CMD+Tab

I'm trying to allow ShortcutRecorder to record CMD+Tab. The problem is that, even if ShortcutRecorder has the focus, if I press CMD+Tab, the application switcher appears. Is there any way of allowing ShortcutRecorder to "intercept" the CMD+Tab? Thanks! ...

Richer iPhone Interfaces With Library Components?

Hey, My iPhone development is stepping up a notch and I'm looking at the UI. We're thinking of having a few nice interface-y features - things like dragging and dropping images onto one another from a gallery list, or similar. How far does the basic iPhone interface stretch? Do most people create their own interfaces and code, and if s...

Assigning IB textfields to delegate UITextField properties

I have three textfields in interface builder being used to accept input. When a button is pushed the data in the 3 fields are processed. Currently, when one of the textfields sends out a textFieldShouldReturn (or similar) message to its delegate, I assign the "sender" parameter (using the tag property) to the delegate's respective UIText...

NSMenuItem and bare esc key equiv.

I'm trying to bind a bare esc key press to an NSMenuItem that toggles full screen (currently just a stub function). Manually selecting the menu item sends the desired IBAction. When I set the NSMenuItem's Key Equiv. in Interface Builder to an arbitrary bare key (eg. w) that key command sends the desired IBAction. When I set the Key Equiv...

Tab Based Controller Connection Issues

Hey there, I have an issue . I have code that reads in RSS feeds, its navigation based. RssFunViewController - > thats the view for the table (list of feeds) NewsDetailViewController - > thats shows more information about the news feed which was selected by user (in a new view). But when i try to use it in a tab-based navigation pr...

Some of my iPad pages won't rotate/resize correctly

I have an application that I submitted to the app Store. 2/5 of my pages (tabs) would not rotate/resize correctly. Thus I turned off rotation. Thus Apple rejected my application. So I went back to the drawing board. Still those two pages fail to rotate correctly. Can I reposition my text fields and such programmatically considering...

Trouble opening Mainwindow.xib in Xcode/iPhone Development

Hi, I was going through the Hello World tutorial for iPhone App. I recently bought a Macbook and have installed Xcode 3.2.3. The tutorial says that I should double click on MainWindow.xib and wait for few seconds to see an Interface builder getting opened. But nothing like that is happening in my macbook. Is there an alternate way to br...

UIImageView with strange behavious with DownArrow.png

I have an image under Resources group named "DownArrow.png" Open your viewController.xib Drag & drop an imageview select imageview & press command+1 ( for attribute inspector ) now set image name DownArrow.png save your viewController.xib close it now reopen it. you will find imageview with different image ( which is really a downArrow...

Window disappears when resizing in Carbon Simulator

I'm trying to build a resizable Carbon window as part of a tutorial. I am using Interface Builder 3.2.3 on Snow Leopard 10.6.4. If I create an empty Carbon project and add a window object from the Library (with Close, Minimize, Resize and Zoom buttons in the Inspector all checked), run the Carbon Simulator and then attempt to resize the...

Alignment UIImageView with Aspect Fit

for my UIImageView I choose Aspect Fit (InterfaceBuilder) but how can I change the vertical alignment? ...

tab bar controllers won't open in Interface Builder

Hi all, I'm developing a new app but I've a little issue with Interface Builder... I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM. When I create a new Tab Bar Application project in Xcode, opening the MainWindow.xib file in IB, the Tab Bar Controller won't open... I tried reclicking it but nothing! I also uninstalled and reinstalled al...

How to tint UIBarButtonItem background color?

I have a UIToolbar that contains 2 buttons. The toolbar has a tint: toolbar.tintColor = [UIColor colorWithRed:(102.0/255.0) green:(20.0/255.0) blue:(11.0/255.0) alpha:1]; How can I make the buttons have a similar tint color? ...