Skip to content

Instantly share code, notes, and snippets.

@mattrobmattrob
Last active November 2, 2016 01:46
Show Gist options
  • Save mattrobmattrob/16089da1ff46e0d614e670857b99273b to your computer and use it in GitHub Desktop.
Save mattrobmattrob/16089da1ff46e0d614e670857b99273b to your computer and use it in GitHub Desktop.
Summary and investigation into the reasons that start up could be for an iOS application.

Links

Load/Initialize trimming:

Explicit/Implicit initializers:

  • Use dispatch_once instead of attribute((constructor))
    • Apptimize - _ApptimizeVariableInitializer
  • Compile with -Wglobal-constructors to find implicit C++ constructors used globally
  • Apptimize constructor
    • (ApptimizeInt|ApptimizeDouble|ApptimizeBoolean|ApptimizeString|ApptimizeArrayOfStrings|ApptimizeDictionaryOfStrings|ApptimizeArrayOfInts|ApptimizeDictionaryOfInts|ApptimizeArrayOfDoubles|ApptimizeDictionaryOfDoubles||ApptimizeArrayOfBooleans|ApptimizeDictionaryOfBooleans)

Apple links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment