[Lazarus] LCL Cocoa: Overriding delegate protocols

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Oct 21 09:59:54 CEST 2016


On 2016-10-13 17:13, Zoƫ Peterson via Lazarus wrote:
> It seems like the fix 
> would be to move all of the CreateHandle code into a method in 
> TCocoaWindow (possibly init)

I'm not a core Lazarus developer, but your suggestion does sound like a
good solution without down sides. One method doing multiple things is
never a good design choice, so splitting it up definitely seems the
right way to go.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list