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 |
| Removed |
make(viewType: .create) | AmityCommunityCreatorViewController.make() |
make(viewType: .edit(communityId: ...)) | AmityCommunityEditorViewController.make(withCommunityId: ...) |
EkoCommunityProfileEditViewController
has been renamed toAmityCommunityProfileEditorViewController
andmake(viewType: _)
has been removed. Each view type initializing is replaced by equivalent function.EkoCommunityProfileEditViewController.make(viewType: .create)
is replaced byAmityCommunityCreatorViewController.make()
.EkoCommunityProfileEditViewController.make
(viewType: .edit(communityId: "COMMUNITY_ID"))
is replaced byAmityCommunityEditorViewController.make(withCommunityId: "COMMUNITY_ID")
.
AmityViewController (EkoViewController)
UpstraUIKit | AmityUIKit 2.0 |
public (access level) | open (access level) |
EkoViewController
has been renamed toAmityViewController
and access level changed to public.
AmityUserFeedViewController (EkoUserFeedViewController)
UpstraUIKit | AmityUIKit 2.0 |
makeMyFeed() | Deprecated AmityMyFeedViewController.make(). |
EkoUserFeedViewController
has been renamed toAmityUserFeedViewController
.A function
makeMyFeed()
is deprecated and replaced byAmityMyFeedViewController.make()
.
AmityMemberPickerViewController (EkoSelectMemberListViewController)
UpstraUIKit | AmityUIKit 2.0 |
make() | make() make(withCurrentUsers: ...) |
- | selectUsersHandler (New) |
AmitySelectMemberListViewController
has been renamed toAmityMemberPickerViewController
.make()
accepts current users, a list ofAmitySelectMemberModel
, for initializing selected users.selectUsersHandler
added for handling when done button clicked.
Last updated