On Thu, Apr 6, 2017 at 12:23 PM, Ryan Joseph <r...@thealchemistguild.com> wrote:
>> In fact is the opposite:
>> TAction needs to have all methods that IAction have.
>> This TAction class in the example is not the same class in RTL.
>>
>> You shouldn't have so many methods in just one class.
>> So, it is simple implement all methods of an interface.
>
> Ouch, that’s far from a good solution then imo and the auto release pool 
> concept from Cocoa is less work to implement and safer even. A direct 
> compiler notification would be best though.

Well, it's depends the point of view. :)
But if you've already got your answer, follow it: use the auto release
pool concept.

Best regads,
Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to