interface-builder

How to give a view focus when my app launches?

Hi, how can I choose the view which is active when I start my app? I searched in the Interface Builder but found nothing. Perhaps there is a chance like [view setActive]? so long ...

When I use a .xib file to layout my viewController IBOutlets aren't being released when the view controller is released

I use a .xib to layout my viewController and have 10 IBOutlet objects that IB uses, none of them have @properties assigned to them (no @property(retain) IBOutlet...). When I release the viewController none of those objects are being released, I have to manually release them in the dealloc of the viewController. This doesn't seem like n...

Adding uiview to a uiviewcontroller

I'd like to add a 50x150 uiview that I will be using as a menu, and I want to overlay it on top of my uiviewcontroller. So far what I've done is declare a UIView IBOutlet in the UIViewController class file, and in that UIViewController xib file, I dragged a UIView from the library and hooked it up accordingly. Problem is its not showing ...

Does using many nib files has a performance penalty?

Is it better to put several views in one nib file instead? Thanks, Reshef ...

iPhone Audio Record with Export/Email Function

I have searched all over Apples website and the internet as well as Stackoverflow. Does anyone have any sample code or a tutorial of how I can record audio from the built in mic, and then export that audio via email? Please, I really need it for my app. Could someone email me sample code to henryfbemail(at)gmail.com Thanks a million! I ...

How do I use InterfaceBuilder files in Xcode subprojects?

I'm developing an iPhone app that is a "module" of another launcher (it doesn't launch from the iPhone home screen). To add this module to the launcher, I have to drop in the xcode file into the parent xcode project (creating a subproject). The subproject uses a NIB file as its view controller and the subproject loads the file using init...

Interface Builder: How to select nested elements?

Hi, Is there a way in interface builder to maybe see a tree of my elements so that I could select them that way. It's very hard to select things inside the actual view itself, especially when I have alot of elements and nested views, etc. Thanks ...

Applescript form in Xcode

I am fairly new with Xcode and Interface builder. I am running into a bit of trouble while trying to make a simple app that will create an email with several properties. All I want it to do is to take the email entered in the form and put it in the "TO:" field. Everything else in my code seems to work fine, it's just getting what is ente...

Reload searchresult without a tableview

Hi, I have a MapView and a searchbar with a searchDisplayController And I want to know how I can reload the table of the searchDisplayController. without a Tableview. Most of the information/tutorials i found on the internet is adding myTableView to the tableView but I don't have a table, so how do I reload the searchDisplayController?...

Interface Builder menus "save" and "save as" disabled

Hello, in my xcode project, which is based an persistentDocument, the "save" options are not longer choosable. I've checked the connection to first responder. Everything seems right. When I do some work (data entry) and close the app. The app is asking me, if I want to save. But I just can't choose save from the file menu. Thank you in...

UIimage view and Gridview

I have a problem with the uiimage view and gridview . I have 7 uiimages of buttons with character printed onit and wants to fit these uiimages into the gridview of size 440*233 each grid of size 30*30. I am using touchesmove event for moving these uiimages and after touchesend i want these iimage should be fit on the respective grid belo...

Nesting XIBs in Interface Builder / embedding by reference

Hey folks, Say I have created an XIB for an icon view. I then want to embed a number of instances of this icon view in a different XIB container view by reference, so if I alter properties / layout in the original icon view XIB, the instances in the container view XIB reflect these changes. Essentially, embedding by reference. Maybe ...

Assertion Failure in Interface Builder

I am again and again getting Assertion Failure message in Interface Builder. Can anyone help me to resolve it? Below is the backtrace report: Assertion Message: I've already been indexed! Backtrace: 0. Interface Builder 0x00004d29 [IBApplication handleAssertion:inFile:onLine:] 1. InterfaceBuilderKit 0x002f3bcc [IBHitD...

Have 2 different TableViews in one UIView

Hi, I have 2 tableviews in my view right now. One is grouped: where I can press and push to another view(like a menu) the other one is plain: where I want to show the searchresults I know I can use the displaycontroller but I don't know how to show the results on the table Can someone tell me more about this?? Thanks in advance ...

Preference Pane loses focus when loading

I made a preference pane and every time it loads the System Preferences loses focus. If I remove all controls from my pref pane window the issue will not occur but as soon as there's any sort of image or control in the window it occurs. What am I missing? ...

UISplitViewController not showing right view?

I am making my app for 3.2 but I recently started trying the new SDK 4.2beta2 and my app does not shows the right view. Is just black. I checked and the splitViewController is indeed loading the right controller and the object is on memory but is not shown. I wonder if someone has experienced the same problem and/or where to start look...

What is the best way to load a custom UIView?

In my iPhone app, I made a custom UIView that I use in several different view controllers to display some information. I'm familiar with making customer table cells for use in a table but I've never made a custom view again. My question is what is the best way to load this view? I've tried simply placing the view in the view controlle...

iPhone dev -> localized nib not working

Hi you geniuses ! I am working on an iPhone project which I translated in two languages : French and Spanish. The issue I have is just with one file : the RootViewController nib. I localized the MainWindow.nib, and it works (when I change the language, the text in the app changes according to what I specified). I also have several NSL...

iPad autorotation displays black frames

I am developing an iPad application and in the root view controller, while it is autorotating, i see black rects appear during the animation and disappear once the rotate animation is complete. I do not have any views which have black backgrounds. I see the same thing even when i remove all subviews of the root view controller's view. Th...

iPad status bar overlaps view

In my iPad application, I have a 768x30 px view i place just below the status bar with coordinates (0,0). The status bar is also fully visible. When the app launches the status bar overlaps the view, so the view appears under the status bar. I am creating the view in Interface builder and it also appears correctly on there. The view app...