Skip to content

Commit

Permalink
DrawerKit 0.3.0 release (#35)
Browse files Browse the repository at this point in the history
* Added git ignore file

* Added project workspace

* Added tab bar template project

* Added DrawerKit empty framework

* Added basic view controllers and storyboards

* Fixed broken outlets

* Added implementation of DrawerKit. A few bits to complete still.

* Hooked up the view controllers to the custom presentation.

* Added clamping to the three possible resting positions of the drawer

* Added more configuration to the presenting VC

* Fixed a few glitches related to allowing partial expansion or not, and some refactoring.

* Removed the two timing configurations and now using only one for all animations.

* Added support for not having the gesture recognisers.

* Fixed a potential division by zero.

* Adding more configuration controls to presenting VC. WIP.

* Added debug mode.

* Added some TODOs

* Renamed a function to make it clear it's a debugging feature.

* Minor refactoring.

* Renamed some source files for better clarity of intention.

* Removed source headers.

* Changed the presented VC to make a larger drawer (easier to play with).

* Changed some parameters as per Sam's input.

* Improved behaviour of corner rounding at the two edges of the screen. Still not a perfect solution because the animator's completion block is, surprisingly, not always called. Apparently, that's a bug in UIViewPropertyAnimator.

* Made the logic for the drawer behaviour easier to read, because Sergey doesn't like `guard` with boolean statements. ;)

* Moved some code closer to where it's actually used.

* Minor formatting.

* Added a fix to the corner-radius animation issue whereby the corner radius would not be set to zero because the property animator's completion would not always be called. Now we force it to zero on presentationTransitionDidEnd() (for the appropriate drawer ending positions).

* Disabled automatic code signing.

* The heights of the bands surrounding the resting position of the drawer are now given in absolute rather than relative terms.

* Oopsie... committed a compiler error. Fixed now.

* Added a scrollview to the presented view controller in the demo app, for testing how scrolling interacts with the drag gesture recogniser in the presentation controller.

* Added an interaction controller, the first step in fixing the non-interactive presentation/dismissal itself.

* Renamed TransitionAnimator to AnimationController.

* Renamed a file to match the extension it's about.

* Duh, it was supposed to be AnimationController, not AnimatorController.

* Implemented interactive controller for the presentation and dismissal, and cleaned up the code for the animation controller (it doesn't need to know anything about the drawers).

* Added license file and CocoaPods podspec. Not passing lint just yet.

* Removed indirect access to configuration parameters.

* Removed currently unused source file TransitionGeometry.

* Fixed company name in the license file.

* Cleared the team entry in the demo app.

* Demo app: adding controls for all the configurable parameters. WIP.

* Added control for manipulating cubic Bezier control points, CubicBezierView.

* Added all the controls to the presenter VC.

* Fixed a TODO comment.

* Make sure that durationInSeconds is a positive value.

* Removed all references to coversStatusBar since that hasn't been implemented yet.

* Make sure that flickSpeedThreshold is a non-negative value. Also, if zero, disables support for flicking.

* Make sure that upperMarkGap and lowerMarkGap are non-negative values.

* Only add debugging mark lines if at least one of upperMarkGap and lowerMarkGap is a positive value.

* Make sure that maximumCornerRadius is a non-negative value.

* Only animate the corner radius if maximumCornerRadius is strictly positive.

* Make sure that numberOfTapsForOutsideDrawerDismissal is a non-negative value.

* Resolved an issue with animating rounding the presented view corners.

* Simplified the demo app to its bare essentials. No more configuration controls to the wazoo.

* Added based documentation to the library.

* Preliminary version of README. WIP.

* Removed unused assets.

* Added some pseudo-code to the README, to explain the presentation/dismissal logic.

* Code style change.

* Removed unnecessary [weak self] capture lists.

* Changed default value of durationInSeconds from 0.8 to 0.3 seconds.

* Fixed a botched global search/replace in DrawerConfiguration+Equatable.

* Renamed evil local gr variables to less evil names.

* Fixed guard statements as per comments.

* Removed a comment.

* Removed a protocol extension.

* Make sure that the height of the partially expanded drawer is non-negative.

* Added documentation to all exposed public entities.

* Style change as per comments.

* Fixed documentation.

* Updated README file.

* Tweaked the README file.

* Decreased the deployment target requirement, from 10.3 to 10.0.

* Removed hidden extension in the LICENSE file.

* Fixed source_files entry in the podspec. Removed the exclude_files entry.

* Added a .swift-version file with the appropriate version of Swift to pod lib lint the pod.

* Fixed the homepage in the podspec.

* Fixed a bug when running under iOS 10 in which the initial presentation animation doesn't complete, therefore not invoking viewDidAppear, which causes the drawer not to show up at all. The work-around means that the initial presentation and dismissal aren't interactive but Product signed off on that decision. The drawers work fine under iOS 11.

* Style change.

* Killed the use of IUO references.

* Changed author email address in the podspec.

* Added support for Carthage.

* [ci skip] Removed a commented out section from the README. Also, an excuse to turn CI off since DrawerKit fails it for lack of configuration for testing.

* Added CircleCI config file. (#9)

* Added CircleCI config file.

* Changed circle.yml to "test" with the simulator, which disables testing

* Let's try this one more time, shall we?

* And again

* Fixed circle.yml

* And again

* Fixed circle.yml

* Fixed circle.yml.

* Added CircleCI badge to README.

* Simplified circle.yml build command.

* Added dependency management commands to circle.yml

* Fixed podspec source item. (#12)

* Fixed podspec source item.

* Missed the s in https.

* DrawerKit release 0.0.1 (#13) (#14)

* Added git ignore file

* Added project workspace

* Added tab bar template project

* Added DrawerKit empty framework

* Added basic view controllers and storyboards

* Fixed broken outlets

* Added implementation of DrawerKit. A few bits to complete still.

* Hooked up the view controllers to the custom presentation.

* Added clamping to the three possible resting positions of the drawer

* Added more configuration to the presenting VC

* Fixed a few glitches related to allowing partial expansion or not, and some refactoring.

* Removed the two timing configurations and now using only one for all animations.

* Added support for not having the gesture recognisers.

* Fixed a potential division by zero.

* Adding more configuration controls to presenting VC. WIP.

* Added debug mode.

* Added some TODOs

* Renamed a function to make it clear it's a debugging feature.

* Minor refactoring.

* Renamed some source files for better clarity of intention.

* Removed source headers.

* Changed the presented VC to make a larger drawer (easier to play with).

* Changed some parameters as per Sam's input.

* Improved behaviour of corner rounding at the two edges of the screen. Still not a perfect solution because the animator's completion block is, surprisingly, not always called. Apparently, that's a bug in UIViewPropertyAnimator.

* Made the logic for the drawer behaviour easier to read, because Sergey doesn't like `guard` with boolean statements. ;)

* Moved some code closer to where it's actually used.

* Minor formatting.

* Added a fix to the corner-radius animation issue whereby the corner radius would not be set to zero because the property animator's completion would not always be called. Now we force it to zero on presentationTransitionDidEnd() (for the appropriate drawer ending positions).

* Disabled automatic code signing.

* The heights of the bands surrounding the resting position of the drawer are now given in absolute rather than relative terms.

* Oopsie... committed a compiler error. Fixed now.

* Added a scrollview to the presented view controller in the demo app, for testing how scrolling interacts with the drag gesture recogniser in the presentation controller.

* Added an interaction controller, the first step in fixing the non-interactive presentation/dismissal itself.

* Renamed TransitionAnimator to AnimationController.

* Renamed a file to match the extension it's about.

* Duh, it was supposed to be AnimationController, not AnimatorController.

* Implemented interactive controller for the presentation and dismissal, and cleaned up the code for the animation controller (it doesn't need to know anything about the drawers).

* Added license file and CocoaPods podspec. Not passing lint just yet.

* Removed indirect access to configuration parameters.

* Removed currently unused source file TransitionGeometry.

* Fixed company name in the license file.

* Cleared the team entry in the demo app.

* Demo app: adding controls for all the configurable parameters. WIP.

* Added control for manipulating cubic Bezier control points, CubicBezierView.

* Added all the controls to the presenter VC.

* Fixed a TODO comment.

* Make sure that durationInSeconds is a positive value.

* Removed all references to coversStatusBar since that hasn't been implemented yet.

* Make sure that flickSpeedThreshold is a non-negative value. Also, if zero, disables support for flicking.

* Make sure that upperMarkGap and lowerMarkGap are non-negative values.

* Only add debugging mark lines if at least one of upperMarkGap and lowerMarkGap is a positive value.

* Make sure that maximumCornerRadius is a non-negative value.

* Only animate the corner radius if maximumCornerRadius is strictly positive.

* Make sure that numberOfTapsForOutsideDrawerDismissal is a non-negative value.

* Resolved an issue with animating rounding the presented view corners.

* Simplified the demo app to its bare essentials. No more configuration controls to the wazoo.

* Added based documentation to the library.

* Preliminary version of README. WIP.

* Removed unused assets.

* Added some pseudo-code to the README, to explain the presentation/dismissal logic.

* Code style change.

* Removed unnecessary [weak self] capture lists.

* Changed default value of durationInSeconds from 0.8 to 0.3 seconds.

* Fixed a botched global search/replace in DrawerConfiguration+Equatable.

* Renamed evil local gr variables to less evil names.

* Fixed guard statements as per comments.

* Removed a comment.

* Removed a protocol extension.

* Make sure that the height of the partially expanded drawer is non-negative.

* Added documentation to all exposed public entities.

* Style change as per comments.

* Fixed documentation.

* Updated README file.

* Tweaked the README file.

* Decreased the deployment target requirement, from 10.3 to 10.0.

* Removed hidden extension in the LICENSE file.

* Fixed source_files entry in the podspec. Removed the exclude_files entry.

* Added a .swift-version file with the appropriate version of Swift to pod lib lint the pod.

* Fixed the homepage in the podspec.

* Fixed a bug when running under iOS 10 in which the initial presentation animation doesn't complete, therefore not invoking viewDidAppear, which causes the drawer not to show up at all. The work-around means that the initial presentation and dismissal aren't interactive but Product signed off on that decision. The drawers work fine under iOS 11.

* Style change.

* Killed the use of IUO references.

* Changed author email address in the podspec.

* Added support for Carthage.

* [ci skip] Removed a commented out section from the README. Also, an excuse to turn CI off since DrawerKit fails it for lack of configuration for testing.

* Added CircleCI config file. (#9)

* Added CircleCI config file.

* Changed circle.yml to "test" with the simulator, which disables testing

* Let's try this one more time, shall we?

* And again

* Fixed circle.yml

* And again

* Fixed circle.yml

* Fixed circle.yml.

* Added CircleCI badge to README.

* Simplified circle.yml build command.

* Added dependency management commands to circle.yml

* Fixed podspec source item. (#12)

* Fixed podspec source item.

* Missed the s in https.

* Add gif and fixes the circle CI badge. (#17)

* Adds a gif and fixes the circleci badge.

* Moved the gif down a bit.

* Removed extra space below the gif.

* Changes version from 0.0.1 to 0.1. (#18)

* Add missing link to Carthage (#15)

* Fix to README (#21)

* Changed version number from 0.0.1 to 0.1.1 in the dependency management sections of the README file.

* Fix README as per David's suggestion.

* Update podspec in preparation for release 0.1.2.

* Revert "Update podspec in preparation for release 0.1.2."

This reverts commit df1c07a.

* Add 4 UI tests to check the Drawer Kit demo app is working (#22)

- Open the drawer
- Close the drawer
- Slide to full screen
- Tap close on fully open drawer

* Run UI Tests as part of the CircleCI build (#25)

* Experiment in running the UI tests as part of the circleci build

* Fixed name in scheme

* Change simulator being used to match local environment

* Add scheme for demo with UI tests

* Between a branch build and the merge the version available for the simulator seems to have changed. This updates the yml file to reflect this (#26)

* New features (#27)

* Update README.md (#23)

* Fixed version number in Carthage section.

* Renamed some properties and functions, for better clarity of intention.

* More renaming along the same lines as the last commit.

* Added support for tapping on the drawer to fully present it

* More renaming.

* Turned on debug mode in the demo app.

* Make sure that quantities are always in their expected ranges.

* Introduced an enumeration for drawer states

* Removed extra blank line

* Replaced the DrawerPresenting protocol with a new protocol, DrawerCoordinating, and made it so that objects other than view controllers can also coordinate the presentation of drawers.

* Changed some configuration parameters in the demo app.

* Tweaked the demo.

* Added ChangeLog and updated ReadMe.

* More changes to ReadMe.

* Updated podspec.

* More changes to the ChangeLog and ReadMe files.

* Fixed guard indentation, as per comments.

* Fixed guard indentations, as per comments.

* New features and preparation for release 0.3.0 (#30)

* Update README.md (#23)

* Fixed version number in Carthage section.

* Renamed some properties and functions, for better clarity of intention.

* More renaming along the same lines as the last commit.

* Added support for tapping on the drawer to fully present it

* More renaming.

* Turned on debug mode in the demo app.

* Make sure that quantities are always in their expected ranges.

* Introduced an enumeration for drawer states

* Removed extra blank line

* Replaced the DrawerPresenting protocol with a new protocol, DrawerCoordinating, and made it so that objects other than view controllers can also coordinate the presentation of drawers.

* Changed some configuration parameters in the demo app.

* Large refactoring work in preparation for adding concurrent animations.

* WIP on concurrent animations

* Replaced the suffix Signature with Handler in DrawerAnimationActions.

* Added a number of TODO comments

* Minor change, for clarity.

* Changed some config params in the demo app.

* Turns out it's ok to simply return false in these two comparisons.

* Fixed code formatting.

* Fixed a subtle bug whereby UIKit animations that ended at positions differing by as much as 0.5 points were considered to have ended at different points when they should have ended at the same position.

* Fixed a bug whereby scaling animated in only one direction.

* Added example animations from the collapsed state to the fully expanded state, and back.

* Added support for automatically adding a handle view and automatically animating it.

* Added support for not covering a portion of the screen when fully expanding the drawer.

* Removed TODOs that have been handled already.

* Small refactoring.

* More refactoring.

* Added previous gif.

* Display the gifs at the same size.

* Removed an extraneous comment.

* Minor English corrections.

* Renamed some properties to avoid abbreviations. Not all abbreviations could be removed, however, because Swift doesn't allow functions and properties to have the same name.

* Merge master into dev (#32)

* Update README.md (#23)

* Release 0.2.0 (#28)

* Added git ignore file

* Added project workspace

* Added tab bar template project

* Added DrawerKit empty framework

* Added basic view controllers and storyboards

* Fixed broken outlets

* Added implementation of DrawerKit. A few bits to complete still.

* Hooked up the view controllers to the custom presentation.

* Added clamping to the three possible resting positions of the drawer

* Added more configuration to the presenting VC

* Fixed a few glitches related to allowing partial expansion or not, and some refactoring.

* Removed the two timing configurations and now using only one for all animations.

* Added support for not having the gesture recognisers.

* Fixed a potential division by zero.

* Adding more configuration controls to presenting VC. WIP.

* Added debug mode.

* Added some TODOs

* Renamed a function to make it clear it's a debugging feature.

* Minor refactoring.

* Renamed some source files for better clarity of intention.

* Removed source headers.

* Changed the presented VC to make a larger drawer (easier to play with).

* Changed some parameters as per Sam's input.

* Improved behaviour of corner rounding at the two edges of the screen. Still not a perfect solution because the animator's completion block is, surprisingly, not always called. Apparently, that's a bug in UIViewPropertyAnimator.

* Made the logic for the drawer behaviour easier to read, because Sergey doesn't like `guard` with boolean statements. ;)

* Moved some code closer to where it's actually used.

* Minor formatting.

* Added a fix to the corner-radius animation issue whereby the corner radius would not be set to zero because the property animator's completion would not always be called. Now we force it to zero on presentationTransitionDidEnd() (for the appropriate drawer ending positions).

* Disabled automatic code signing.

* The heights of the bands surrounding the resting position of the drawer are now given in absolute rather than relative terms.

* Oopsie... committed a compiler error. Fixed now.

* Added a scrollview to the presented view controller in the demo app, for testing how scrolling interacts with the drag gesture recogniser in the presentation controller.

* Added an interaction controller, the first step in fixing the non-interactive presentation/dismissal itself.

* Renamed TransitionAnimator to AnimationController.

* Renamed a file to match the extension it's about.

* Duh, it was supposed to be AnimationController, not AnimatorController.

* Implemented interactive controller for the presentation and dismissal, and cleaned up the code for the animation controller (it doesn't need to know anything about the drawers).

* Added license file and CocoaPods podspec. Not passing lint just yet.

* Removed indirect access to configuration parameters.

* Removed currently unused source file TransitionGeometry.

* Fixed company name in the license file.

* Cleared the team entry in the demo app.

* Demo app: adding controls for all the configurable parameters. WIP.

* Added control for manipulating cubic Bezier control points, CubicBezierView.

* Added all the controls to the presenter VC.

* Fixed a TODO comment.

* Make sure that durationInSeconds is a positive value.

* Removed all references to coversStatusBar since that hasn't been implemented yet.

* Make sure that flickSpeedThreshold is a non-negative value. Also, if zero, disables support for flicking.

* Make sure that upperMarkGap and lowerMarkGap are non-negative values.

* Only add debugging mark lines if at least one of upperMarkGap and lowerMarkGap is a positive value.

* Make sure that maximumCornerRadius is a non-negative value.

* Only animate the corner radius if maximumCornerRadius is strictly positive.

* Make sure that numberOfTapsForOutsideDrawerDismissal is a non-negative value.

* Resolved an issue with animating rounding the presented view corners.

* Simplified the demo app to its bare essentials. No more configuration controls to the wazoo.

* Added based documentation to the library.

* Preliminary version of README. WIP.

* Removed unused assets.

* Added some pseudo-code to the README, to explain the presentation/dismissal logic.

* Code style change.

* Removed unnecessary [weak self] capture lists.

* Changed default value of durationInSeconds from 0.8 to 0.3 seconds.

* Fixed a botched global search/replace in DrawerConfiguration+Equatable.

* Renamed evil local gr variables to less evil names.

* Fixed guard statements as per comments.

* Removed a comment.

* Removed a protocol extension.

* Make sure that the height of the partially expanded drawer is non-negative.

* Added documentation to all exposed public entities.

* Style change as per comments.

* Fixed documentation.

* Updated README file.

* Tweaked the README file.

* Decreased the deployment target requirement, from 10.3 to 10.0.

* Removed hidden extension in the LICENSE file.

* Fixed source_files entry in the podspec. Removed the exclude_files entry.

* Added a .swift-version file with the appropriate version of Swift to pod lib lint the pod.

* Fixed the homepage in the podspec.

* Fixed a bug when running under iOS 10 in which the initial presentation animation doesn't complete, therefore not invoking viewDidAppear, which causes the drawer not to show up at all. The work-around means that the initial presentation and dismissal aren't interactive but Product signed off on that decision. The drawers work fine under iOS 11.

* Style change.

* Killed the use of IUO references.

* Changed author email address in the podspec.

* Added support for Carthage.

* [ci skip] Removed a commented out section from the README. Also, an excuse to turn CI off since DrawerKit fails it for lack of configuration for testing.

* Added CircleCI config file. (#9)

* Added CircleCI config file.

* Changed circle.yml to "test" with the simulator, which disables testing

* Let's try this one more time, shall we?

* And again

* Fixed circle.yml

* And again

* Fixed circle.yml

* Fixed circle.yml.

* Added CircleCI badge to README.

* Simplified circle.yml build command.

* Added dependency management commands to circle.yml

* Fixed podspec source item. (#12)

* Fixed podspec source item.

* Missed the s in https.

* DrawerKit release 0.0.1 (#13) (#14)

* Added git ignore file

* Added project workspace

* Added tab bar template project

* Added DrawerKit empty framework

* Added basic view controllers and storyboards

* Fixed broken outlets

* Added implementation of DrawerKit. A few bits to complete still.

* Hooked up the view controllers to the custom presentation.

* Added clamping to the three possible resting positions of the drawer

* Added more configuration to the presenting VC

* Fixed a few glitches related to allowing partial expansion or not, and some refactoring.

* Removed the two timing configurations and now using only one for all animations.

* Added support for not having the gesture recognisers.

* Fixed a potential division by zero.

* Adding more configuration controls to presenting VC. WIP.

* Added debug mode.

* Added some TODOs

* Renamed a function to make it clear it's a debugging feature.

* Minor refactoring.

* Renamed some source files for better clarity of intention.

* Removed source headers.

* Changed the presented VC to make a larger drawer (easier to play with).

* Changed some parameters as per Sam's input.

* Improved behaviour of corner rounding at the two edges of the screen. Still not a perfect solution because the animator's completion block is, surprisingly, not always called. Apparently, that's a bug in UIViewPropertyAnimator.

* Made the logic for the drawer behaviour easier to read, because Sergey doesn't like `guard` with boolean statements. ;)

* Moved some code closer to where it's actually used.

* Minor formatting.

* Added a fix to the corner-radius animation issue whereby the corner radius would not be set to zero because the property animator's completion would not always be called. Now we force it to zero on presentationTransitionDidEnd() (for the appropriate drawer ending positions).

* Disabled automatic code signing.

* The heights of the bands surrounding the resting position of the drawer are now given in absolute rather than relative terms.

* Oopsie... committed a compiler error. Fixed now.

* Added a scrollview to the presented view controller in the demo app, for testing how scrolling interacts with the drag gesture recogniser in the presentation controller.

* Added an interaction controller, the first step in fixing the non-interactive presentation/dismissal itself.

* Renamed TransitionAnimator to AnimationController.

* Renamed a file to match the extension it's about.

* Duh, it was supposed to be AnimationController, not AnimatorController.

* Implemented interactive controller for the presentation and dismissal, and cleaned up the code for the animation controller (it doesn't need to know anything about the drawers).

* Added license file and CocoaPods podspec. Not passing lint just yet.

* Removed indirect access to configuration parameters.

* Removed currently unused source file TransitionGeometry.

* Fixed company name in the license file.

* Cleared the team entry in the demo app.

* Demo app: adding controls for all the configurable parameters. WIP.

* Added control for manipulating cubic Bezier control points, CubicBezierView.

* Added all the controls to the presenter VC.

* Fixed a TODO comment.

* Make sure that durationInSeconds is a positive value.

* Removed all references to coversStatusBar since that hasn't been implemented yet.

* Make sure that flickSpeedThreshold is a non-negative value. Also, if zero, disables support for flicking.

* Make sure that upperMarkGap and lowerMarkGap are non-negative values.

* Only add debugging mark lines if at least one of upperMarkGap and lowerMarkGap is a positive value.

* Make sure that maximumCornerRadius is a non-negative value.

* Only animate the corner radius if maximumCornerRadius is strictly positive.

* Make sure that numberOfTapsForOutsideDrawerDismissal is a non-negative value.

* Resolved an issue with animating rounding the presented view corners.

* Simplified the demo app to its bare essentials. No more configuration controls to the wazoo.

* Added based documentation to the library.

* Preliminary version of README. WIP.

* Removed unused assets.

* Added some pseudo-code to the README, to explain the presentation/dismissal logic.

* Code style change.

* Removed unnecessary [weak self] capture lists.

* Changed default value of durationInSeconds from 0.8 to 0.3 seconds.

* Fixed a botched global search/replace in DrawerConfiguration+Equatable.

* Renamed evil local gr variables to less evil names.

* Fixed guard statements as per comments.

* Removed a comment.

* Removed a protocol extension.

* Make sure that the height of the partially expanded drawer is non-negative.

* Added documentation to all exposed public entities.

* Style change as per comments.

* Fixed documentation.

* Updated README file.

* Tweaked the README file.

* Decreased the deployment target requirement, from 10.3 to 10.0.

* Removed hidden extension in the LICENSE file.

* Fixed source_files entry in the podspec. Removed the exclude_files entry.

* Added a .swift-version file with the appropriate version of Swift to pod lib lint the pod.

* Fixed the homepage in the podspec.

* Fixed a bug when running under iOS 10 in which the initial presentation animation doesn't complete, therefore not invoking viewDidAppear, which causes the drawer not to show up at all. The work-around means that the initial presentation and dismissal aren't interactive but Product signed off on that decision. The drawers work fine under iOS 11.

* Style change.

* Killed the use of IUO references.

* Changed author email address in the podspec.

* Added support for Carthage.

* [ci skip] Removed a commented out section from the README. Also, an excuse to turn CI off since DrawerKit fails it for lack of configuration for testing.

* Added CircleCI config file. (#9)

* Added CircleCI config file.

* Changed circle.yml to "test" with the simulator, which disables testing

* Let's try this one more time, shall we?

* And again

* Fixed circle.yml

* And again

* Fixed circle.yml

* Fixed circle.yml.

* Added CircleCI badge to README.

* Simplified circle.yml build command.

* Added dependency management commands to circle.yml

* Fixed podspec source item. (#12)

* Fixed podspec source item.

* Missed the s in https.

* Add gif and fixes the circle CI badge. (#17)

* Adds a gif and fixes the circleci badge.

* Moved the gif down a bit.

* Removed extra space below the gif.

* Changes version from 0.0.1 to 0.1. (#18)

* Add missing link to Carthage (#15)

* Fix to README (#21)

* Changed version number from 0.0.1 to 0.1.1 in the dependency management sections of the README file.

* Fix README as per David's suggestion.

* Update podspec in preparation for release 0.1.2.

* Revert "Update podspec in preparation for release 0.1.2."

This reverts commit df1c07a.

* Add 4 UI tests to check the Drawer Kit demo app is working (#22)

- Open the drawer
- Close the drawer
- Slide to full screen
- Tap close on fully open drawer

* Run UI Tests as part of the CircleCI build (#25)

* Experiment in running the UI tests as part of the circleci build

* Fixed name in scheme

* Change simulator being used to match local environment

* Add scheme for demo with UI tests

* Between a branch build and the merge the version available for the simulator seems to have changed. This updates the yml file to reflect this (#26)

* New features (#27)

* Update README.md (#23)

* Fixed version number in Carthage section.

* Renamed some properties and functions, for better clarity of intention.

* More renaming along the same lines as the last commit.

* Added support for tapping on the drawer to fully present it

* More renaming.

* Turned on debug mode in the demo app.

* Make sure that quantities are always in their expected ranges.

* Introduced an enumeration for drawer states

* Removed extra blank line

* Replaced the DrawerPresenting protocol with a new protocol, DrawerCoordinating, and made it so that objects other than view controllers can also coordinate the presentation of drawers.

* Changed some configuration parameters in the demo app.

* Tweaked the demo.

* Added ChangeLog and updated ReadMe.

* More changes to ReadMe.

* Updated podspec.

* More changes to the ChangeLog and ReadMe files.

* Fixed guard indentation, as per comments.

* Fixed guard indentations, as per comments.

* Removed files that were supposed to have been removed already.

* Removed files that were supposed to have been removed already.
  • Loading branch information
wltrup authored and AnnKatF committed Nov 6, 2017
1 parent be89be4 commit e427cfe
Show file tree
Hide file tree
Showing 38 changed files with 2,050 additions and 777 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# DrawerKit

## v. 0.3.0

Release 0.3.0 breaks backwards compatibility with the earlier releases. Specific changes and new features are as follows:

- Concurrent animations: it's now possible for either or both view controllers (presenting and presented) to participate in the drawer animation so that their views can be animated while the drawer is moving up and down.

- Automatic display of a "handle view": it's now possible to have the drawer add a "gray bar" near its top. This bar, referred to as the "handle view", can be customised in its size, background color, and corner radius, and can be automatically dimmed as the drawer moves towards its collapsed or fully-expanded states. Or you can turn that off and throw your own.

- Support for not expanding to cover the entire screen. It's now possible to select the behaviour of the drawer when it fully-expands itself. You may choose from covering the entire screen (the default), not covering the status bar, and leaving a gap at the top, of any desired size.

- Partial transitions (collapsed to partially-expanded and partially-expanded to fully-expanded, and vice-versa) can now have durations that are equal to, or fractions of, the duration for a full-size transition (collapsed to fully-expanded, and vice-versa). This allows for transitions to have the same speed, if desired.

## v. 0.2.0

Release 0.2.0 breaks backward compatibility with the earlier release, since one of the protocols has disappeared and a new one has been added. Specific changes and new features are as follows:
Release 0.2.0 breaks backwards compatibility with the earlier release, since one of the protocols has disappeared and a new one has been added. Specific changes and new features are as follows:

- The presenting view controller is no longer required to conform to `DrawerPresenting`. In fact, `DrawerPresenting` no longer exists. Instead, a new protocol was created to take its place, `DrawerCoordinating`, so that *any* object can conform to it and be responsible for vending the drawer display controller. Of course, the presenting view controller can still fulfil that responsibility but it no longer must do so.

Expand Down
6 changes: 3 additions & 3 deletions DrawerKit.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|

s.name = "DrawerKit"
s.version = "0.2.0"
s.version = "0.3.0"
s.summary = "An implementation of an interactive and animated view, similar to what you see in Apple Maps"

s.description = <<-DESC
DrawerKit allows you to modally present a view controller from another, in such a way that the
presented view controller slides up as a "drawer", much like what happens when you tap on a location
in the map when using the Apple Maps app. The library is highly configurable, with a few more options
coming soon.
in the map when using the Apple Maps app. The library is highly configurable, with more options
being added regularly.
DESC

s.homepage = "https://github.com/Babylonpartners/DrawerKit"
Expand Down
94 changes: 81 additions & 13 deletions DrawerKit/DrawerKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,26 @@
CB2CB79D1F8E951900AA152D /* DrawerDisplayController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB79A1F8E951900AA152D /* DrawerDisplayController.swift */; };
CB2CB79E1F8E951900AA152D /* PresentationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB79B1F8E951900AA152D /* PresentationController.swift */; };
CB2CB79F1F8E951900AA152D /* AnimationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB79C1F8E951900AA152D /* AnimationController.swift */; };
CB2CB7AA1F8E9AC600AA152D /* DrawerConfiguration+Equatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB7A61F8E98F100AA152D /* DrawerConfiguration+Equatable.swift */; };
CB2CB7AD1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB7AC1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift */; };
CB2CB7AF1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2CB7AE1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift */; };
CB5AF7FC1F9B834E000B2DC9 /* DrawerState.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF7FB1F9B834E000B2DC9 /* DrawerState.swift */; };
CB5AF8001F9BDAC5000B2DC9 /* DrawerAnimationParticipant.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF7FF1F9BDAC5000B2DC9 /* DrawerAnimationParticipant.swift */; };
CB5AF8021F9BDF29000B2DC9 /* DrawerAnimationActions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF8011F9BDF29000B2DC9 /* DrawerAnimationActions.swift */; };
CB5AF8041F9BE037000B2DC9 /* DrawerAnimationInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF8031F9BE037000B2DC9 /* DrawerAnimationInfo.swift */; };
CB5AF8061F9BE0E3000B2DC9 /* DrawerGeometry.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF8051F9BE0E3000B2DC9 /* DrawerGeometry.swift */; };
CB5AF8111F9BE95C000B2DC9 /* DrawerAnimationInfo+Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF8101F9BE95C000B2DC9 /* DrawerAnimationInfo+Configuration.swift */; };
CB5AF8141F9BEA91000B2DC9 /* DrawerAnimationInfo+Geometry.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5AF8131F9BEA91000B2DC9 /* DrawerAnimationInfo+Geometry.swift */; };
CB619CEC1F8FFBAD0076E1DE /* InteractionController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB619CEB1F8FFBAD0076E1DE /* InteractionController.swift */; };
CB6F86B41F9C036D000FA37A /* PresentationController+Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB6F86B31F9C036D000FA37A /* PresentationController+Utilities.swift */; };
CB6F86B61F9C03F8000FA37A /* PresentationController+Setup.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB6F86B51F9C03F8000FA37A /* PresentationController+Setup.swift */; };
CB6F86B81F9C0539000FA37A /* PresentationController+Properties.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB6F86B71F9C0539000FA37A /* PresentationController+Properties.swift */; };
CB6F86BA1F9C05E6000FA37A /* PresentationController+Gestures.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB6F86B91F9C05E6000FA37A /* PresentationController+Gestures.swift */; };
CB6F86BC1F9C06D6000FA37A /* PresentationController+Animation.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB6F86BB1F9C06D6000FA37A /* PresentationController+Animation.swift */; };
CB9101C61F8F791A000EAC41 /* PresentationController+Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB9101C51F8F791A000EAC41 /* PresentationController+Configuration.swift */; };
CBACF6B31F9C622300C15CA3 /* AnimationSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBACF6B21F9C622300C15CA3 /* AnimationSupport.swift */; };
CBB9A9771FA8DC04008253CB /* HandleViewConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBB9A9761FA8DC04008253CB /* HandleViewConfiguration.swift */; };
CBBA2D5C1F8E815B00E0137F /* DrawerKit.h in Headers */ = {isa = PBXBuildFile; fileRef = CBBA2D5A1F8E815B00E0137F /* DrawerKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
CBFA36F21F9C4004006847BB /* GeometryEvaluator.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBFA36F11F9C4004006847BB /* GeometryEvaluator.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -29,15 +42,28 @@
CB2CB79A1F8E951900AA152D /* DrawerDisplayController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerDisplayController.swift; sourceTree = "<group>"; };
CB2CB79B1F8E951900AA152D /* PresentationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PresentationController.swift; sourceTree = "<group>"; };
CB2CB79C1F8E951900AA152D /* AnimationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnimationController.swift; sourceTree = "<group>"; };
CB2CB7A61F8E98F100AA152D /* DrawerConfiguration+Equatable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DrawerConfiguration+Equatable.swift"; sourceTree = "<group>"; };
CB2CB7AC1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DrawerDisplayController+Extensions.swift"; sourceTree = "<group>"; };
CB2CB7AE1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DrawerDisplayController+Configuration.swift"; sourceTree = "<group>"; };
CB5AF7FB1F9B834E000B2DC9 /* DrawerState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerState.swift; sourceTree = "<group>"; };
CB5AF7FF1F9BDAC5000B2DC9 /* DrawerAnimationParticipant.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerAnimationParticipant.swift; sourceTree = "<group>"; };
CB5AF8011F9BDF29000B2DC9 /* DrawerAnimationActions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerAnimationActions.swift; sourceTree = "<group>"; };
CB5AF8031F9BE037000B2DC9 /* DrawerAnimationInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerAnimationInfo.swift; sourceTree = "<group>"; };
CB5AF8051F9BE0E3000B2DC9 /* DrawerGeometry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DrawerGeometry.swift; sourceTree = "<group>"; };
CB5AF8101F9BE95C000B2DC9 /* DrawerAnimationInfo+Configuration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DrawerAnimationInfo+Configuration.swift"; sourceTree = "<group>"; };
CB5AF8131F9BEA91000B2DC9 /* DrawerAnimationInfo+Geometry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DrawerAnimationInfo+Geometry.swift"; sourceTree = "<group>"; };
CB619CEB1F8FFBAD0076E1DE /* InteractionController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InteractionController.swift; sourceTree = "<group>"; };
CB6F86B31F9C036D000FA37A /* PresentationController+Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PresentationController+Utilities.swift"; sourceTree = "<group>"; };
CB6F86B51F9C03F8000FA37A /* PresentationController+Setup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PresentationController+Setup.swift"; sourceTree = "<group>"; };
CB6F86B71F9C0539000FA37A /* PresentationController+Properties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PresentationController+Properties.swift"; sourceTree = "<group>"; };
CB6F86B91F9C05E6000FA37A /* PresentationController+Gestures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PresentationController+Gestures.swift"; sourceTree = "<group>"; };
CB6F86BB1F9C06D6000FA37A /* PresentationController+Animation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PresentationController+Animation.swift"; sourceTree = "<group>"; };
CB9101C51F8F791A000EAC41 /* PresentationController+Configuration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "PresentationController+Configuration.swift"; sourceTree = "<group>"; };
CBACF6B21F9C622300C15CA3 /* AnimationSupport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnimationSupport.swift; sourceTree = "<group>"; };
CBB9A9761FA8DC04008253CB /* HandleViewConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HandleViewConfiguration.swift; sourceTree = "<group>"; };
CBBA2D571F8E815B00E0137F /* DrawerKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DrawerKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
CBBA2D5A1F8E815B00E0137F /* DrawerKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DrawerKit.h; sourceTree = "<group>"; };
CBBA2D5B1F8E815B00E0137F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CBFA36F11F9C4004006847BB /* GeometryEvaluator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeometryEvaluator.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -54,33 +80,62 @@
CB2CB7A01F8E962100AA152D /* Public API */ = {
isa = PBXGroup;
children = (
CB2CB78E1F8E934500AA152D /* DrawerCoordinating.swift */,
CB2CB78D1F8E934500AA152D /* DrawerPresentable.swift */,
CB2CB79A1F8E951900AA152D /* DrawerDisplayController.swift */,
CB2CB7AE1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift */,
CB2CB7911F8E934500AA152D /* DrawerConfiguration.swift */,
CB5AF8071F9BE105000B2DC9 /* Protocols */,
CB5AF8081F9BE12E000B2DC9 /* Structs */,
CB5AF8121F9BE9B3000B2DC9 /* Extensions */,
);
path = "Public API";
sourceTree = "<group>";
};
CB2CB7A11F8E963000AA152D /* Internal API */ = {
isa = PBXGroup;
children = (
CB2CB7AC1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift */,
CB2CB79B1F8E951900AA152D /* PresentationController.swift */,
CB9101C51F8F791A000EAC41 /* PresentationController+Configuration.swift */,
CB6F86B51F9C03F8000FA37A /* PresentationController+Setup.swift */,
CB6F86B91F9C05E6000FA37A /* PresentationController+Gestures.swift */,
CB6F86B71F9C0539000FA37A /* PresentationController+Properties.swift */,
CB6F86BB1F9C06D6000FA37A /* PresentationController+Animation.swift */,
CB6F86B31F9C036D000FA37A /* PresentationController+Utilities.swift */,
CB619CEB1F8FFBAD0076E1DE /* InteractionController.swift */,
CB2CB79C1F8E951900AA152D /* AnimationController.swift */,
CB5AF7FB1F9B834E000B2DC9 /* DrawerState.swift */,
CB2CB7A41F8E98F100AA152D /* Extensions */,
CBFA36F11F9C4004006847BB /* GeometryEvaluator.swift */,
CBACF6B21F9C622300C15CA3 /* AnimationSupport.swift */,
);
path = "Internal API";
sourceTree = "<group>";
};
CB2CB7A41F8E98F100AA152D /* Extensions */ = {
CB5AF8071F9BE105000B2DC9 /* Protocols */ = {
isa = PBXGroup;
children = (
CB2CB7AC1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift */,
CB9101C51F8F791A000EAC41 /* PresentationController+Configuration.swift */,
CB2CB7A61F8E98F100AA152D /* DrawerConfiguration+Equatable.swift */,
CB2CB78E1F8E934500AA152D /* DrawerCoordinating.swift */,
CB2CB78D1F8E934500AA152D /* DrawerPresentable.swift */,
CB5AF7FF1F9BDAC5000B2DC9 /* DrawerAnimationParticipant.swift */,
);
path = Protocols;
sourceTree = "<group>";
};
CB5AF8081F9BE12E000B2DC9 /* Structs */ = {
isa = PBXGroup;
children = (
CB2CB7911F8E934500AA152D /* DrawerConfiguration.swift */,
CBB9A9761FA8DC04008253CB /* HandleViewConfiguration.swift */,
CB5AF8011F9BDF29000B2DC9 /* DrawerAnimationActions.swift */,
CB5AF8031F9BE037000B2DC9 /* DrawerAnimationInfo.swift */,
CB5AF8051F9BE0E3000B2DC9 /* DrawerGeometry.swift */,
CB5AF7FB1F9B834E000B2DC9 /* DrawerState.swift */,
);
path = Structs;
sourceTree = "<group>";
};
CB5AF8121F9BE9B3000B2DC9 /* Extensions */ = {
isa = PBXGroup;
children = (
CB2CB7AE1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift */,
CB5AF8101F9BE95C000B2DC9 /* DrawerAnimationInfo+Configuration.swift */,
CB5AF8131F9BEA91000B2DC9 /* DrawerAnimationInfo+Geometry.swift */,
);
path = Extensions;
sourceTree = "<group>";
Expand Down Expand Up @@ -192,16 +247,29 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CB5AF8061F9BE0E3000B2DC9 /* DrawerGeometry.swift in Sources */,
CB5AF8021F9BDF29000B2DC9 /* DrawerAnimationActions.swift in Sources */,
CB2CB7941F8E934500AA152D /* DrawerPresentable.swift in Sources */,
CB5AF8001F9BDAC5000B2DC9 /* DrawerAnimationParticipant.swift in Sources */,
CB619CEC1F8FFBAD0076E1DE /* InteractionController.swift in Sources */,
CB6F86B81F9C0539000FA37A /* PresentationController+Properties.swift in Sources */,
CB2CB7AD1F8E9D9900AA152D /* DrawerDisplayController+Extensions.swift in Sources */,
CB5AF8111F9BE95C000B2DC9 /* DrawerAnimationInfo+Configuration.swift in Sources */,
CB2CB79F1F8E951900AA152D /* AnimationController.swift in Sources */,
CBACF6B31F9C622300C15CA3 /* AnimationSupport.swift in Sources */,
CBB9A9771FA8DC04008253CB /* HandleViewConfiguration.swift in Sources */,
CB6F86B61F9C03F8000FA37A /* PresentationController+Setup.swift in Sources */,
CB2CB7951F8E934500AA152D /* DrawerCoordinating.swift in Sources */,
CB2CB7AF1F8E9F4C00AA152D /* DrawerDisplayController+Configuration.swift in Sources */,
CB5AF8041F9BE037000B2DC9 /* DrawerAnimationInfo.swift in Sources */,
CB6F86BA1F9C05E6000FA37A /* PresentationController+Gestures.swift in Sources */,
CB5AF7FC1F9B834E000B2DC9 /* DrawerState.swift in Sources */,
CB2CB7971F8E934500AA152D /* DrawerConfiguration.swift in Sources */,
CB2CB7AA1F8E9AC600AA152D /* DrawerConfiguration+Equatable.swift in Sources */,
CBFA36F21F9C4004006847BB /* GeometryEvaluator.swift in Sources */,
CB6F86B41F9C036D000FA37A /* PresentationController+Utilities.swift in Sources */,
CB5AF8141F9BEA91000B2DC9 /* DrawerAnimationInfo+Geometry.swift in Sources */,
CB2CB79D1F8E951900AA152D /* DrawerDisplayController.swift in Sources */,
CB6F86BC1F9C06D6000FA37A /* PresentationController+Animation.swift in Sources */,
CB9101C61F8F791A000EAC41 /* PresentationController+Configuration.swift in Sources */,
CB2CB79E1F8E951900AA152D /* PresentationController.swift in Sources */,
);
Expand Down
Loading

0 comments on commit e427cfe

Please sign in to comment.