FROM : Christiaan Hofman
DATE : Fri Nov 02 18:02:49 2007
On 2 Nov 2007, at 4:51 PM, Adam R. Maxwell wrote:
> On Nov 2, 2007, at 2:59 AM, Christiaan Hofman wrote:
>
>> On 2 Nov 2007, at 2:28 AM, Scott Stevenson wrote:
>>
>>> On Nov 1, 2007, at 3:44 AM, Christiaan Hofman wrote:
>>>
>>>> You can always use a subclass and poseAsClass: for debugging.
>>>> make sure you do it early enough (e.g. at the start of main()).
>>>
>>> FWIW, this is deprecated in Leopard.
>>>
>>> - Scott
>>>
>>
>> So what's the alternative in Leopard? There are situations where
>> you don't have control over inserting subclasses, like this one.
>
> It looks like you can replace specific methods, like OBUtilities.
> http://developer.apple.com/documentation/Cocoa/Reference/
> ObjCRuntimeRef/index.html
>
> --
> adam
I know. But it seems to me that if class posing is deprecated than
method swizzling might also be "deprecated", perhaps even more so?
Christiaan
DATE : Fri Nov 02 18:02:49 2007
On 2 Nov 2007, at 4:51 PM, Adam R. Maxwell wrote:
> On Nov 2, 2007, at 2:59 AM, Christiaan Hofman wrote:
>
>> On 2 Nov 2007, at 2:28 AM, Scott Stevenson wrote:
>>
>>> On Nov 1, 2007, at 3:44 AM, Christiaan Hofman wrote:
>>>
>>>> You can always use a subclass and poseAsClass: for debugging.
>>>> make sure you do it early enough (e.g. at the start of main()).
>>>
>>> FWIW, this is deprecated in Leopard.
>>>
>>> - Scott
>>>
>>
>> So what's the alternative in Leopard? There are situations where
>> you don't have control over inserting subclasses, like this one.
>
> It looks like you can replace specific methods, like OBUtilities.
> http://developer.apple.com/documentation/Cocoa/Reference/
> ObjCRuntimeRef/index.html
>
> --
> adam
I know. But it seems to me that if class posing is deprecated than
method swizzling might also be "deprecated", perhaps even more so?
Christiaan
| Related mails | Author | Date |
|---|---|---|
| Andreas Höschler | Nov 1, 11:15 | |
| Christiaan Hofman | Nov 1, 11:44 | |
| Scott Stevenson | Nov 2, 02:28 | |
| Christiaan Hofman | Nov 2, 10:59 | |
| Adam R. Maxwell | Nov 2, 16:51 | |
| Christiaan Hofman | Nov 2, 18:02 | |
| Adam R. Maxwell | Nov 2, 18:28 | |
| Scott Stevenson | Nov 6, 07:55 | |
| Bill Bumgarner | Nov 6, 08:42 | |
| Bill Bumgarner | Nov 6, 08:45 | |
| Scott Stevenson | Nov 6, 10:58 |






Cocoa mail archive

