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

Re: isa


  • Subject: Re: isa
  • From: Nat! <email@hidden>
  • Date: Sat, 1 Jun 2002 23:35:57 +0200

Am Samstag den, 1. Juni 2002, um 22:53, schrieb Aram Greenman:


I also suggested changing the object's isa temporarily, with the disclaimer that it might be a bad idea.

It is a very bad idea, especially the temporary swizzling.

Exactly how? That is my suspicion, but I would like to know specifically why it is a bad idea.


Some interesting technical problems are

o another thread accesses unexpectedly your object at the same time you access it

o your called method bails (throws an exception) and you forget to catch it

o your called method calls self again and you lose polymorphism unexpectedly, copy: for example.


Ciao
Nat!

.... Jedenfalls sind zehn Fehlstarts hintereinander ...[E. Fuchs]
.......... ein sehr interessanter Beweis ........................
.............. f|r unsere Theorie ...............................
. von der nat|rlichen \berlegenheit des Dezimalsystems ..........
_______________________________________________
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.

References: 
 >Re: isa (From: Aram Greenman <email@hidden>)

  • Prev by Date: Re: NSMutableAttributedString Formating Problems...
  • Next by Date: Cocoa programming book question
  • Previous by thread: Re: isa
  • Next by thread: Re: isa
  • Index(es):
    • Date
    • Thread