Login  Register

Re: [COTDC] 4 - RecategorizedEvent

Posted by Stéphane Ducasse on Feb 07, 2011; 6:25pm
URL: https://forum.world.st/COTDC-4-RecategorizedEvent-tp3264532p3264744.html

I'm an event raised by the system (SystemChangeNotifier) when a class or a method changed its category. The way to create my instances is the following:


(RecategorizedEvent
        method: (aClass compiledMethodAt: selector ifAbsent: [nil])
        selector: selector
        protocol: newCategory
        class: aClass
        oldProtocol: oldCategory)


(RecategorizedEvent
        class: aClass
        category: newCategory
        oldCategory: oldCategory)

Now I will soon fade away and be replaced by announcements.





On Feb 7, 2011, at 6:25 PM, laurent laffont wrote:

> Comment Of The Day Contest - One Day One Comment
> Rules: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
>
>
> Today: RecategorizedEvent
>
>
> Laurent