Can i create a home window without using a NIB file

I hate interface builder, it is a really counter-intuitive piece of junk. Please don't try to convince me otherwise I prefer to do it all in code. Right now i have my whole product running dynamically, creating all the interface objects programmatically as my positioning is all calculated on the fly.
However I still have one NIB file (MainWindow.NIB) that creates the home window and somehow links to my AppDelegate class, which is the startup class for my app. I see that my main.c routine calls UIApplicationMain() which somehow loads the main nib (hidden magic here), and then eventually my AppDelegate() method which is of calss UIWindow() gets called with an initialize() call followed by applicationDidFinishLaunching() call and off we go.
Can I create the window dynamically by not using NIBs? Now that we have ipad and iphone to contend with, I would want to create a window that is either 320 x 480 or 768 x 1024 depending on what machine I am on. I would like to get rid of the NIB because I don't understand the wiring stuff and I tried to make a NIB myself but now get a cryptic error message, and anyway the NIB has a fixed size and my app wants to be dynamic now that we have two screen sizes.
The second part of the question is how do you know what kind of machine you are on? I don't see a Gestalt() routine like in the old mac days so you can tell what machine it is.

There are always less-informed people who think that a STATIC development tool is somehow more powerful than a flexible dynamic interface computed as one goes. The idea of a static screen form that you control dates back the 80's; modern interfaces are DYNAMIC and interface builder cannot construct those; sure it can perhaps help you lay out things, but if the user turns on certain features then new controls are visible. We have built products with over 500 controls in them and as only perhaps 25 are needed at any one time the software rearranges the screen in the most optimal form at all times. The more advanced the product the more one chafes at a static design tool.

