Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: devmjun/CaseContainer

0.7.0

09 Oct 22:57
2d6dcf3

Choose a tag to compare

  1. Now CaseContainer has supported when using both UINavigationController or UINavigationController and UITabBarController.

  2. find issues:

// in CaseContainer.swift 
public var tabBarHeight: CGFloat {
        guard let homeIndicator = UIApplication.shared.windows.first,
            let tabBarController = vc.tabBarController else {
                return 0
        }
        var tabBarHeight = tabBarController.tabBar.frame.height
        
        if #available(iOS 11.0, *) {
            let homeIndicatorHeight = homeIndicator.safeAreaInsets.bottom
            // MARK: issues: having different Value at the same point when having UINavigationBar or not having UINavigationBar
            // temporary expedient at not.
            // in iPhoneX serise, UITabBarController.TabBar Height is 49 when having only UITabBarController but UITabBarController.TabBar Height is 49 + 34(home Indicator's height) when having both UITabBarController and UINavigationController.
            // the same instance has different value at the same point. I don't know reason. now(2018.10.10)
            // and when having UINavigationController.navigationBar, to be forced safe area constraint in the bottom
            tabBarHeight = tabBarHeight > 50 ? (tabBarHeight - homeIndicatorHeight) : tabBarHeight
            return tabBarHeight + homeIndicatorHeight
        } else {
            return tabBarHeight
        }
    }

0.6.0

04 Oct 07:13

Choose a tag to compare

Sharing scheme in CaseContainer.framework

0.5.1

03 Oct 13:43

Choose a tag to compare

Beta Releases

added

  1. ParallaxCollectionViewController

0.4.0

03 Oct 04:31

Choose a tag to compare

Beta Releases

Added

  • Traivs
  • CodeCov
  • Carthage

0.3.0

03 Oct 04:29

Choose a tag to compare

  • Beta Releases

0.2.0

26 Sep 16:02

Choose a tag to compare

Beta Release
More Needed

  1. Setting Traivis
  2. Code Refactoring