Stupid question: can't add classes to .nib in IB

I only looked at XCode many years ago, and then only briefly, so I'm probably missing something really obvious :}
When I've created a new class in XCode, and drag the .h file to the .nib window in IB, it refuses to add it. It does show the little green + showing that it's intending to do it, but then it doesn't.
This has been driving me nuts for the past hours, so any pointers will be appreciated very much!
Alex

If you are using Interface Builder 3.0, after you drag a header file into a .nib, there won't be feedback.
But if you open the sixth tab of the inspector, the one with an info icon, under Class Identity is a drop-down list of available classes, you will find the custom class corresponding to the aforementioned header file in the list.
-- Sherlock Asimov

Similar Messages

  • Quick Question - Can I add this AMD Phenom X4 9950 to my motherboard

    Hi
    Can I add this processor ( http://www.ebuyer.com/product/150466 ) to my new rig below ?
    Oh and what cooling fan should I get ( http://www.ebuyer.com/store/Components/cat/Cooling-Fans ) incase I want to overclock ?
    Thanks

    Quote from: Henry on 14-December-08, 10:32:29
    Have a look for yourself, no Phenom/quads listed >> K9N Neo V3 CPUs <<
     Edit: Best you can do is 89W X2 6000+
    Ok cool - I take it this is ok then: http://www.ebuyer.com/product/149211  ??
    Still stuck on what cooler to get for it ( http://www.ebuyer.com/store/Components/cat/Cooling-Fans ) for overclocking ?
    [I'm saving up for i7 but needed a wee boost in the mean time]

  • JS -- XML Question - Can I add attributes using Javascript?

    I want to add an attribute to an element tag, but I don't see how to do it programmatically. Is it possible? Also, is there a way to name an element tag dynamically? For example:
    The way to add a child element is to either use the appendChild method like this:
    XMLObject.appendChild(<childElement/>);
    XMLObject.childElement= "something";
    or just add it like this:
    XMLObject.childElement = "something";
    Right? (Side Question: Is there a difference between these two methods?).
    What I want to do is to either add a dynamic attribute to a statically named child, or to create a dynamically named child.
    I haven't been able to figure this out myself. Any ideas?

    Maybe have a look at Mozilla's E4X tutorial: https://developer.mozilla.org/en/E4X_Tutorial/
    There's no need for eval() here. (There usually isn't.) Use:
    XMLObject.appendChild(<{nameReference}/>);
    To add an attribute, you can just use:
    XMLObject.@new_att = "the value";
    Jeff

  • Stupid question: Can I stan TC on its side?

    I have a TC 500Gb. Can I stand it on its side without damaging the router or HD or does it need to stand on its 'feet' (ie flat)?

    Basically all iMac owners have their internal HDDs on its side. Just don't try to hide it in between some books or something as TC NEEDS room to cool as it can get quite warm.
    Check out the link below to see how orienting TC would affect the interior. The antennae appear to be on 3 sides.
    http://www.appleinsider.com/articles/08/03/06/teardowna_look_inside_apples_time_capsule_backupappliance.html

  • How can I add a new user to my managed account?

    *There is an existing skype user.  i.e She already has a skype account
    *I have a Skype Manager account and want to provide her with SkypeCredit
    *I am having trouble doing that.  It seems that I can add a new member to my group only if they are a new user (i.e. they get a new skype address). Then I seem to have learned that this might not be possible if I or they (?) are in the US.
    Will someone clarify this?
    Skype support tells me that: 
    "Reymark C: I am afraid adding members in somewhere in US is no longer available."
    Is this somewhere on the help pages that I missed.  Being logged-in, skype knows where I am (or where I list my home as).  Why did it let me waste so much time struggling with this?
    Also, why is there this restriction?
    ...after much other talk.....
    L JEPSON: Question: Can I add skype credit to another person's account?
    Reymark C: That;s only possible once he is already added to your manage account.
    L JEPSON: You said I cannot add members in the US.
    Reymark C: Those are only possible outside US.
    L JEPSON: So I can not add anyone to my manager account, b/c I am in the US, correct?
    Aside, why can't the skype support use skype-screenshare?  I wanted to show what I saw.  Instead, we had me sign some online contract, gave control of my computer to the support person.  Spent a fair amount of time doing this.   Enable your users to use skype to see our screens, please, Microsoft.  You can still record the conversation and record the screenshare, can't you?

    Team license links that may help
    -manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • Can I add a text link to another place in a Pages v5 file?

    Simple question:
    Can I add a text link to another place in a Pages v5 file?
    My client would like to include a visible, inline Table of Contents in his ePub. Apple Pages v5 deletes the visible Table of Contents. Can I manually create a Table of Contents with clickable links to the appropriate chapters?

    Pages 5's greatest claim to fame is its general inability to do anything much, aka "simplification".
    So the answer is No! and because this is also Apple, You don't want to do that!
    Luckily however, should you still have Pages '09 in your Applications/iWork folder, you can use that instead.
    Peter

  • Can I add you tube content to my Iweb page

    Thanks again for all the help with my first question I know have a second question can I add a you tube video clip to my iweb, one of our team mates has posted a video clip on you tube, and I was wondering is it possible for me to add the clip to my iweb page. I know with my space you can just click on the embedded thingy but not sure if its the same with iweb 08

    iWeb 2 has a Web Widget" button that allow you to add an html "snippet".
    Copy the html code from the YouTube page and paste using the feature above.

  • Can I add my cisco UCS to my cisco prime 2.0?

    Hi All
    Question
    Can I add my Cisco UCS to my Cisco prime 2.0?

    Out of the box, PI won't do much with a UCS server other than tell you it replies to a ping.
    It's not really designed to manage UCS servers - DCNM and/or UCS Director are the tools for that.
    You could load the UCS server SNMP MIBs and setup some custom queries using that but it'd be more trouble than it's worth in my opinion.
    Here's a link to the page showing supported devices for PI.

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • HT1920 You have $25.00 of mine that I can't use it  And I am MAD,  You as    stupid questions  for ID

    You have $25.00 of mine and I can't use it.  You ask stupid questions for ID . I would like my money back since I can't use it.
    since I can't remembver the ID  Bonnie  I am MAD

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    If you can't remember your answers to your questions then if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • Can not add a picture to the JFrame from an ActionListener class

    As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class.
    I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser.
    I my window class (main class), I have following:
    class OpenImage_Listener implements ActionListener
         public void actionPerformed(ActionEvent e)
              int ans = open.showOpenDialog(MainProgram.this);     // "open" is the JFileChooser reference
              if(ans == open.APPROVE_OPTION)
                   File file = open.getSelectedFile();                    
                   MainProgram.this.add(new Map(file.getName()), BorderLayout.CENTER);     // this line does not work - it does not add the choosen picture on the window,
                            //but if I add the picture outside this listener class and inside the MainProgram constructor, the picture apperas, but then I cannot use the JFileChooser.
                            showMessageDialog(MainProgram.this, fil.getName() ,"It works", INFORMATION_MESSAGE);  // this popup works, and thereby the ActionListener also works.
    }So why can�t I add a picture to the window from the above listener class?

    The SSCCE:
    Ok, I think I solved it with the picture, but now I cannot add new components after adding the picture.
    Look at the comment in the actionlistener class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class Test extends JFrame{
         JButton b = new JButton("Open");
         JFileChooser jfc = new JFileChooser(System.getProperty("user.dir"));
         Picture pane;
         Test(){
              super("Main Program");
              setLayout(new BorderLayout());
              JPanel north = new JPanel();
              add(north, BorderLayout.NORTH);
              north.add(b);
              b.addActionListener(new Listener());
              setVisible(true);
              setSize(500,500);
              pane = new Picture("");
              add(pane, BorderLayout.CENTER);
         class Listener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   int ans = jfc.showOpenDialog(Test.this);
                   if(ans == jfc.APPROVE_OPTION)
                        File file = jfc.getSelectedFile();
                        Test.this.add(new Picture(file.getName()), BorderLayout.CENTER);
                        pane.add(new JButton("NEW BUTTON")); // Why does this button not appear on the window???
                        pane.repaint();
                        pane.revalidate();
         public static void main(String[] args)
              Test t = new Test();
    class Picture extends JPanel
         Image pic;
         String filename;
         Picture(String filename)
              setLayout(null);
              this.filename = filename;
              pic = Toolkit.getDefaultToolkit().getImage(filename);
            protected void paintComponent(Graphics g)
                super.paintComponent(g);
                g.drawImage(pic,0,0,getWidth(),getHeight(),this);
                revalidate();
    }

  • HT5312 How can I add a rescue email? I forget my security questions and need to add another email to reset them. I did not add a rescue email  when I originally signed up.

    I do not recall ever answering the security questions therefore I do not know them and iTunes will not let me purchase music through my iPhone. How do I reset the security questions? I do not have a rescue email set up to do so. How can I add that?

    You can't now and need to contact Apple. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    The time to create a rescue email address is when you set up the security questions, not after forgetting their answers.
    (90478)

  • HT5312 how can i add a secure email address to my account if i don't know the answers to my security questions?

    how can i add a secure email address to my account if i don't know the answers to my security questions?

    I don't know either! I NEED HELP CAUSE I PUT MONEY INTO IT and they ask for my SECURITY QUESTION ANSWERS! When I try to change my security questions, which i forgot, they askk me for the ANSWERS TO MY SECURITY QUESTIONS!!!!!!!!!! I CAN"T DO IT IF I DON"T KNOW IT!

  • How can i add a new function to the Basic IVI class vi's?

    I need to use the IVI vi's to control some instruments, let's say a DC Power Supply.
    Since there's a DC Power supplyclass, i can used those VI's but waht if one of the VI's does not contains all the functions that i need?. How can i add more functions to the IVI classes?. What do i need to do to add a new function to the iviFGen class?

    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance

  • This is a stupid question but I needed to ask because I don't want to go there and not being able to buy it, but can I get the iPhone 5 brought straight there when I go to an apple store?

    This is a stupid question but I needed to ask because I don't want to go there and not being able to buy it, but can I get the iPhone 5 brought straight there when I go to an apple store?

    And I meant go to the apple store physically without preordering it online, and I meant the Southampton one. So could I just stroll in apple store and buy a iPhone 5 in Southampton apple store and buy the iPhone 5 straight away? Because I didn't want to have to wait? I just want to go in and buy it and go out with it, if you guys get what I mean? And felipeV if it is in stock could I just buy it and leave with my iPhone 5?

Maybe you are looking for

  • How to extract register names & their addresses from .inc file of a microcontroller

    Hi, I want to extract register names to a dropdown and their corresponding addresses from .inc file in such a way that when I select a register from dropdown, it has to also show its address in a string indicator. However, only a part of .inc file co

  • Can I use IF-RIO with LabVIEW 8.20

    I am going to upgrade my LabVIEW to 8.20 but I am not sure whether the driver of IF-RIO can work with it properly. Does anybody know this?

  • Bluetooth USB dongle on Mac with built-in Bluetooth

    I appreciate that my iMac G5 already has Bluetooth built in but in order to successfully drive some good BT headphones is there a way of connecting/configuring an external USB BT dongle so that the existing BT Mouse & Keyboard connections remain and

  • Do we have to pay to use the chat support?

    I submitted a question to the Adobe Digital Edition and they replied saying to contact Adobe Live Chat.  I did so and when I typed in my question they asked if I wanted to buy the support package and because I said no I couldn't get connected to the

  • Cannot find DAQ Assistant drivers..

    I'm trying to run a program written (I believe) on 7.1 however when trying to run the program I have a series of missing VI prompts. I have been able to locate most of these on the old hard disk and have pointed to them, however I cannot find the Con