• 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: Refactoring tools available for Cocoa / ObjC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refactoring tools available for Cocoa / ObjC?


  • Subject: Re: Refactoring tools available for Cocoa / ObjC?
  • From: Greg Titus <email@hidden>
  • Date: Wed, 3 May 2006 08:22:12 -0700


On May 3, 2006, at 7:45 AM, Ondra Cada wrote:

Horst,

On 3.5.2006, at 15:44, Horst Hoesel wrote:

I am afraid not for ObjC though, for there are no abstract classes there

I didn't quite follow this thread, but I'm pretty sure that ObjC has a concept of abstract classes the most prominent being NSObject :)

Nope, you can freely instantiate and use NSObject (just like *any* other class) in Objective C. There is absolutely no concept of an abstract class in the language.


There are in a sense "abstract" classes in the API, namely clusters (NSArray, NSString, etc.). There, though, the abstraction is ensured runtime (generally re-implementing init and alloc, other ways possible): a re-factoring tool has no way to determine whether it is so indeed or not.

Ondra,

Try actually reading about the Smalltalk refactoring browser and Smalltalk in general. There is no 'abstract' keyword or equivalent in Smalltalk either, but it still is possible to determine abstract classes. You could use exactly the same methods to determine abstract classes in Objective C.

Hope this helps,
	- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Refactoring tools available for Cocoa / ObjC?
      • From: Ondra Cada <email@hidden>
References: 
 >Refactoring tools available for Cocoa / ObjC? (From: "Eric Lin" <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Marcel Weiher <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: "Eric Lin" <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Ondra Cada <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Marcel Weiher <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Ondra Cada <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Marcel Weiher <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Ondra Cada <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Horst Hoesel <email@hidden>)
 >Re: Refactoring tools available for Cocoa / ObjC? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Refactoring tools available for Cocoa / ObjC?
  • Next by Date: Sub pixel line positioning for text drawing
  • Previous by thread: Re: Refactoring tools available for Cocoa / ObjC?
  • Next by thread: Re: Refactoring tools available for Cocoa / ObjC?
  • Index(es):
    • Date
    • Thread