Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f044cef62c | |||
| 15376fdf98 | |||
| 55f4bf8ae3 | |||
| 769058a952 | |||
| a5404f12a4 | |||
| cac1ea555f | |||
| f856082f63 | |||
| 409f526cf6 | |||
| b2b30b147f | |||
| a6b09007b2 | |||
| 7b001c292f | |||
| 5498067ffd | |||
| dce0be5a86 | |||
| 237bd57aca | |||
| bdf75322b8 |
@@ -11,17 +11,46 @@
|
|||||||
|
|
||||||
UI Component. This is a copy swipe-panel from app: https://www.apple.com/ios/maps/
|
UI Component. This is a copy swipe-panel from app: https://www.apple.com/ios/maps/
|
||||||
|
|
||||||
|
It can:
|
||||||
|
- Animately move top / middle / bottom
|
||||||
|
- Add multiple ContainerControlleron top of each other in self.view
|
||||||
|
- Add any type of ScrollView: Table / Collection / Text
|
||||||
|
- Control Gesture or Scroll
|
||||||
|
- Pin HeaderView to top / pin FooterView to bottom,
|
||||||
|
- Add Background Color / background blur transparency
|
||||||
|
- Adjust cornerRadius edges
|
||||||
|
- Adjust container shadow
|
||||||
|
- When raised to top = Add background shadow -
|
||||||
|
- Has the ability to adjust Left / Right margins
|
||||||
|
- And adjust Left / Right margins for landscape state.
|
||||||
|
|
||||||
|
|
||||||
## Preview
|
## Preview
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
## About the project
|
||||||
|
|
||||||
|
Examples of use (ui swipe component ContainerController) in popular design applications.
|
||||||
|
|
||||||
|
It is used in different categories apps:
|
||||||
|
- Maps / Menu / Player Music / Market / Sports News / Taxi / Finance Banks Stock / Wallets / Analytics / Notes
|
||||||
|
- Alerts / Popups / Notifications
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
<!-- TOC -->
|
<!-- TOC -->
|
||||||
|
|
||||||
|
|
||||||
- [Requirements](#requirements)
|
- [Requirements](#requirements)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [CocoaPods](#cocoapods)
|
- [CocoaPods](#cocoapods)
|
||||||
- [Swift Package Manager with Xcode 11](#swift-package-manager-with-xcode-11)
|
- [Swift Package Manager with Xcode 11](#swift-package-manager-with-xcode-11)
|
||||||
|
- [Design examples](#design-examples)
|
||||||
- [Getting Started](#getting-started)
|
- [Getting Started](#getting-started)
|
||||||
- [Action](#action)
|
- [Action](#action)
|
||||||
- [Move position with an animation](#move-position-with-an-animation)
|
- [Move position with an animation](#move-position-with-an-animation)
|
||||||
@@ -58,7 +87,7 @@ UI Component. This is a copy swipe-panel from app: https://www.apple.com/ios/map
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### CocoaPods
|
### [CocoaPods](https://cocoapods.org)
|
||||||
|
|
||||||
ContainerControllerSwift is available through [CocoaPods](https://cocoapods.org). To install
|
ContainerControllerSwift is available through [CocoaPods](https://cocoapods.org). To install
|
||||||
it, simply add the following line to your Podfile:
|
it, simply add the following line to your Podfile:
|
||||||
@@ -66,10 +95,50 @@ it, simply add the following line to your Podfile:
|
|||||||
```ruby
|
```ruby
|
||||||
pod 'ContainerControllerSwift'
|
pod 'ContainerControllerSwift'
|
||||||
```
|
```
|
||||||
### Swift Package Manager with Xcode 11
|
|
||||||
|
### [Swift Package Manager with Xcode 11](https://swift.org/package-manager/)
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
dependencies: [
|
||||||
|
.package(url: "https://github.com/mrustaa/ContainerController.git")
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
Follow [this doc](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app).
|
Follow [this doc](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app).
|
||||||
|
|
||||||
|
|
||||||
|
## Design examples
|
||||||
|
### Designs are borrowed from [Dribbble](https://dribbble.com)
|
||||||
|
|
||||||
|
To get the design, you need to add a branch
|
||||||
|
[ui_examples](https://github.com/mrustaa/ContainerController/tree/ui_examples)
|
||||||
|
|
||||||
|
```swift
|
||||||
|
git clone https://github.com/mrustaa/ContainerController.git
|
||||||
|
cd ContainerController/
|
||||||
|
git checkout ui_examples
|
||||||
|
```
|
||||||
|
|
||||||
|
URLs Author:
|
||||||
|
|
||||||
|
- [Play Music](https://dribbble.com/shots/15381326-Move-Multipurpose-HTML-Template-I), [Sallets](https://dribbble.com/shots/18054638-Sowallet-Mobile-Appp), [Crypto](https://dribbble.com/shots/24353177-Crypto-Loan-Mobile-App), [Buy Stock](https://dribbble.com/shots/14364583-Online-Banking-Mobile-App), [Sport](https://dribbble.com/shots/15544535-Sneakers-Shopping-App), [Taxi](https://dribbble.com/shots/23691282-Taxi-Booking-App-Design), [Map Parking](https://dribbble.com/shots/15034854-AirGarage-Mobile-App-Redesign), [Custom Card](https://dribbble.com/shots/20629590-Business-Card-Mobile-IOS-App), [Apple.Maps App](https://apps.apple.com/us/app/apple-maps/id915056765)
|
||||||
|
|
||||||
|
GIF Previews:
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
|
|||||||
Reference in New Issue
Block a user