Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cross Platform Shenanigans, Part 1: iOS

Cross Platform Shenanigans, Part 1: iOS

In my new role as a game developer, I've had to approach the world of cross platform development. This talk, from CocoaHeads October 2017 in Raleigh, NC covers my thoughts on cross platform and some lessons learned.

Josh Johnson

October 26, 2017
Tweet

More Decks by Josh Johnson

Other Decks in Programming

Transcript

  1. CROSS PLATFORM
    SHENANIGANS
    Part 1: iOS

    View Slide

  2. View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. View Slide

  11. View Slide

  12. View Slide

  13. View Slide

  14. View Slide

  15. So I needed to build a Cross-Platform Game…

    View Slide

  16. View Slide

  17. Core
    Renderer
    iOS Android

    View Slide

  18. Core
    Renderer
    iOS Android
    Swift! Kotlin!
    C++ 11!

    View Slide

  19. Core
    Renderer
    iOS Android
    Swift! Kotlin!
    C++ 11!
    Objective-C++

    More C++ JNI
    Maybe Java

    View Slide

  20. SHOULD I DO THIS?

    View Slide

  21. View Slide

  22. BUT…

    View Slide

  23. %

    View Slide

  24. So what have I learned?

    View Slide

  25. Learn and use the idioms of each language; use them.

    View Slide

  26. Define strict protocols for communication

    View Slide

  27. Build things as modular as possible.

    View Slide

  28. Create common conceptual patterns

    View Slide

  29. QUESTIONS OR DEMO

    View Slide

  30. CROSS PLATFORM
    SHENANIGANS
    Part 2: Android
    Coming to a TriDroid Meeting near you…

    View Slide

  31. THANKS!
    http://jnjosh.com
    @jnjosh

    View Slide