iOS 12 Programming Fundamentals with Swift by Matt Neuburg

iOS 12 Programming Fundamentals with Swift by Matt Neuburg

Author:Matt Neuburg
Language: eng
Format: epub, pdf
Publisher: O'Reilly Media
Published: 2018-09-25T16:00:00+00:00


Figure 6-10. Configurations

For example, return to the target build settings (Figure 6-9) and type “optim” into the search field. Now you can look at the Optimization Level build setting (Figure 6-11). The Debug configuration value for Optimization Level is None: while you’re developing your app, you build with the Debug configuration, so your code is just compiled line by line in a straightforward way. The Release configuration value for Optimization Level is Optimize for Speed. When your app is ready to ship, you build it with the Release configuration, so the resulting binary is optimized for speed, which is great for your users running the app on a device, but would be no good while you’re developing the app because breakpoints and stepping in the debugger wouldn’t work properly. Compilation may take longer when the compiler must optimize for speed, but you won’t mind the delay, because you won’t do a Release build very often.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.