Swift 4: CoreLocation Introduction with MapKit for Xcode 9 and iOS 11. A Great Way to Learn Swift!

Опубликовано: 04 Май 2018
на канале: Swift Almanac
572
9

In this Swift 4 tutorial, we will cover setting up Core Location and the relevant CoreLocationManagerDelegate Methods that are needed to obtain your current location from the iOS 11.

This tutorial shows you everything you need to do, from Xcode and pList Configuration, tips on Editing Schemes, configuring Capabilities, creating a Singleton for easy access to current location.

For those who want to log user movements we show how a Timer can be programmed to record this information and we go over AlwayUse and InUse cases as well as ways to reduce battery drain and the correct handling of moving into/returning from background mode.

We provide helpful tips on how to avoid major pitfalls and show the interaction of MapKit with CoreLocation.

This iOS 11 update is very comprehensive (and hence long) but use the links below to skip the basics and access the areas of interest.

This series is a great way to learn swift 4 and add Core Location and Map Kit to your programming arsenal!

Configure Project 0:39


Смотрите видео Swift 4: CoreLocation Introduction with MapKit for Xcode 9 and iOS 11. A Great Way to Learn Swift! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift Almanac 04 Май 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 572 раз и оно понравилось 9 людям.