Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of porting iOS apps to macOS using Marzipan in this conference talk from try! Swift NYC 2018. Dive into the hacks and techniques needed to run iOS applications on macOS Mojave, using PDF Viewer as a real-world example. Learn about the IosMac architecture, system entitlements, and common pitfalls to avoid when mixing UIKit and AppKit. Discover the process of removing incompatible features, automating the porting process, and improving Mac compatibility. Gain insights from Peter Steinberger, founder of PSPDFKit, as he shares his experience and challenges in adapting iOS apps for the Mac platform.
Syllabus
Intro
HACKING MARZIPAN
WHAT IS MARZIPAN
SOME HISTORY
TIMELINE
FUN FACTS
IOSMAC ARCHITECTURE
PROCESSES
UIKITSYSTEM ENTITLEMENTS
DISCLAIMER * Things will break
VIRTUAL MACHINES DO NOT WORK
UISTACKVIEW SYSTEM SPACING
LESSON: DO NOT MIX UIKIT AND APPKIT
ADDS A FEW METHODS TO RUNTIME "MARZIPAN GLUE"
PATCHES INFO.PLIST
MODIFIES MACH HEADER
REAL-WORD EXAMPLE PDF VIEWER FOR MAC
STEP 2: REMOVE FEATURES!
AUTOMATE
WHITELIST SWIFT
PATCH MISSING METHODS
BECOME A BETTER MAC CITIZEN
IT'S NEVER THAT EASY...
ACKNOWLEDGEMENTS
Taught by
try! Swift Conference