Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Releases: luispadron/UIEmptyState

Version 1.0.2

15 Jul 20:06
Compare
Choose a tag to compare

Versin 1.0.2

  • Fix issue with UIEmptyStateView and it's subviews not being accessible.

Version 1.0.1

14 Jul 18:22
Compare
Choose a tag to compare

Version 1.0.1

  • Fix access modifier in default implementation of emptyStateViewWillHide(view:)

Version 1.0.0

14 Jul 18:14
Compare
Choose a tag to compare

Version 1.0.0 - Stable Release

  • Add Swift version check to allow support for Swift 3 --> Swift 4.
  • Refactor public API to make it less verbose and more Swift-like.
    • All methods which had the format methodName(forSomething:) have been refactored to simply methodName(for:).
    • Due to this renaming, if using Swift 3.2 or lower, you may get an error
      about a @objc method having already been declared, this is due to Swift 3 inferring an @objc attribute when it is not in fact @objc. If using Xcode 9 +, you will need to set Swift 3 @objc Inference in the Optimization Level of this projects Build Settings to Off. I know this is a hassle, but I want to keep the API clean and stable, no point in changing it at a later date when Swift 4 is fully released and breaking more code.
  • Add two new delegate methods to the UIEmptyStateDelegate
    • emptyStateViewWillShow(view: UIView) which is called before the view is shown, given you time to do any additional work.
    • emptyStateViewWillHide(view: UIView) which is called right before the view will be hidden from the screen.
  • Fix some broken documentation/updated docs

After this release the API should not change that often, thus I wont be breaking your code as much 😅

Thanks for using UIEmptyState

Version 0.8.3

14 Jun 02:35
Compare
Choose a tag to compare
Version 0.8.3 Pre-release
Pre-release

Version 0.8.3

  • Fix bug where data source was not reverting edgesForExtendedLayout to default values after it was done presenting the view

Version 0.8.2

14 Jun 01:24
Compare
Choose a tag to compare
Version 0.8.2 Pre-release
Pre-release

Version 0.8.2

  • Fix issue with constraints not being set properly for Empty state view

Version 0.8.1

13 Jun 23:50
Compare
Choose a tag to compare
Version 0.8.1 Pre-release
Pre-release

Version 0.8.1

  • Make sure .swift-version is included in pod to fix warnings in Xcode 9

Version 0.8.0

12 Jun 21:49
Compare
Choose a tag to compare
Version 0.8.0 Pre-release
Pre-release

Version 0.8.0

  • Updated for Swift 4 and Xcode 9
  • Now uses safeAreaLayoutGuide to adjust centering of empty state view, if on iOS 11 when shouldAdjustToFitBars returns true.
  • Updated project to recommended settings in Xcode 9, set language to Swift 4 and @objc inference to default.

Version 0.7.0

14 May 03:15
Compare
Choose a tag to compare
Version 0.7.0 Pre-release
Pre-release

Version 0.7.0

  • Update constraints for labels so that they do not extend past the edges of the view
  • Add private extension to help calculate the the height of labels

Version 0.6.0

09 May 02:03
Compare
Choose a tag to compare
Version 0.6.0 Pre-release
Pre-release

Version 0.6.0

  • Fix bug where title for UIEmptyState was not being updated when reloading
  • Made sure to assign all datasource properties when creating, and updating the view

Version 0.5.0

03 Apr 19:46
Compare
Choose a tag to compare
Version 0.5.0 Pre-release
Pre-release

Version 0.5.0

  • Refactored API methods for UIEmptyStateDataSource into computed properties to be more "swift-like"
  • Add new delegate method to get notified when the view has been shown, here you can bring subviews to front that may have been covered by the UIEmptyState
  • Add new property to determine whether the viewcontroller using UIEmptyState should adjust it's frame to take into account navigation bars/tab bars
  • Refactored a lot of code and comments

Breaking API Changes in 0.5.0

Basically, everything... Sorry!
Due to the change from methods to properties, the way you interact with the data source has changed. Please read the documentation. Most methods have been convereted into computed properties. This will be the design going forward unless it's not possible, i.e requires parameters or would be better in a method.