f



How to find in Xcode 4 the equivalent of "Classes Library" of Xcode 3 Interface Builder ?

I'm stopped in my ( moderate) efforts to master XCode 4.3.2 by a trivial 
problem.
With anterior versions of Xcode + Interface Builder the creation of a 
class involved :
1) The creation of the *.h and *.m files
2) Instantiation in IB window of the new class Object by dragging it 
from the "Classes Library" of IB
Now, I'm certainly very dumb (or blind) because I'm unable to find this 
"Classes library" in XCode 4. Maybe the new class object is hiding 
somewhere ? At least  after creation of the class files it doesn't 
appear by itself in the <Objects> list of the project.
Thanks in advance for your help.
0
Francois
5/14/2012 12:51:58 PM
comp.sys.mac.programmer.help 4653 articles. 2 followers. Post Follow

2 Replies
470 Views

Similar Articles

[PageSpeed] 30

Xcode 4 changed things a lot with regard to Interface Builder.
Interface Builder won't create .h and .m files for you. You have to
create the class files yourself. Choose File > New > File to add a
class file to your project.

The Interface Builder Object item you use to instantiate your classes
is in Xcode 4's object library. Choose View > Utilities > Show Object
Library to show the object library, which appears in the lower right
corner of the project window. Type Object in the search field at the
bottom of the object library to find the Object item in the object
library.

Mark Szymczyk
Author, Xcode Tools Sensei
http://www.meandmark.com
0
Mark
5/16/2012 3:39:23 AM
On 16/05/12 05:39, Mark wrote:
> Xcode 4 changed things a lot with regard to Interface Builder.
> Interface Builder won't create .h and .m files for you. You have to
> create the class files yourself. Choose File>  New>  File to add a
> class file to your project.
>
> The Interface Builder Object item you use to instantiate your classes
> is in Xcode 4's object library. Choose View>  Utilities>  Show Object
> Library to show the object library, which appears in the lower right
> corner of the project window. Type Object in the search field at the
> bottom of the object library to find the Object item in the object
> library.
>
> Mark Szymczyk
> Author, Xcode Tools Sensei
> http://www.meandmark.com
Thank you, Mark, for your help.
If I summarize, The way to a new class in XCode 4 is the following :
1�)Create the .h and .m files , the same way as before ( from the top 
menu :File->New->File)
2�)Fish the blue cube "Object" from the Object Library and drag it to 
the <Objects> pane of XCode4 IB window
3�)Use the identity inspector to settle the class name. Either by 
picking it's name in the drop-down list, which , BTW, is the equivalent 
of the "good old" IB <Classes Library> tab, or by beginning to type it's 
name in the <class> textField( code completion works there)
Point 3 is essential because I found to my surprise that it is possible 
to override the name of "Object", by typing "myNewClass"directly in the 
list, and then make connections to other listed class instances !
Of course these phantom connections disappear at building and the App 
won't work, but I think users should be warned against that, waiting a 
correction of the interface.
0
Francois
5/16/2012 9:11:57 AM
Reply:

Similar Artilces:

(mapcar 'quote '("1" "2" "3" "4"))
(mapcar 'quote '("1" "2" "3" "4")) returns ((quote "4") (quote "4") (quote "4") (quote "4")) Interesting and (for me) unexpected. Because (mapcar 'read '("1" "2" "3" "4")) returns (1 2 3 4) and (mapcar 'princ '("1" "2" "3" "4")) gives 1234("1" "2" "3" "4") Why isn't (mapcar 'quote '("1" "2" "3" "4&q...

In J2EE 1.4, I get "Could not find main class" ....help..
Hi, All. I download "j2eesdk-1_4-dr-windows-eval.exe" from SUN site. I installed it on my WinXP(sp1) machine. And then I clicked "Start->Sun Microsystems->J2EE 1.4 SDK->Start Default Domain". But I get the following error message after about 3 seconds. --------------------------------------------------- Java Virtual Machine Launcher X Could not find main class. Program will exit --------------------------------------------------- What should I do? Thank you in advanced. -Jeff Same problem for me. Except on Win2k. Anyone out there with any ...

increase "class 2" and "class 3" operator spacing?
is it possible to increase the class 2 and class 3 operator spacing? I think I would like to see how my equations look like with a little more space around the "=" and "+"/"-" terms. help, as always, appreciated. /iaw iaw4 <ivowel@gmail.com> wrote: > is it possible to increase the class 2 and class 3 operator spacing? > I think I would like to see how my equations look like with a little > more space around the "=" and "+"/"-" terms. > > help, as always, appreciated. They are governed by three parameters, s...

""""""""""""""""""""""ADD ME""""""""""""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfo Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... We look forward to build a ve...

"""""""""ADD ME""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfoi Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... ...

