• 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: pointers in objective-c?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pointers in objective-c?


  • Subject: Re: pointers in objective-c?
  • From: Negm-Awad Amin <email@hidden>
  • Date: Sat, 2 Aug 2008 09:05:18 +0200

Hi,

Am Fr,01.08.2008 um 22:07 schrieb Giulio Cesare Solaroli:

On Fri, Aug 1, 2008 at 10:01 PM, Clark Cox <email@hidden> wrote:
On Fri, Aug 1, 2008 at 12:38 PM, Arthur Coleman <email@hidden> wrote:
I hate to be dense, but what about C structs like NSRect?  There are
initialized on the stack aren't they?

They're C structs, they aren't Objective-C objects.

That's very true, but the common NS prefix used by both full obj-c classes and simple C structures may lead to some confusion, mainly for someone learning obj-c and Cocoa.
yup, sometimes people are confused about the NS-prefix. But NS means NextStep, so refers to the framework *not* to the type. It is no good idea to use hungarian notation in objective-c.

Amin



Giulio Cesare
_______________________________________________

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

Amin Negm-Awad email@hidden




_______________________________________________

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


  • Follow-Ups:
    • Re: pointers in objective-c?
      • From: "mm w" <email@hidden>
References: 
 >pointers in objective-c? (From: "Wayne Shao" <email@hidden>)
 >Re: pointers in objective-c? (From: Glenn English <email@hidden>)
 >Re: pointers in objective-c? (From: "Clark S. Cox III" <email@hidden>)
 >Re: pointers in objective-c? (From: Arthur Coleman <email@hidden>)
 >Re: pointers in objective-c? (From: "Clark Cox" <email@hidden>)
 >Re: pointers in objective-c? (From: "Giulio Cesare Solaroli" <email@hidden>)

  • Prev by Date: Re: Cocoa daemon
  • Next by Date: Re: pointers in objective-c?
  • Previous by thread: Re: pointers in objective-c?
  • Next by thread: Re: pointers in objective-c?
  • Index(es):
    • Date
    • Thread