HERE iOS SDK Developer's Guide

Swift Support in HERE SDK

This section provides information on the ways that HERE iOS SDK supports development using Swift 3 or above.

Nullability Annotations

Where appropriate, properties, method parameters, and return types are marked with nullability annotations. This provides more clarity on the generated Swift types and avoids implicitly unwrapped optionals.

For more information on this, read the blog post on "Nullability and Objective-C".

Designated Initializers

Where appropriate, class header files have annotatations to indicate the designated initializer method.

For more information, see the documentation on initialization in Swift and initialization in Objective-C.

Suggested Names for Swift

The HERE SDK contains suggested Swift method names to better align with standard Swift naming conventions. For example, createGeocodeRequestWithQuery:searchArea:locationContext: is create(query:searchArea:locationContext:) in Swift.

For more information, see the blog post on Swift 3 API Design Guidelines.

Stronger Typing Using Lightweight Generics

Where appropriate, the HERE SDK contains lightweight generics information for collection types. This provides stronger typing in the generated Swift code. For example, the referenceIdentifiers(forSource:) method in NMAPlace returns [String] rather than a [AnyObject].

For more information, see Importing Objective-C Lightweight Generics.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.