2
votes

Associating a file type with a FMX/OS X application (3) – implementing the delegate
Delphi Haven
– [NB: this is the third and final post of a short series - see here for part 1 and here for part 2.] Having made the required file type associations in the Info.plist file, the final thing to do is implement a custom delegate for NSApplication. Since NSApplication is an Objective-C class, a delegate for it needs to be an Objective-C object, and as such, we need to use XE2′s Delphi to Objective-C bridge, and more specifically, derive a class from TOCLocal. If you have been following this blog, you will know I’ve covered the latter before (it is also covered in my book). So, starting ...
Statistics
|
Visits by Source |
User Actions |