• 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: argument checks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: argument checks


  • Subject: Re: argument checks
  • From: Jason Coco <email@hidden>
  • Date: Fri, 13 Jun 2008 05:52:44 -0400

You can use either... I tend to use #include when I'm calling C libraries and #import when I'm including things that are Objective-C. It's just my habit but it's really just
a style issue.


On Jun 12, 2008, at 21:37 , William Squires wrote:

I thought ObjC used "#import", not "#include", so that multiple copies of a header wouldn't appear, but maybe that's just for Cocoa stuff, and not for "ordinary" C?

On Jun 12, 2008, at 1:05 AM, Jason Coco wrote:

#include <assert.h>

/* ... */
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >argument checks (From: Ashley Perrien <email@hidden>)
 >Re: argument checks (From: Jason Coco <email@hidden>)
 >Re: argument checks (From: William Squires <email@hidden>)

  • Prev by Date: Re: Table View/Array Troubles
  • Next by Date: Re: Mail Rule Actions Control
  • Previous by thread: Re: argument checks
  • Next by thread: Re: argument checks
  • Index(es):
    • Date
    • Thread