Does "AIX 4.2 and AIX 4.3.3" include 4.3.2?
Okay, I have HBA driver docs and their supported environment section states: "The supported operating systems are AIX 4.2 and AIX 4.3.3" Does this include my S7A running: # oslevel 4.3.2.0 Why 4.2 and 4.3.3 and not 4.3.2? Daryl gprimerib wrote: > Okay, I have HBA driver docs and their supported environment section > states: > > "The supported operating systems are AIX 4.2 and AIX 4.3.3" > > Does this include my S7A running: > > # oslevel > 4.3.2.0 > > Why 4.2 and 4.3.3 and not 4.3.2? Because 4.3.3 contains updates/features/fixes...

MAC SE: "Bomb" crash "System Error"
Stephen Buggie (505) 863-2390 Psychology Department Univ. of New Mexico, Gallup February 15, 2006 200 College Road Gallup NM 87301 buggie@unm.edu NEED RESCUE DISK! MAC SE -- BOMB System Error / Address Error ------------------------------------------------------------------------------------------------ Dear Macintosh experts, My Mac SE crashes at power-up. I gives the bell-chime, then it proceeds though the launch sequence. After showing two extension-icons, it crashes. Then a dialogue...

a = [ "1", "2", "3" ] v/s a = new Array ( "1", "2", "3" ) identical in all ways?
Do these result in identical objects? a = [ "1", "2", "3" ] a = new Array ( "1", "2", "3" ) On Aug 25, 1:30=A0pm, okey wrote: > Do these result in identical objects? > > a =3D [ "1", "2", "3" ] > a =3D new Array ( "1", "2", "3" ) Yes, but:- a =3D [ 2 ]; a =3D new Array( 2 ); - do not. Richard. okey wrote: > Do these result in identical objects? > > a = [ "1", "2", "3" ] > a = new Array ( "1", "2"...

Help with "libtool: link: cannot find the library `/pdev/httpd-2.2.3/srclib/apr-util/xml/ex "
I am using Apache 2.2.3. I am getting the following error when I do a make libtool: link: cannot find the library `/pdev/httpd-2.2.3/srclib/apr-util/xml/ex pat/lib/libexpat.la' make[3]: *** [libaprutil-1.la] Error 1 make[3]: Leaving directory `/pdev/httpd-2.2.3/srclib/apr-util' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/pdev/httpd-2.2.3/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/pdev/httpd-2.2.3/srclib' make: *** [all-recursive] Error 1 I am not sure ab...

AT command, "+CMER", I get "+CIEV: 2,3" "+CIEV:2,4" repeat.
Dear All, For AT command, I input +CMER ( set response keypress) to my device, it response +CIEV: 2,5 +CIEV: 2,4 +CIEV: 2,5 +CIEV: 2,4 ..... .... repeat Why? what's the relation? Thank you very much. Boki. ...

AT command, "+CMER", I get "+CIEV: 2,3" "+CIEV:2,4" repeat.
Dear All, For AT command, I input +CMER ( set response keypress) to my device, it response +CIEV: 2,5 +CIEV: 2,4 +CIEV: 2,5 +CIEV: 2,4 ..... .... repeat Why? what's the relation? Thank you very much. Boki. On 18 Jan 2005 00:56:40 -0800, boki <bokiteam@ms21.hinet.net> wrote: > Dear All, > For AT command, > > I input +CMER ( set response keypress) to my device, it response > What kind of device is it? -- BOFH excuse #270: Someone has messed up the kernel pointers ...

MAC SE: "Bomb" "Sys Error" / Address error" at start
Stephen Buggie (505) 863-2390 Psychology Department Univ. of New Mexico, Gallup February 15, 2006 200 College Road Gallup NM 87301 buggie@unm.edu NEED RESCUE DISK! MAC SE -- BOMB System Error / Address Error ------------------------------------------------------------------------------------------------ Dear Macintosh experts, My Mac SE crashes at power-up. I gives the bell-chime, then it proceeds though the launch sequence. After showing two extension-icons, it crashes. Then a dialogue...

Urgent Requirement in """""""""""""NEW YORK""""""""""""""""
Hello Partners, Please find the requirement below. Please send the updated resume along with rate and contact no. REQ#1: Title : Java Developer ( Rating Project) Duration : 6 months Rate : open Location : NY strong java, WebLogic 9.2, Web Services, Oracle REQ#2: Title : Java Developer Duration : 4 months Rate : open Location : NY Strong java, SQL REQ#3: Title : VB.Net Consultant Location : NY Duration : 4 months Rate : open Primarily looking at someone who has Excel, VB.net a...

Is there a "break" "continue" equivalent in the "for" or "while" statement in SKILL?
Thank you! madhero wrote, on 07/03/08 09:42: > Thank you! Not directly, but see: http://tinyurl.com/69wte8 http://tinyurl.com/6ycdbn for two related threads in this group. Regards, Andrew. ...

What is the difference between "new Class()" and "Class()"?
What is so special about the "new" operator? Herman <sorsorday@gmail.com> writes: > What is so special about the "new" operator? It's special because Python doesn't have it. Can you refer us with a URL to the place where you've seen Python code containing a ‘new’ operator? -- \ “Fear him, which after he hath killed hath power to cast into | `\ hell; yea, I say unto you, Fear him.” –Jesus, as quoted in Luke | _o__) 12:5 | Ben Finney ...

"my" and "our"
Hi, while testing a program, I erroneously declared the same variable twice within a block, the first time with "my", the second time with "our": { my $fz = 'VTX_Link'; .... ( around 200 lines of code, all in the same block) our $fz = 'VTX_Linkset'; ... } So the initial contents of the $fz declared with "my" is lost, because "our" creates a lexical alias for the global $fz, thus overwriting the previous "my" declaration. It was my error, no question. But I wonder why Perl doesn't mention this - even with "use s...

how inject "own help" in "Matlab help"
i have done create a many program and want this m file add in 1 packet to inject in Matlab "Help". thanks .... please help me regards ...

"out" and "in out"
Hi i found the following explaination: In Ada, "in" parameters are similar to C++ const parameters. They are effectively read-only within the scope of the called subprogram. Ada "in out" parameters have a reliable initial value (that passed in from the calling subprogram) and may be modified within the scope of the called procedure. Ada "out" parameters have no reliable initial value, but are expected to be assigned a value within the called procedure. What does "have no reliable initial value" mean when considering the "out" parameter? By c...

"/a" is not "/a" ?
Hi everybody, while testing a module today I stumbled on something that I can work around but I don't quite understand. >>> a = "a" >>> b = "a" >>> a == b True >>> a is b True >>> c = "/a" >>> d = "/a" >>> c == d True # all good so far >>> c is d False # eeeeek! Why c and d point to two different objects with an identical string content rather than the same object? Manu Emanuele D'Arrigo wrote: >>>> c = "/a" >>>&...

about "++" and "--"
why this program snippet display "8,7,7,8,-7,-8" the program is: main() { int i=8; printf("%d\n%d\n%d\n%d\n%d\n%d\n",++i,--i,i++,i--,-i++,-i--); } > why this program snippet display "8,7,7,8,-7,-8" Ask your compiler-vendor because this result is IMHO implementation-defined. Check this out: http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.15 http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.16 Regards, Irina Marudina fxc123@gmail.com wrote: > why this program snippet display "8,7,7,8,-7,-8&q...

"C" programm in "Matlab" Programm
Hi, i habe a matlab code which is looking like that " in C: unsigned char i, Checksum; unsigned char Command[9]; //Set the “Command” array to the desired command Checksum = Command[0]; for(i=1; i<8; i++) Checksum+=Command[i]; Command[8]=Checksum; //insert checksum as last byte of the command //Now, send it to the module how can i convert it to matlab? thanks for you answer melano "Miland " <miland17@yahoo.de> wrote in message <j0mb4f$48u$1@newscl01ah.mathworks.com>... > Hi, > i habe a matlab code which is looking like that "...

"or" and "and"
Hi, I'm just getting to discover ruby, but I find it very nice programming language. I just still don't understand how the "or" and "and" in ruby... I was playing with ruby and for example made a def to print Stem and Leaf plot (for those who didn't have a statistics course or slept on it, e.g. http://cnx.org/content/m10157/latest/) Here is the Beta version of it: class Array def n ; self.size ; end def stem_and_leaf(st = 1) # if st != (2 or 5 or 10) then ; st = 1 ; end k = Hash.new(0) self.each {|x| k[x.to_f] += 1 } k = k.sort{|a, b| a[0].to_f <=&g...

why "::", not "."
Why does the method of modules use a dot, and the constants a double colon? e.g. Math::PI and Math.cos -- Posted via http://www.ruby-forum.com/. On Oct 26, 2010, at 01:48 , Oleg Igor wrote: > Why does the method of modules use a dot, and the constants a double > colon? > e.g. > Math::PI and Math.cos For the same reason why inner-classes/modules use double colon, because = they're constants and that's how you look up via constant namespace. Math::PI and ActiveRecord::Base are the same type of lookup... it is = just that Base is a module and PI is a float....

"If then; if then;" and "If then; if;"
I have a raw data set which is a hierarchical file: H 321 s. main st P Mary E 21 F P william m 23 M P Susan K 3 F H 324 S. Main St I use the folowing code to read the data to creat one observation per detail(P) record including hearder record(H): data test; infile 'C:\Documents and Settings\retain.txt'; retain Address; input type $1. @; if type='H' then input @3 Address $12.; if type='P' then input @3 Name $10. @13 Age 3. @16 Gender $1.; run; but the output is not what I want: 1 321 s. main H 2 321 s. main P Mary E 21 F 3 321 s...

Web resources about - How to find in Xcode 4 the equivalent of "Classes Library" of Xcode 3 Interface Builder ? - comp.sys.mac.programmer.help

Resources last updated: 2/15/2016 10:40:00 AM