• 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: Instance Variable access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instance Variable access


  • Subject: Re: Instance Variable access
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 7 May 2004 16:21:36 -0700

On May 7, 2004, at 12:05 PM, Jim Witte wrote:

why are simple instance variable accesses even using objc_msgSend (dynamic or otherwise) *at all*? Is there some reason why ObjC object instance vars can't be accessed the same way they are in compiled C++ - by direct offset access inside the object struct?

Encapsulation:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ 2objc_oop/chapter_2_section_3.html>
Memory Management:
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/>
Key-value Coding:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/>

etc.

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Instance Variable access
      • From: "Tim Ramsey" <email@hidden>
References: 
 >Re: cocoa-dev digest, Vol 2 #4140 - 15 msgs (From: Glen Low <email@hidden>)
 >Re: Instance Variable access (From: Jim Witte <email@hidden>)

  • Prev by Date: Re: canceling copyTo:toPath:handler
  • Next by Date: Re: Archiving ABPerson
  • Previous by thread: Re: Instance Variable access
  • Next by thread: Re: Instance Variable access
  • Index(es):
    • Date
    • Thread