Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Google Maps SDK Swift

Well... I can get current location by Apple Maps. Unfortunately, I need to do the same by Google Maps. In this case I have downloaded Google Maps SDK from the google website and tried to follow their steps. But... I'm confused.

How should I install this SDK to the XCode project and how can I use it in Swift? Not Objective C. Just Swift. Please, help.

1 Answer

Hi Artem,

Have a read of the below article written by Ron Kliffer who explains how to use a bridging header to import the Google Maps SDK into a Swift project without any need to use Objective-C.

http://www.raywenderlich.com/81103/introduction-google-maps-ios-sdk-swift