Re: How to copy class interface and implementation without connections to .xib file

2012-07-02 Thread Kyle Sluder
On Jul 1, 2012, at 11:01 PM, "Richard Altenburg (Brainchild)" wrote: > Op 1 jul. 2012, om 22:59 heeft Jens Alfke het volgende geschreven: > >>> It immediately showed that the outlets and actions were connected, and on >>> inspection they were connected to the .xib in the old project. >> >> Um

Re: How to copy class interface and implementation without connections to .xib file

2012-07-02 Thread Richard Altenburg (Brainchild)
Thank you for elaborating on this, Charles. I was able to remove any connections to the old project by inserting new IBOutlets and IBActions with new names and pasting the code from the old project into the definition of the new methods. Copying the complete declarations copied over the connecti

Re: How to copy class interface and implementation without connections to .xib file

2012-07-02 Thread Charles Srstka
On Jul 2, 2012, at 1:01 AM, Richard Altenburg (Brainchild) wrote: > Op 1 jul. 2012, om 22:59 heeft Jens Alfke het volgende geschreven: > >>> It immediately showed that the outlets and actions were connected, and on >>> inspection they were connected to the .xib in the old project. >> >> Um, wha

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Richard Altenburg (Brainchild)
Op 2 jul. 2012, om 00:57 heeft Andy Lee het volgende geschreven: > If you Command-click the file icon in the window's title bar, you can see the > full path of the file you are looking at. If the path goes to the old > project, close it with File > Close "YourFileName.xib". The keyboard > equiv

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Richard Altenburg (Brainchild)
Op 1 jul. 2012, om 22:59 heeft Jens Alfke het volgende geschreven: >> It immediately showed that the outlets and actions were connected, and on >> inspection they were connected to the .xib in the old project. > > Um, what _exactly_ did it show? There's no way for files in different > projects

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Andy Lee
On Jul 1, 2012, at 4:54 PM, Richard Altenburg (Brainchild) wrote: > Thanks for your thoughts, Charles. > > No, I did not copy the .xib to a new project. > > I created a new project for iOS wit one view, and created a new class in it > that is to be a subclass of UIView which will contain my draw

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Jens Alfke
On Jul 1, 2012, at 1:54 PM, Richard Altenburg (Brainchild) wrote: > It immediately showed that the outlets and actions were connected, and on > inspection they were connected to the .xib in the old project. Um, what _exactly_ did it show? There's no way for files in different projects to have

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Richard Altenburg (Brainchild)
Thanks for your thoughts, Charles. No, I did not copy the .xib to a new project. I created a new project for iOS wit one view, and created a new class in it that is to be a subclass of UIView which will contain my drawing code in drawRect. I copied code from the old project over into the new pr

Re: How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Charles Srstka
On Jul 1, 2012, at 1:39 PM, Richard Altenburg (Brainchild) wrote: > Unfortunately the connections with the .xib from the other project are still > there, which is obviously not what I want. I’m not sure I understand what you mean by this. Did you copy over the .xib from the other project? If s

How to copy class interface and implementation without connections to .xib file

2012-07-01 Thread Richard Altenburg (Brainchild)
(You may reply in Caps Lock if this question is too noobish for this list) I wrote an experimental project for Mac OS X. It uses a custom NSView and some user interface controls connected to the view's class in Interface Builder. I want to do about the same project for iOS, so I started a new pr