1 / 25

Developing for Windows and OS X

Developing for Windows and OS X. Primo ž Gabrijelčič. Primož Gabrije l čič programmer, consultant, speaker, trainer Delphi / Smart Mobile Studio Email: primoz @gabrijelcic.org Twitter: @thedelphigeek Skype: gabr42 The Delphi Geek – http://www.thedelphigeek.com

ova
Download Presentation

Developing for Windows and OS X

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Primož Gabrijelčič programmer, consultant, speaker, trainer Delphi / Smart Mobile Studio Email: primoz@gabrijelcic.org Twitter: @thedelphigeek Skype: gabr42 The Delphi Geek – http://www.thedelphigeek.com Smart Programmer – http://www.smartprogrammer.org

  3. How do I set up environment for developing OS X applications?

  4. Computer(s) • Mac with Parallels • PC + Mac + gigabit Ethernet • Multiple monitors are helpful • Windows + Delphi on one monitor • OS X + application on another

  5. Toolchain • Delphi on Windows • Platform Assistant on OS X • Remote Debugger • docwiki.embarcadero.com/RADStudio/XE3/en/Mac_OS_X_Application_Development

  6. How do I create installation package for my program?

  7. Installation • No good cross-platform solution • docwiki.embarcadero.com/RADStudio/XE3/en/Mac_OS_X_Application_Developmentdescribes 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

  8. What third party components can I use to enhance my application?

  9. 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 …

  10. How do I work with files and folders?

  11. File System • Differences in file system [OS X = Unix] • Directory Folder • No drive letters, everything starts at / • [Windows] c:\users\gabr\test.txt • [OS X] /home/gabr/test.txt • Possibility of file system loops • Also on Windows • No concept of “file extension” • System.IOUtils

  12. How do I handle Audio and Video playout and recording?

  13. Media Support • Fmx.Media • Fmx.Media.Mac • Fmx.Media.Win • TMediaPlayer • TAudioCaptureDevice • TVideoCaptureDevice

  14. How do I create and print reports?

  15. Reporting • FastReport • www.fast-report.com/en/products/fast-report-firemonkey.html • XE2/XE3

  16. How do I print from a FireMonkey application?

  17. Printing • docwiki.embarcadero.com/RADStudio/en/Printing_from_a_FireMonkey_Application • Fmx.Printer (.Win, .Mac) • Fmx.Dialogs • TPrintDialog • TPrinterSetupDialog • TPageSetupDialog

  18. How do I work with XML documents on OS X?

  19. XML • TXMLDocument • DOMVendor = ADOM XML v4 • Xml.Win.msxmldom • TNSXMLDocument • OS X only • 3rd party • OmniXml

  20. How do I work with databases on OS X?

  21. Databases • dbExpress • [P] InterBase, MySQL, SQLite (local) • [E, U, A] InterBase, Firebird, Oracle, MySQL, SQL Anywhere, Informix, SQLite • DataSnap • ClientDataSet • Visual LiveBindings

  22. Where can I learn more?

  23. Literature • TIndex [www.tindex.net] • 31 XE3 quick videos in 31 days • blogs.embarcadero.com/davidi/2012/10/01/41686 • DelphiFeeds • StackOverflow • [delphi] [firemonkey]

  24. Questions?

More Related