25
Developing for Windows and OS X Primož Gabrijelčič

Developing for Windows and OS X Primož Gabrijelčič

Embed Size (px)

Citation preview

Page 1: Developing for Windows and OS X Primož Gabrijelčič

Developing for Windows and OS XPrimož Gabrijelčič

Page 2: Developing for Windows and OS X Primož Gabrijelčič

Primož Gabrijelčič

programmer, consultant, speaker, trainer

Delphi / Smart Mobile Studio

Email: [email protected]: @thedelphigeekSkype: gabr42

The Delphi Geek – http://www.thedelphigeek.comSmart Programmer – http://www.smartprogrammer.org

Page 3: Developing for Windows and OS X Primož Gabrijelčič
Page 4: Developing for Windows and OS X Primož Gabrijelčič

How do I set up environment for developing OS X

applications?

Page 5: Developing for Windows and OS X Primož Gabrijelčič

Computer(s)

• Mac with Parallels• PC + Mac + gigabit Ethernet

• Multiple monitors are helpful– Windows + Delphi on one monitor– OS X + application on another

Page 6: Developing for Windows and OS X Primož Gabrijelčič

Toolchain

• Delphi on Windows• Platform Assistant on OS X

• Remote Debugger

• docwiki.embarcadero.com/RADStudio/XE3/en/Mac_OS_X_Application_Development

Page 7: Developing for Windows and OS X Primož Gabrijelčič

How do I create installation package for my

program?

Page 8: Developing for Windows and OS X Primož Gabrijelčič

Installation

• No good cross-platform solution• docwiki.embarcadero.com/RADStudio/XE3/en/Mac_

OS_X_Application_Development describes how to create signed ‘bundle’ for Mac App Store– App Store is not a required step

• XE2: Delphi OS X Bundlerblogs.embarcadero.com/davidi/2012/06/20/41591

Page 9: Developing for Windows and OS X Primož Gabrijelčič

What third party components can I use to

enhance my application?

Page 10: Developing for Windows and OS X Primož Gabrijelčič

Components

• Arcana Apesuite– arcana.sivv.com/apesuite/– SVG, grid, clipboard, ribbon-like paged toolbar,

tray icon …

• TMS– www.tmssoftware.com/site/tmsfmxpack.asp– Grid, calendar, navigation bar, tile list, clock,

compass, badge …

Page 11: Developing for Windows and OS X Primož Gabrijelčič

How do I work with files and folders?

Page 12: Developing for Windows and OS X Primož Gabrijelčič

File System

Page 13: Developing for Windows and OS X Primož Gabrijelčič

How do I handle Audio and Video playout and

recording?

Page 14: Developing for Windows and OS X Primož Gabrijelčič

Media Support

• Fmx.Media– Fmx.Media.Mac– Fmx.Media.Win

• TMediaPlayer• TAudioCaptureDevice• TVideoCaptureDevice

Page 15: Developing for Windows and OS X Primož Gabrijelčič

How do I create and print reports?

Page 16: Developing for Windows and OS X Primož Gabrijelčič

Reporting

• FastReport• www.fast-report.com/en/products/fast-report-

firemonkey.html

• XE2/XE3

Page 17: Developing for Windows and OS X Primož Gabrijelčič

How do I print from a FireMonkey application?

Page 18: Developing for Windows and OS X Primož Gabrijelčič

Printing

• docwiki.embarcadero.com/RADStudio/en/Printing_from_a_FireMonkey_Application

• Fmx.Printer (.Win, .Mac)• Fmx.Dialogs– TPrintDialog– TPrinterSetupDialog– TPageSetupDialog

Page 19: Developing for Windows and OS X Primož Gabrijelčič

How do I work with XML documents on OS X?

Page 20: Developing for Windows and OS X Primož Gabrijelčič

XML

Page 21: Developing for Windows and OS X Primož Gabrijelčič

How do I work with databases on OS X?

Page 22: Developing for Windows and OS X Primož Gabrijelčič

Databases

• dbExpress– [P] InterBase, MySQL, SQLite (local)– [E, U, A] InterBase, Firebird, Oracle, MySQL, SQL

Anywhere, Informix, SQLite– DataSnap– ClientDataSet

• Visual LiveBindings

Page 23: Developing for Windows and OS X Primož Gabrijelčič

Where can I learn more?

Page 24: Developing for Windows and OS X Primož Gabrijelčič

Literature

• TIndex [www.tindex.net]• 31 XE3 quick videos in 31 days– blogs.embarcadero.com/davidi/2012/10/01/41686

• DelphiFeeds• StackOverflow– [delphi] [firemonkey]

Page 25: Developing for Windows and OS X Primož Gabrijelčič

Questions?