# LINE SDK for iOS Swift overview
Developed in Swift, the LINE SDK for iOS Swift provides a modern way of implementing LINE APIs. The features included in this SDK will help you develop an iOS app with an engaging and personalized user experience.
The LINE SDK for iOS Swift provides the following features.
# User authentication
This feature allows users to log in to your app or service with their LINE accounts. With the help of the LINE SDK for iOS Swift, it has never been easier to integrate LINE Login into your app. Your users will automatically log in to your app without entering their LINE credentials if they are already logged in to LINE on their iOS devices. This offers a great way for users to get started with your app without having to go through a registration process.
# Utilizing user data with OpenID support
Once the user is authorized, you can get the user’s LINE profile. You can utilize the user's information registered in LINE without building your user system.
The LINE SDK supports the OpenID Connect (opens new window) 1.0 specification. You can get ID tokens that contain the user’s LINE profile when you retrieve the access token.
# API calls
Use the methods included in the LINE SDK to get user profile information, log out users, and manage access tokens.
# Open-source SDK
The LINE SDK for iOS Swift is an open-source project. Visit our repository (opens new window) to view the code and samples that we have provided for you to use.
# Using the LINE SDK
To use the LINE SDK with your iOS app, follow the steps below.
Create a channel.
For more information, see Getting started with LINE Login in the LINE Login documentation.
Use the LINE SDK to add LINE Login support to your iOS app.
Use LINE Login.
# Trying the starter app
You can see how LINE Login works using our starter app. See Trying the starter app.
# What's in this guide
This guide explains how to integrate the LINE SDK with your app and use the available API functions in the SDK from your app. See the following table for an overview of the topics that are discussed in this guide.
|LINE SDK for iOS Swift overview||The SDK features and the high-level steps for using the SDK.|
|Trying the starter app||How to run our starter app.|
|Setting up your project||How to integrate the LINE SDK into your project.|
|Integrating LINE Login with your iOS app||How to leverage LINE Login to improve your app's user experience.|
|Enabling the bot link feature with the SDK||How to display an option to add the LINE Official Account as a friend to users and get the friendship status between the LINE Official Account and the user.|
|Managing users||How to get user profiles, use ID tokens to get user data, and log out users.|
|Managing access tokens||How to refresh and verify access tokens and get the current access token.|
|Handling errors||How to handle errors returned by the SDK.|
|Using the SDK with Objective-C code||How to integrate the LINE SDK for iOS Swift into your Objective-C project.|
|Upgrading the SDK||How to upgrade from the LINE SDK v4.1 for iOS to the LINE SDK v5 for iOS Swift.|
|LINE SDK v5 for iOS Swift reference||Detailed information on the protocols and classes available in the SDK.|
# Other resources
You can find the following information on the top page of the LINE SDK for iOS guide.
|LINE SDK v5.0 for iOS Objective-C||Documentation for the LINE SDK v5.0 for iOS Objective-C.|
|Release notes||SDK changelog.|
|Downloads||Links to download the LINE SDKs.|