2
votes
Vote UpVote

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 ...
Favorite? Off-Topic? Chris Rolliston @ 2012-08-14 09:15

Statistics

Visits: 384
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

paulwh
Peace
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)