Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of all available classes ?



Does anyone know whether there's a cross-reference list of Cocoa methods
mapped to Java methods?

I'm trying to launch a commercial version of a financial services regulation
app, but my business partners insist that it's got to be executable on
something other than a Mac (the UK financial services industry is, I'm
afraid, still anti-Mac).  So a mapping table would help me translate my ObjC
code to Java.

Thanks, all,

Marionne Kern


On 28/2/06 15:28, "Guy English" <email@hidden> wrote:

> if ( [myObject isKindOfClass: [NSObject class]] ) { /* blah */ };
> 
> 
> 
> 
> On Tuesday, February 28, 2006, at 10:25AM, Martin Wilz <email@hidden>
> wrote:
> 
>> Hi Martin,
>> 
>> thank you for pointing to this post. I'll have to overthink my search
>> techniques...
>> 
>> So with the information linked to, I guess I'll have to reformulate my
>> question:
>> 
>> How do I get a list of classes that are a subclasses of NSObject (e.g.
>> available for sending
>> messages to) ?
>> 
>> My interpretation of the linked to posts is it would be o.k. to use the
>> objc_class struct and
>> evaluate the super pointer until I get to a class with name NSObject or a
>> nil super class
>> to decide, if a given class is derived from NSObject ?
>> 
>> Are there simpler methods, that work (without messing with the c structures)
>> ?
>> 
>> Thanks,
>> Martin
>> 
>> 
>> On 28/02/06, Martin Wierschin <email@hidden> wrote:
>>> 
>>>> Does anyone know a way to get an Array of all currently available
>>>> classes
>>>> linked into the application space at runtime ?
>>> 
>>> You'll want to use the function "objc_getClassList". But just be
>>> careful:
>>> 
>>> http://www.cocoabuilder.com/archive/message/cocoa/2002/1/15/71392
>>> 
>>> ~Martin
>>> 
>>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
>> 
>> This email sent to email@hidden
>> 
>> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden>
m
> 
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: List of all available classes ? (From: Guy English <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.