forked from organicmaps/organicmaps
[release-81-fixes] [ios] Added swift method overloading.
This commit is contained in:
parent
1d37095bb0
commit
cdab751d2e
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ final class BMCDefaultViewModel: NSObject {
|
|||
}
|
||||
|
||||
private func setCategories() {
|
||||
categories = BM.categoriesIdList().map { categoryId -> BMCCategory in
|
||||
categories = BM.groupsIdList().map { categoryId -> BMCCategory in
|
||||
let title = BM.getCategoryName(categoryId)!
|
||||
let count = BM.getCategoryMarksCount(categoryId) + BM.getCategoryTracksCount(categoryId)
|
||||
let isVisible = BM.isCategoryVisible(categoryId)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
extension MWMBookmarksManager {
|
||||
static func categoriesIdList() -> [MWMMarkGroupID] {
|
||||
@nonobjc static func groupsIdList() -> [MWMMarkGroupID] {
|
||||
return groupsIdList().map { $0.uint32Value }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue