Associating a Navigation Item with a View Controller in a XIB

According to Xcode:
The 'navigationItem' outlet of a UIViewController has been deprecated. Navigation items are required prior to loading a view controller's view. Instead of an outlet, consider embedding the navigation item in the view controller.
What does "embedding the navigation item in the view controller" mean? The obvious interpretation of putting a navigation item in the view controller's XIB as a peer to the view has no effect.

Hi -
   Try using Command "SET_SELECTION_STATE" in dropdown Data Binding - Data Binding type.
Anesh B

Similar Messages

  • Has anyone been able to combine OpenGL ES with another View controller?

    Looking at all the sample code, I still can't find any example of combining OpenGL ES with another View controller. So that one could have a view that the user could input values, and another that draws OpenGL ES stuff in. Is this possible, or does one have to draw the UI stuff OpenGL? I haven't downloaded any iPhone Apps store stuff that uses any OpenGL drawing.
    Thanks for any suggestions....

    I have been able to add a second UIView to the app's window. And I set the bg color for the view to be transparent and I use the view for drawing quartz objects over the opengles scene. It's a little Heads Up UI that is not too hard to deal with. And it can blend better as an iphone app.
    You could easily add views and force them in size to be side by side, or top/bottom, whatever works.
    Have fun,
    ceder

  • UINavigationBar not displaying items for root view controller

    Hi,
    I've stumbled on something that has me completely stumped.
    This works: Add a UINavigationItem and UIBarButtonItems to a .xib (linking up the necessary outlets), push the view controller on to a navigation controllers stack. Result: You see the title and buttons on the nav bar correctly displayed.
    This doesn't work: Repeat the same process, but put these items in the root view controller of a navigation controller.
    The fix: Disconnect the UINavigationItem from the root view controllers "File's Owner" navigationItem outlet, override viewDidLoad in the root view controller class; and programatically set the items there.
    What am I missing? Why does the technique for configuring nav bar items work for additional view controllers pushed on to an existing navigation controllers stack, but not if the view controller is the root view controller? I have a sample project demonstrating this if this doesn't make sense!
    Thanks

    Hi,
    I've stumbled on something that has me completely stumped.
    This works: Add a UINavigationItem and UIBarButtonItems to a .xib (linking up the necessary outlets), push the view controller on to a navigation controllers stack. Result: You see the title and buttons on the nav bar correctly displayed.
    This doesn't work: Repeat the same process, but put these items in the root view controller of a navigation controller.
    The fix: Disconnect the UINavigationItem from the root view controllers "File's Owner" navigationItem outlet, override viewDidLoad in the root view controller class; and programatically set the items there.
    What am I missing? Why does the technique for configuring nav bar items work for additional view controllers pushed on to an existing navigation controllers stack, but not if the view controller is the root view controller? I have a sample project demonstrating this if this doesn't make sense!
    Thanks

  • Can't view interactive items with Content Viewer

    I have created some interactive items in InDesign CS6; rollover buttons, animation, slideshow... etc. when I click Preview at the bottom of the Folio Overlay panel it works fine but when I test with Content Viewer(both desktop and iPad 2), it's not working. Let me know if you can help me on this, I have spent last couple days to figure out this error but no luck so far.
    Thought I did something wrong so I have test with "Local Spring" tutorial and swipe 360 viewer and slideshow don't work either.
    System Info: Mac Lion OX, CS6, Adobe Content Viewer(v20), DPS tools are all updated.

    Have you tried moving it over to the actual device to test it (i.e. iPad)? I found my videos didn't look very well on the desktop version of the Content Viewer but when I moved it over to the iPad, it looked great.
    Just a thought.

  • Complete table view controller with XML

    Hello, I'm from Brazil and am new to ios.
    Today I am making an example where I use a table view controller and fill it witharray (NSMutableArray).
    However I would do the same using XML so that now, I'm having so many difficulties to the point of not knowing where to start.
    The code I use to populate this array was.
    It is possible to use something like XML?
    #pragma mark - View lifecycle
    - (void)viewDidLoad
        [super viewDidLoad];
        // Uncomment the following line to preserve selection between presentations.
        // self.clearsSelectionOnViewWillAppear = NO;
        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem;
        registros = [NSMutableArray arrayWithObjects:@"1", @"2",@"3",@"4",@"5",@"6",@"7",@"8",@"9",@"10",@"11",@"12",@"13",@"14", nil];
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    - (void)viewWillAppear:(BOOL)animated
        [super viewWillAppear:animated];
    - (void)viewDidAppear:(BOOL)animated
        [super viewDidAppear:animated];
    - (void)viewWillDisappear:(BOOL)animated
        [super viewWillDisappear:animated];
    - (void)viewDidDisappear:(BOOL)animated
        [super viewDidDisappear:animated];
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        // Return YES for supported orientations
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    #pragma mark - Table view data source
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
        // Return the number of sections.
        return 1;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        // Return the number of rows in the section.
        return [registros count];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        static NSString *CellIdentifier = @"listax";//este é o identificador da celula
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        cell.textLabel.text = [registros objectAtIndex:indexPath.row];
        return cell;

    If you have a custom XML schema (not a plist), consider two approaches.
    1. Before showing your table view, use NSXMLParserto deserialize the XML document into an NSMutableArray that will be the table view data source.  Typically the array contains custom class instances; one or more class properties are used to set table cell properties in cellForRowAtIndexPath.  If you have never worked with NSXMLParser (or any other SAX parser) before, start by creating a sample app so you understand how that works.
    2. Use a 3rd-party DOM parser like GDataXML.  Load your XML document into a class property in your table view's viewDidLoad.  Then the XML document will be the table view data source since elements and attributes can be directly queried using XPath in cellForRowAtIndexPath.  If you have never worked with XML DOM and XPath before, start by creating a sample app so you understand how that works.
    If your have a lengthy complex XML document, option #1 might be more efficient because indexed array access is faster than XPath queries.  Theoretically that is why Apple's Cocoa provides DOM support on OS X but not iOS.  There are strategies to improve efficiency if necessary, including your own indexing scheme.  The best solution depends on many factors.  For example, if your XML document includes thousands of rows, but users rarely scroll past the first 10, option #1 would waste time parsing everything.
    Both of these approaches keep all data in memory, which is fast but not friendly.  Perfectly fine for reasonably sized data sets.

  • How to implement navigation control inside view controller project

    Hi,
    I am trying to implement an navigation control in a view controller project.
    I am unable to do that process.
    Can anyone please suggest me how to do this navigation flow which should be placed inside view controller.
    SRI.

    Hi,
    I am using Jdeveloper 11.1.1.4.0.
    To use the appModules methods, I am creating the service interface and then I am creating the webservice proxy into another view controller project and access the appModule methods.
    Now, I don't want to create the webservice proxy. I want to directly access the appModule methods.
    Thanks,
    Rohit.

  • Adding navigation items to view controllers in interface builder - pwnd me

    I am perplexed by Interface builder. I had SDK version 2.x (can't recall now) and just upgraded to the newest 3.1 and now things do not work the same.
    So that I could have a custom navigation item applied to my view controller, I have followed the instructions here:
    http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptua l/IB_UserGuide/EditingNibFileObjects/EditingNibFileObjects.html
    in section entitled "Configuring the Views for Additional Navigation Levels"
    When I try to load the nib at runtime I get this error:
    [* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "EventCreate" nib but the view outlet was not set.']
    The view is set on the controller; however, I did not do anything to set the file's owner since the before-mentioned doc does not say anything about that. It seems the view must be set on the file's owner to make it work. This is confusing.
    I've noticed that the nibs I had set up using the previous release (2.x can't remember now) aren't totally supported in the way I had them set up with navigation items. In IB, I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller, and the controller had a navigation item outlet exposed by default. That doesn't appear to work any more. When I open my older nibs (xib files) the navigation item outlet shows up in the inspector for the controller BUT its greyed out, as if obsolete. There's no navigation item outlet showing in IB anymore, it seems when building new xibs. So, I don't know what to do here.
    Can somebody help me?

    crouchingchicken wrote:
    I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller
    Yes, I agree. The nav item used to show up as an outlet of any view controller.
    When I try to load the nib at runtime I get this error:
    The problem with the doc is this line:
    To push a new view controller at runtime, _create a new instance of your custom UIViewController subclass, initialize it with the nib_ file you created for it, and push it on the navigation controller stack.
    The underlined portion can lead us to believe we can alloc and initWithNibName:bundle: as we would when File's Owner is a proxy for the controller we create in code. But that won't work in this case, since the controller we want is the one that's created from the view controller object when the nib is loaded. In other words, we don't want to alloc a new controller, we just want to grab the object made from the nib. Here's what to do:
    // RootViewController.m
    - (IBAction)nextView {
    NSLog(@"nextView");
    // SecondViewController *viewController = [[SecondViewController alloc]
    // initWithNibName:@"SecondViewController" bundle:nil];
    NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SecondViewController"
    owner:self options:nil];
    NSLog(@"nib=%@", nib);
    SecondViewController *viewController = [nib objectAtIndex:0];
    [self.navigationController pushViewController:viewController animated:YES];
    // [viewController release];
    Be sure not to release the object obtained from the nib, since we didn't alloc it. Top level objects created from a nib are autoreleased. You can put some logging into the second view controller's dealloc to verify it gets dealloced when popped:
    // SecondViewController.m
    - (void)dealloc {
    NSLog(@"dealloc: %@", self);
    [super dealloc];
    - Ray

  • Call method with an argument from another view controller

    I have a UIViewController MainViewController that brings up a modal view that is of the class AddPlayerViewController. When the user clicks 'Save' in the modal view I need to pass the Player data (which is a Player class) from the modal view to the MainViewController in addition to triggering a method in the MainViewController. What's the best way to accomplish this? I'm new to cocoa and have only tried using delegates and some ugly hacks to no avail.
    Thanks for the help.

    If I understand correctly, you have:
    1. A model object, Player.
    2. A top view controller, MainViewController.
    3. Another view controller, AddPlayerViewController, which MainViewController displays modally.
    I'm guessing that AddPlayerViewController creates a new Player object and lets the user set its values, and you need a way to get that new Player into MainViewController once they're done.
    So, here's what I'd do:
    1. Create an AddPlayerViewControllerDelegate protocol. It should declare two methods, "- (void)addPlayerViewController:(AddPlayerViewContrller*)controller didAddPlayer:(Player*)newPlayer" and "- (void)addPlayerViewControllerNotAddingPlayer:(AddPlayerViewController*)controll er".
    2. Add an attribute of type "id <AddPlayerViewControllerDelegate>" called delegate to AddPlayerViewController. Also add a property with "@property (assign)" and "@synthesize".
    3. Modify AddPlayerViewController so that if you click the "Save" button, addPlayerViewController:didAddPlayer: gets called, passing "self" and the new Player object as the two arguments. Also arrange for clicking the "Cancel" button to call addPlayerViewControllerNotAddingPlayer:.
    4. Modify MainViewController to declare that it conforms to AddPlayerViewControllerDelegate. Implement those two methods (addPlayerViewControllerNotAddingPlayer: might be an empty method if you don't want to do anything).
    5. When you create your AddPlayerViewController, set its delegate to your MainViewController.
    If you need more detail, let me know what parts you need me to elaborate on.

  • Nautilus 3.16 Cannot double-click with Icon-View to open items

    I'm updated testing/nautilus-3.16, and it cannot double-click to open ever items.
    But goto Preferences -> Behavior to set ' Single click to open items '
    Single click is working on nautilus, It's can single click to open items.
    And goto Preferences -> Default View to set 'List View'
    Double click is working with 'List View'.
    Not have anything error code in Terminal.
    And I reset gconf and dconf, Icon View with double-click still not work.
    How to solve it?
    Last edited by MayKiller (2015-04-02 10:55:18)

    ewaller wrote:
    Moving to testing.
    Maykiller, you reported the thread to the moderators.  Did you perhaps mean to reply to the thread?
    Sorry for that, I clicked 'report', it's wrong.
    I was mean it is reply for that user...
    Last edited by MayKiller (2015-04-04 12:42:22)

  • Label of attribute when used as View Criteria item with Bind Variable

    I've a VO attribute used in a named search with this requirement:
    The attribute provides has an optional View Criteria item that has a bind variable operand. The bind variable is in the WHERE clause. The attribute has an LOV. The choice list for the specified View Criteria item should display the label "Effective Release". However, in all other contexts, including the search results table and the dropdowns the user can optionally add in an advanced search, the label displayed for the attribute must say "Release".
    In other words, the default label for the attribute should be "Release" in all but one context - which is that when the dropdown list for the viewCriteria item using the bind variable is displayed, the label should say "Effective Release".
    Note that if the user moves to Advanced Search and selects adds the attribute as a search criteria, this latter usage should be labeled as "Release". (in this case, in other words, the dropdown that displays by default and has the bind variable operand is labelled "Effective Release", the one the user added in advance search is labelled "Release")
    here is the View Criteria item source xml:
          <ViewCriteriaItem
            Name="ReleaseId1"
            ViewAttribute="ReleaseId1"
            Operator="="
            Conjunction="AND"
            Value=":v_ReleaseId"
            GenerateIsNullClauseForBindVars="false"
            ValidateBindVars="true"
            IsBindVarValue="true"
            Required="Required"/>I've experimented by putting "Effective Release" as the label for the bind variable as below. However, ADF does not use that value to display, it defers to the attribute value:
    <Variable
        Name="v_ReleaseId"
        Kind="viewcriteria"
        Type="oracle.jbo.domain.Number">
        <Properties>
          <SchemaBasedProperties>
            <LABEL
              ResId="EFFECTIVE_RELEASE_LOV"/>
          </SchemaBasedProperties>
        </Properties>
      </Variable>The reason for the requirement, if it matters, is that the View Criteria item with the bind variable ("Effective Release" queries a range of values using the analytic function rank(); the bind variable is in the WHERE clause. Otherwise, the dropdown that can be added in advanced search ("Release") looks for exact matches on the attribute value. So since the search functionality is different, the label should be different.
    Am using 11g.
    Thanks for your help.

    Hi
    I have found that when using validation type Key Exists and the VO is in the local application, then the bind variable is available in the Create Validation wizard. When I try and create a validator on a VO that is core to all my applications, then I put that VO into an ADF library, the bind variable parameter is not available for mapping to my entity object attribute, even though I can select the VO to create a view accessor from the ADF library.
    Possible bug?

  • Call View controller with some URL parameter

    Hi
    I have a 3rd party system which need to send some data to my CRM system.
    One approch which is being suggested is by sending data by URL parameter.
    I have made a new component for this and have provided the 3rd party with its URL .
    The issue with calling a view controller URL along with some specific URL parameters is that i am not able to access its parameters.when i call method GET_PAGE_URL from the DOINIT method of the controller it does not provide me with the parameter list .
    How can i access these URL parameters ?
    Regards
    Ajitabh

    HI,
    have a look at component CRM_UI_FRAME. In the page default.htm they extract URL parameters.
    You have got the REQUEST variable in your view controller as well.
    cheers Carsten

  • Approval - view pending items with view page

    Is it possible to view pending items with view page? I know it is possible to view it in graphical mode, but our content manager want's to see the end result.
    Maybe i'm missing something. (We have portal 9.0.4.1.0 (Build: 129), upgrade to a newer version would be no problem)
    Tia,
    Dirk

    Hi Dirk -
    The next major version of Portal (10.1.4) also only shows the "View Pending Items" mode, which is the same as graphical mode, except with the pending items of course.
    Sorry to give the answer you did not want to hear.
    /candace

  • Issue with pulling down one view controller and posting another one

    I have a situation where I need to post a modal view when another one is closed by the user.
    Say i have a EULA a user must accept before continuing and once the EULA is accepted I want to show a Splash screen which is another View controller.
    So essentially when the user accepts the EULA, the EULAViewController calls its delegate's eulaAccepted method. In this case the delegate is a view controller inherited from UIViewController object.
    - (void) eulaAccepted {
    // Dismiss the EULA controller first
    [self dismissModalViewController animated:YES];
    // Now show the splash screen to the user
    SplashController *splash = [[SplashController alloc] init];
    [self presentModalViewController:splash animated:YES];
    [splash release];
    When I do this, the code sort of goes into recursive loop with lot of the following in the stack:
    UIView(Hierarchy) _makeSubtreePerformSelector:withObject:withObject:copySublayers:
    If I present the splashController in another method which I invoke after a certain delay then it works fine. But the timing is again an issue since it works on some devices and not on others. So I do not like that solution.
    What is the best practice to handle such situations? I was under the impression that the OS would sequence these animations and perform one after the other and I would not have to worry about them but doesn't look like it works that way.
    Would greatly appreciate your inputs.
    TIA,
    -TRS

    Here is what I did. I overrode the presentModalViewController:animated: and then if a controller is already posted, I start a thread which waits for the old one to be pulled down before the new one is posted.
    There could still be a problem here if postModalViewController is called before another one has been posted since then self.modalViewController will still be nil. But the UIViewController can deal with it. My current issue is posting one when another is being pulled down, not posting 2 views at the same time
    This works but I still would like to know if there is a better way to handle such situations.
    -TRS
    // Invoke the super with animation set to YES
    - (void) presentModalViewControllerWithAnimation:(UIViewController *) vc {
    [super presentModalViewController:vc animated:YES];
    // This method should be invoked in its own thread
    // If there is a modal controller already posted then wait for it to be pulled down before posting this one
    - (void) checkAndPresentModalViewControllerWithAnimation:(UIViewController *) vc {
    while (self.modalViewController != nil) {
    [NSThread sleepForTimeInterval:0.1];
    [self performSelectorOnMainThread:@selector(presentModalViewControllerWithAnimation:) withObject:vc waitUntilDone:NO];
    // Invoke the super with animation set to NO
    - (void) presentModalViewController:(UIViewController *) vc {
    [super presentModalViewController:vc animated:NO];
    // This method should be invoked in its own thread
    // If there is a modal controller already posted then wait for it to be pulled down before posting this one
    - (void) checkAndPresentModalViewController:(UIViewController *) vc {
    while (self.modalViewController != nil) {
    [NSThread sleepForTimeInterval:0.1];
    [self performSelectorOnMainThread:@selector(presentModalViewController:) withObject:vc waitUntilDone:NO];
    // Override the UIViewController method
    // If no modal controller is yet posted then directly invoke the super's presentModalViewController:animated:
    // If one is already posted then start a worker thread to wait for it to be pulled down before posting the new one
    - (void) presentModalViewController:(UIViewController *) vc animated:(BOOL)animated {
    if (self.modalViewController == nil) {
    [super presentModalViewController:vc animated:animated];
    } else {
    if (animated) {
    [NSThread detachNewThreadSelector:@selector(checkAndPresentModalViewControllerWithAnimation:) toTarget:self withObject:vc];
    } else {
    [NSThread detachNewThreadSelector:@selector(checkAndPresentModalViewController:) toTarget:self withObject:vc];

  • Real Model View Controller with JTextField

    Hi!
    I am new to Java (so please bear with me). I am building a swing application. I already have added a JTable with a corresponding table model that extends AbstractTableModel. Rather than store the data in the table model, I have modified setValueAt and getValueAt to write and read cell data to another location. So far, everything is fine. When doing setValueAt, I have a fireTableCellUpdated statement that I use to update the edited cell. So far, things are all still fine.
    I would like to do the same thing with a JTextField. I found an example in Core Java Volume 1 for create a class that extends PlainDocument. It uses insertString to update the document in a way that ensures that only numbers are entered. I implemented this. Everything is still fine. I changed insertString to update my remote repository (a field in another class). Everything is still fine. Next, I tried to change (override) both getText methods to read from the repository. This works, but is not reflected on the screen.
    I realize that I need the equivalent of a fireTableCellUpdated statement for the class that extends PlainDocument, but do not know how to do this.
    I have looked a lot over the internet for the model view controller implementation. I know that it can be done using event and event listeners, but this seems to defeat the purpose of the model view controller - it seems like you ought to be able to directly modify the model object to access external data.
    My code is below.
    Thanks/Phil Troy
    * PlainDocument class to make it possible to:
    * - Make sure input in unsigned integer
    * - Automatically save data to appropriate locate
    * This will hopefully eventually work by overriding the insertString and getText methods
    * and creating methods that can be overridden to get and save the numerical value
    class UnsignedIntegerDocument extends PlainDocument
         TutorSchedulerPlusSettings settings;
         JTextField textField;
         public UnsignedIntegerDocument(TutorSchedulerPlusSettings settings)
         {     super();
              this.settings = settings;
         public void setTextField(JTextField textField)
         {     this.textField = textField;
         // Overridden method
         public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
         {     if (str == null) return;
              String oldString = getText(0, getLength());
              String newString = oldString.substring(0, offs) + str +oldString.substring(offs);
              try
              {     setValue(Integer.parseInt(newString));
                   super.insertString(offs, str, a);
                   fireInsertUpdate(new DefaultDocumentEvent(offs, 10, DocumentEvent.EventType.INSERT));
              catch(NumberFormatException e)
         public String getText()
         {     return String.valueOf(getValue());
         public String getText(int offset, int length) throws BadLocationException
         {     String s = String.valueOf(getValue());
              if (length > 0)
                   s = s.substring(offset, length);
              return s;
         public void getText(int offset, int length, Segment txt) throws BadLocationException
         {     //super.getText(offset, length, txt);
              char[] c = new char[10];
              String s = String.valueOf(getValue());
              s.getChars(offset, length, c, 0);
              txt = new Segment(c, 0, length);
         public String getValue()
         {     int i = settings.maxStudents;
              String s = String.valueOf(i);
              return s;          
         void setValue(int i)
         {     settings.maxStudents = i;
    }

    Hi!
    Thanks for your response. Unfortunately, based on your response, I guess that I must not have clearly communicated what I am trying to do.
    I am using both JTables and JTextFields, and would like to use them both in the same way.
    When using JTable, I extend an AbstractTableModel so that it refers to another data source (in a separate class), rather than one inside of the AbstractTableModel. Thus the getValueAt method, getColumnCount method, setValueAt method, . .. all call methods in another class. The details of that other class are irrelevant, but they could be accessing data from a database (via JDBC) or from other machines via some other communication mechanism.
    I would like to do exactly the same thing with a JTextField. I wish for the data to come from a class other than an object of type PlainDocument, or of any class that implements the Document interface. Instead, I would like to use a class that implements the Document interface to call my external class using methods similar to those found in AbstractTableModel.
    You may ask why I would like to to this. I have specific reasons here, but more generally this would be helpful when saving or retrieving parameters set and displayed in a JTextField to a database, or when sharing JTextField to multiple users located on different machines.
    As to whether this is real MVC or not, I think it is but it really doesn't matter.
    I know that I can accomplish what I want for the JTextField using listeners. However, I would like my code for the JTables to be similarly structured to that of the JTextField.
    Thanks/Phil Troy

  • Storyboard doesn't contain a view controller with identifier 'myViewController'

    I have 3 view controllers on storyboard. One of them has Storyboard Id as 'myViewController'. its runs perfectly on simulator. But when I try to run it on my device it gives following error:
    'Storyboard (<UIStoryboard: 0x1cd626d0>) doesn't contain a view controller with identifier 'myViewController''
    Please help me out with this.

    I'm not sure how "new" you are to Xcode and IB, but just double checking -- did you create the XIB file from Xcode (so that it was added to your project?). Or, if not, did you save it to your project directory somewhere and were prompted to add it to your project? If you created it new from IB it may not be part of your project yet. That's when I have seen my classes missing from the drop down menu on the Identity Inspector.
    One final thing -- after setting File's Owner, I don't see from your code how you are actually loading the NIB file (xib file). You are calling plain "init" in your app delegate where you create these view Controllers. You need to call the "initWithNibName" method. It is the designated init method for view controllers that load their interface from a NIB file.
    Cheers,
    George
    Message was edited by: gkstuart

Maybe you are looking for

  • Downloading itunes films unknown error -50

    I am trying to download 2 films I purchased and day after day it stops at about a tenth into the download and says there is an unknown error. I thought it was the first film but then tried a second a few days later and same again. I have downloaded 6

  • Images missing, small horizontal blue lines

    Two things have happened but I'm not sure if they are related. I am working on a Pages document where I had inserted several photos. Now the photos are missing and I notice a small blue horizontal line on the left of each blank line and new paragraph

  • Analog audio to ipod

    I have successfully transfered analog audio (reel to reel) to mp3 files and have heard them on my computer in I-toons, however when i transfer them to my video i-pod, although they list, they will not play. any thoughts??

  • Xpath syntax for "a number"

    In regex, it's [0-9]+ or \d+.  I'm trying to use xpath to match a number that's any value of 18 digits long.  What's the syntax?

  • Setting Default SID

    guys, I have 3 database instances running on the server - oradev, oratest, oracnv from the prompt I have set the following C:\>set oracle_sid = oratest C:\>sqlplus /nolog SQL*Plus: Release 9.2.0.6.0 - Production on Wed Jul 19 16:29:02 2006 Copyright