Commit 62041a01 by Daniel Dahan

updated PhotoLibrary and PageTabBar samples

parent 66169254
......@@ -39,7 +39,6 @@ class AppPageTabBarController: PageTabBarController {
preparePageTabBar()
}
/// Prepares the pageTabBar.
private func preparePageTabBar() {
pageTabBar.lineColor = Color.blueGrey.base
pageTabBar.dividerColor = Color.blueGrey.lighten5
......
......@@ -161,7 +161,7 @@ class PhotoLibraryViewController: PhotoLibraryController {
internal func prepareCollection() {
dataSourceItems.removeAll()
fetchAssetCollections(with: .album, subtype: .any) { [weak self] (assetCollections) in
fetchAssetCollections(with: .moment, subtype: .any) { [weak self] (assetCollections) in
guard let s = self else {
return
}
......
......@@ -208,7 +208,8 @@ open class TabBar: Bar {
*/
open override func prepare() {
super.prepare()
contentEdgeInsetsPreset = .none
interimSpacePreset = .none
autoresizingMask = .flexibleWidth
prepareLine()
prepareDivider()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment