• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie questions regarding interface builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie questions regarding interface builder


  • Subject: Re: newbie questions regarding interface builder
  • From: Cliff Pruitt <email@hidden>
  • Date: Mon, 5 Sep 2005 14:55:01 -0400

Yeah, if you're just starting out I think that tutorial will be a little rough on you. The tutorial really states that its on 'Objective-C++' not Objective-C. Thats sort of a different animal & I'd personally consider it more confusing than learning Cocoa / Obj- C. You'll want to make the distinction when you go about choosing tutorials to learn from.

If, on the other hand, you have C++ experience... knock yourself out. :-)

- Cliff


Am 04.09.2005 um 23:14 schrieb Marc Manthey:


I would like to start a bit getting  into building some simple
interfaces  with interface builder / xcode for a old video tool or
a java based reflector.


Fire up Xcode's documentation (Help menu). Click on "Carbon" and "Cocoa" on the left pane, each of these pages has a "Getting Started" section right on the top. Doing the tutorials should give you a good impression on how these technologies work: Carbon, Cocoa traditional, Cocoa-Java (deprecated?) and Cocoa with Bindings.


How can i "connect " the nib file information with the code ?


Draw a clear line between your (Cocoa) interface (NIB's, some code) and your (Java, C++, C) model. Create a Obj-C class for accessing the model.


i just started  rading this fantastic manual

http://cs.northwestern.edu/~josha/objcpp.htm


A nice description, but this guy mixes Obj-C and C++ too much, IMHO. Take the line

     NSString* Magic::ask(const char *question, int length)

as a not-so-good example.

I'd avoid using Obj-C and C++ at the same level. Obj-C is a superset
of the C language (almost what he describes as "non-class based C+
+"). Mixing Obj-C classes and C++ classes may be useful at times, but
should be avoided, if possible.

He also mentions the CocoaDev site as an excellent source of code
samples for common tasks. I fully agree with this.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Standard C++ lib -- which is more conforming to the standard?
  • Next by Date: Old-style resource files in mach-o project
  • Previous by thread: Re: newbie questions regarding interface builder
  • Next by thread: [ANN] Next CocoaHeads: Sep 8. New Chapter in Portland, OR (Sep 13)
  • Index(es):
    • Date
    • Thread