Methods

Some of the method signature has been changed to make it more consistent across UIKit. This list contain those changes.

Please refer to each feature documentation for its sample code implementation.

AmityCommunityProfileEditorViewController (EkoCommunityProfileEditViewController)

UpstraUIKit

AmityUIKit 2.0

make(viewType: ViewType)

Removed

make(viewType: .create)

AmityCommunityCreatorViewController.make()

make(viewType: .edit(communityId: ...))

AmityCommunityEditorViewController.make(withCommunityId: ...)

  • EkoCommunityProfileEditViewController has been renamed to AmityCommunityProfileEditorViewController and make(viewType: _) has been removed. Each view type initializing is replaced by equivalent function.

  • EkoCommunityProfileEditViewController.make(viewType: .create) is replaced by AmityCommunityCreatorViewController.make().

  • EkoCommunityProfileEditViewController.make

    (viewType: .edit(communityId: "COMMUNITY_ID")) is replaced by AmityCommunityEditorViewController.make(withCommunityId: "COMMUNITY_ID").

AmityViewController (EkoViewController)

UpstraUIKit

AmityUIKit 2.0

public (access level)

open (access level)

  • EkoViewController has been renamed to AmityViewController and access level changed to public.

AmityUserFeedViewController (EkoUserFeedViewController)

UpstraUIKit

AmityUIKit 2.0

makeMyFeed()

Deprecated

AmityMyFeedViewController.make().

  • EkoUserFeedViewController has been renamed to AmityUserFeedViewController.

  • A function makeMyFeed() is deprecated and replaced by AmityMyFeedViewController.make().

AmityMemberPickerViewController (EkoSelectMemberListViewController)

UpstraUIKit

AmityUIKit 2.0

make()

make()

make(withCurrentUsers: ...)

-

selectUsersHandler (New)

  • AmitySelectMemberListViewController has been renamed to AmityMemberPickerViewController.

  • make() accepts current users, a list of AmitySelectMemberModel, for initializing selected users.

  • selectUsersHandler added for handling when done button clicked.

Last updated