• 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 question: Can't get Xcode "Build & Run" to run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: Can't get Xcode "Build & Run" to run


  • Subject: Re: Newbie question: Can't get Xcode "Build & Run" to run
  • From: email@hidden (Hado Hein)
  • Date: Sat, 23 May 2009 14:03:12 +0200
  • Organization: handmade !

Chris Hanson <email@hidden> wrote:
> On May 22, 2009, at 1:26 PM, Michael Crawford wrote:
>
> > With or without precompiled headers, I always avoid:
[ noting c layout book]

> When an umbrella framework is provided, that's all that is supported
> for importing headers from or linking against.  That's intentional:

> link to them.  (Though generally apps should just import and link
> against the Cocoa umbrella.)


All the stuff Chris pointed out can be read in the appropiate
documentation.

It might be fine to use carbon/carbon.h unrequested at the beginning of
an sourcefile. (or as pch)

If you intend to write /more/ portable code just by design it is worth
thinking about what to include where and when.

Putting your own declarations first detects automagically propieterian
data types of the target os. Since these are unknown at that point. Of
course you'll have c headers included.
But these tend to be the same on Mac, Linux and Unix. Fine.

Having the model on that level is quite hard since you miss convinience
funcs from CoreFoundation (Arrays et al.). Include it anyway, it doesn't
matter since CFLite exists.
Doing View and Controller you'll have to go to CF, Carbon or CS, AppKit,
Cocoa of course.

ymmv, it's about using the right starting point for what you're going to
do.
With little effort your modules get more cross compatible than ones
which generally include the top level framework header. That's worth
some thoughts.

rgds, Hado.
--
Hado Hein (KSK, DTHG), Berlin
www.beleuchtungsbildner.de - Stage Lighting Directing
www.batchmaker.de - Stage Lighting Design, Control and Routing
 _______________________________________________
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

References: 
 >Re: Newbie question: Can't get Xcode "Build & Run" to run (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Newbie question: Can't get Xcode "Build & Run" to run
  • Next by Date: problem with LEAKS and the stack trace
  • Previous by thread: Re: Newbie question: Can't get Xcode "Build & Run" to run
  • Next by thread: SOLVED: Copy Headers build phase broken in 3.1.2?
  • Index(es):
    • Date
    • Thread