[fpc-pascal] Out of scope method?
Marcos Douglas B. Santos
md at delfire.net
Thu Apr 6 17:50:51 CEST 2017
On Thu, Apr 6, 2017 at 12:23 PM, Ryan Joseph <ryan at 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
More information about the fpc-pascal
mailing list