Similar Messages

  • How can i create an apple id without using a visa or credit card

    how can i create an apple id without using a visa or credit card

    Follow the directions here, EXACTLY:
    http://support.apple.com/kb/ht2534

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

  • Can I create report in anyway without using reporting studio client

    Hi All,
    I am using hyperion 11.1.1.1.0.0.
    I am creating reports from hyperion reporting and anlysis.
    I want to know, is there anyway of creating reports from workspace?
    If not then how can I create reports without accessing report studio client.
    Thanks

    In 9.3.1 (at least) you have to use the FR Studio, I'm pretty sure it's the same in 11.
    What happens in the workspace if you select from the Hyperion/Oracle menu:
    File/New/Document
    In 9.3.1 there are options for:
    - Interactive Reporting
    - Web Analysis
    - Report Books
    - Batches

  • Can I create a Mac App without using IB (in mostly C++)

    Hi Everyone
    I am a Windows C++ developer wanting to port an application to OSX. I’m currently reading a book on Cocoa / Objective C but have a few questions I’m hoping can be answered here.
    I know that I can create a Cocoa application in XCode. However, I have already written a GUI library in C++ for Windows that creates all windows, menus and dialogs programmatically. Can I do this in XCode/Cocoa?
    In Visual Studio, I can either create an MFC application, a .NET application or a basic Win32 application. The basic Win32 application is what I have used (together with my library), because it doesn’t contain any Microsoft pre-created classes. I control everything with my library.
    Is there a similar project type / way of doing things in Cocoa? Can I programmatically create windows / create menus and so on? Or must I use IB for everything?
    My purpose is to expose as a little of the platform specific GUI code as possible. The bulk of my program is written in C++ with no regard for specific GUI issues. But the GUI is complex and I’d rather keep the differences between code bases as small as possible.
    Many thanks in advance for any help.

    Thanks for your help.
    I was afraid that might be the answer.
    My library doesn’t use any MFC, just my own classes that wrap up window creation, usage and so on.
    This will definitely make me think twice before trying to port to OSX.
    As I understand it (and I could easily be wrong!), you can still use C++ to write OSX apps, just not the GUI/system parts?

  • Can I create a home network withous dsl connection with airport express

    can I create a home network without dsl connection with airport express?
    So it means I can't connect to my HP Airprint/Wireless printer without exretnal connection through ISP?? Just need to print from my Mac and iphone. I have Vodafone Prepaid connection, which is directly connected to my Mac. Does that make an internal network possible?

    You have to set up the Air Port with an internet connection to set up a network. Do you have a modem? If yes you can set up the network. 

  • HT1918 If you are locked out of your account and you dont use that email address anymore, can you create a new account without losing your music library

    If you are locked out of your Itunes account and you no longer use the same email address, can you create a new account without losing your music library

    Just to let you know that I DIDNT swear in the last post. It was bleeped for using non offensive language. Just letting you know. (And @moderator this subnote isnt "off topic", its just letting colleagues know I'm not in the habit of swearing - something that the search and replace word-bot actaully makes it look worse than it is!!)
    Many thanks - please dont delet this footnote (again)
    Dom

  • Close window without using plug exit

    Hi experts,
    How can I close a window without using a plug exit? By implementing some javascript  in the Java code, or other options?
    Thanks in advance.
    Edited by: Alaa Cherqaoui on Nov 28, 2008 5:06 PM

    Hi ,
    You can use the "destroy" method for window.
    For example:
    you need to create WindowInstance varibale of type:
    com.sap.tc.webdynpro.services.session.api.IWDWindow
    Then inside the action that suppose to open this window you write the following:
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("NameOfTheWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    window.setWindowPosition(WDWindowPos.CENTER);
    wdContext.currentContextElement().setWindowInstance(window);
    window.open();
    And inside the action that suppose to close this window write the following :
    wdContext.currentContextElement().getWindowInstance().destroy();
    Hope it's help...
    Regards,
    Shimon.

  • CREATE XML PUBLISHER REPORT WITHOUT USING RDF

    Hi Every one ,
    Can anybody share his/her expertise on following issue ?
    "How to create XML Publisher Report without using RDF?"
    Your help is appreciated.

    Hi Swapnesh
    YOu do not need to create the XDODTEXE, its seeded for you. You need to do the following:
    1. Create and test the data template
    2. Load the data template to the template manager against a data definition
    3. Create a concurrent program definition that uses the XDODTEXE as its executable
    4. Create parameters (if required) for the CP and DT that match in name
    You're done
    Regards
    Tim

  • How can i create an apple id without a payment method or a free method?

    How can i create an apple id by using a free method?

    Follow the insructions here.  It has to be a new acount, you can't update an existing account.
    Create an iTunes App Store account without a credit card

  • How to create a viewobject dynamically without using wizard

    Hi,
    I am Using jDEV 11G, i need to create a viewobject dynamically without using wizard, without binding from any entity.
    Actually my intention is to make a grid like in .Net, when a user want to create a new row in RichTable without using DB.
    just like shopping cart.
    i have done thsi code:
    ViewObjectImpl view=new ViewObjectImpl();
    view.addDynamicAttributeWithType("Att1","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    Row rw=view.createRow();
    rw.setAttribute("Att1","First1");
    rw.setAttribute("Att2","First2");
    rw.setAttribute("Att2","First3");
    view.insertRow(rw);
    I have a RichTable , i need bind this viewobject into that.
    Edited by: vipin k raghav on Mar 10, 2009 11:39 PM

    Hi Vipin,
    You can create the view object with rows populated at run time.
    [http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGCGFCA]
    For reference of how to create an empty rwo at run time on button click
    [http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html]
    ~Vikram

  • How to create inspection lot manually without using QA01 Transaction code?

    Hi,
    Please anybody give procedure for creating Inspection Lot Manually without using Transaction Code QA01

    Hello, Srinivas,
    If you want another T code only then you can try QA01A.
    or you can create a Physical Sample with QPR1 and then click on the button there to create inspection lot. To create inspection lot for that Physical sample (you will able to see that button only after releasing the sample) Or you can use QPR5.
    But let me know the reason why you want T code other than QA01.
    Regards,
    Shyamal

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY

    i try to use jfreechart to create a piechart on a aix os with jdk1.3.1 and the aix system does not have a xwindow installed
    and the found the following error
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:77)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java(Compiled Code))
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)
    at java.awt.Font.initializeFont(Font.java:285)
    at java.awt.Font.<init>(Font.java:319)
    at org.jfree.chart.plot.PiePlot.<clinit>(PiePlot.java:230)
    i got the tip of passing -Djava.awt.headless=true to vm to disable system graphic calls but after restart weblogic i still get the same error
    i am wondering if this case has something to do with jdk 1.3.1, and perhaps newer versions of jdk can take the parameter and operate correctly
    is that right?

    is headless option supported in jdk1.3.1?No,
    It was added in JDK 1.4:
    http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4281163
    Kaj

  • Can't connect to X11 window server using

    java.lang.InternalError: Can't connect to X11 window server using "Ip" as the value of the DISPLAY variable.
    I get the above error when I try to create an instance of the JProgressBar.
    I have not been able to create a workaround.
    One suggestion that I had was to use the following system command.
    System.setProperty("java.awt.headless","true");
    That gave me a null pointer exception.
    I also tried setting the compiler parameters to make this process headless, but it did not make any difference.
    I am running this code in a Unix environment.
    Any ideas?

    Hi
    Generally in Unix environment the server should accept the connections from clients. Run the xhost + command on the server to which you are trying to connect and then try your application.
    Thanks
    Srinivas

  • My macbook froze up. Finger gestures work, but I cant close out of any windows. How do I close out the windows without using the track pad?

    My macbook froze up. Finger gestures work, but I can't close out of any windows by clicking on the red "X". How do I close out the windows without using the track pad?

    Command + W will close a window. Command + Q will quit a program.

Maybe you are looking for