• 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: Q's about Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q's about Obj-C


  • Subject: Re: Q's about Obj-C
  • From: email@hidden
  • Date: Mon, 15 Oct 2001 19:12:23 +0200

On Monday, October 15, 2001, at 06:52 PM, Joe Chan wrote:


id o;
[o foo:1]; // issues a warning, and compiles randomly (A) or (B)

I thought that because the runtime selects the method, it won't really be randam, will it? It will either be calling A's or B's or forwarded (if it's setup to do so), right?

Yes, but the compiler may have put your argument in the wrong register, in the wrong place on the stack, or put it in the right place but in the wrong format, etc.

Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com


References: 
 >Re: Q's about Obj-C (From: Joe Chan <email@hidden>)

  • Prev by Date: Re: Displaying an alert box
  • Next by Date: Re: Displaying an alert box
  • Previous by thread: Re: Q's about Obj-C
  • Next by thread: Re: Q's about Obj-C
  • Index(es):
    • Date
    • Thread