# iOS UIKit V3.0 Migration Guide

UIKit v3.0.0 is the major release of our UIKit with social.plus SDK v6.5.0.

The guide will cover all the breaking changes and migration to this version.

## Installation:

#### Manual Installation:

UIKit v3.0.0 will require `RealmSwift.xcframework` along with the existing frameworks.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FIzma9WB2THhY9MmwjpX4%2Fimage.png?alt=media&#x26;token=6d0b8daa-033c-4a48-8ca6-0f27018a5455" alt=""><figcaption></figcaption></figure>

## Behavior Changes:

#### AmityUIKItManager:

<table><thead><tr><th>Property | Methods</th><th width="115.33333333333331">Changes</th><th>Remarks</th></tr></thead><tbody><tr><td><code>setup(apiKey:, httpUrl:, socketUrl:)</code></td><td>Removed</td><td>use <code>setup(apiKey:, endpoint:)</code> instead</td></tr><tr><td><code>registerDevice(userId:, displayName:, authToken:, completion:)</code></td><td>Removed</td><td>Use <code>registerDevice(userId:, displayName:, authToken:, sessionHandler:, completion:)</code> instead.</td></tr></tbody></table>

#### AmityChannelEventHandler:

<table><thead><tr><th>Property | Methods</th><th width="115.33333333333331">Changes</th><th>Remarks</th></tr></thead><tbody><tr><td><code>channelDidTap(from:, channelId:)</code></td><td>Removed</td><td>Override <code>channelDidTap(from:, channelId:, subChannelId:)</code> instead.</td></tr></tbody></table>

#### AmityEventHandler:

<table><thead><tr><th>Property | Methods</th><th width="115.33333333333331">Changes</th><th>Remarks</th></tr></thead><tbody><tr><td><code>communityChannelDidTap(from:, channelId:)</code></td><td>Removed</td><td>Override <code>communityChannelDidTap(from:, channelId:, subChannelId:)</code> instead.</td></tr></tbody></table>

#### AmityMessageListViewController:

<table><thead><tr><th>Property | Methods</th><th width="115.33333333333331">Changes</th><th>Remarks</th></tr></thead><tbody><tr><td><code>make(channelId:, settings:)</code></td><td>Removed</td><td>Use <code>make(channelId:, subChannelId:, settings:)</code> instead.</td></tr></tbody></table>

#### AmityCommunityProfilePageViewController:

<table><thead><tr><th>Property | Methods</th><th width="115.33333333333331">Changes</th><th>Remarks</th></tr></thead><tbody><tr><td><code>make(withCommunityId:, settings:)</code></td><td>Removed</td><td>Use <code>make(withCommunityId:)</code> instead.</td></tr></tbody></table>
