Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f077711d1f | ||
|
|
8c2a5bb31b | ||
|
|
bfd276ac68 | ||
|
|
799fba5bcf |
@@ -24,7 +24,7 @@ We specialize in the designing and coding of custom UI for Mobile Apps and Websi
|
||||
**Looking for developers for your project?**<br>
|
||||
This project is maintained by Ramotion, Inc. We specialize in the designing and coding of custom UI for Mobile Apps and Websites.
|
||||
|
||||
<a href="https://dev.ramotion.com/?utm_source=gthb&utm_medium=special&utm_campaign=expanding-collection-contact-us">
|
||||
<a href="mailto:alex.a@ramotion.com?subject=Project%20inquiry%20from%20Github">
|
||||
<img src="https://github.com/ramotion/gliding-collection/raw/master/contact_our_team@2x.png" width="187" height="34"></a> <br>
|
||||
|
||||
|
||||
@@ -178,6 +178,8 @@ required init?(coder aDecoder: NSCoder) {
|
||||
4) For back transition use `popTransitionAnimation()`
|
||||
|
||||
|
||||
This library is a part of a <a href="https://github.com/Ramotion/swift-ui-animation-components-and-libraries"><b>selection of our best UI open-source projects.</b></a>
|
||||
|
||||
## License
|
||||
|
||||
Expanding collection is released under the MIT license.
|
||||
@@ -190,7 +192,7 @@ Try this UI component and more like this in our iOS app. Contact us if intereste
|
||||
|
||||
<a href="https://itunes.apple.com/app/apple-store/id1182360240?pt=550053&ct=expanding-collection&mt=8" >
|
||||
<img src="https://github.com/ramotion/gliding-collection/raw/master/app_store@2x.png" width="117" height="34"></a>
|
||||
<a href="https://dev.ramotion.com/?utm_source=gthb&utm_medium=special&utm_campaign=expanding-collection-contact-us">
|
||||
<a href="mailto:alex.a@ramotion.com?subject=Project%20inquiry%20from%20Github">
|
||||
<img src="https://github.com/ramotion/gliding-collection/raw/master/contact_our_team@2x.png" width="187" height="34"></a>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
@@ -176,9 +176,8 @@ extension BasePageCollectionCell {
|
||||
contentView.insertSubview(shadow, belowSubview: view)
|
||||
|
||||
// create constraints
|
||||
let frontViewlayoutAttribs:[(NSLayoutAttribute, CGFloat)] = [(NSLayoutAttribute.width, 0.8), (NSLayoutAttribute.height, 0.9)]
|
||||
|
||||
for info: (attribute: NSLayoutAttribute, scale: CGFloat) in frontViewlayoutAttribs {
|
||||
let sizeConstaints: [(NSLayoutAttribute, CGFloat)] = [(NSLayoutAttribute.width, 0.8), (NSLayoutAttribute.height, 0.9)]
|
||||
for info: (attribute: NSLayoutAttribute, scale: CGFloat) in sizeConstaints {
|
||||
if let frontViewConstraint = view.getConstraint(info.attribute) {
|
||||
shadow >>>- {
|
||||
$0.attribute = info.attribute
|
||||
@@ -188,9 +187,8 @@ extension BasePageCollectionCell {
|
||||
}
|
||||
}
|
||||
|
||||
let contentViewlayoutAttribs:[(NSLayoutAttribute, CGFloat)] = [(NSLayoutAttribute.centerX, 0), (NSLayoutAttribute.centerY, 30)]
|
||||
|
||||
for info: (attribute: NSLayoutAttribute, offset: CGFloat) in contentViewlayoutAttribs {
|
||||
let centerConstraints: [(NSLayoutAttribute, CGFloat)] = [(NSLayoutAttribute.centerX, 0), (NSLayoutAttribute.centerY, 30)]
|
||||
for info: (attribute: NSLayoutAttribute, offset: CGFloat) in centerConstraints {
|
||||
(contentView, shadow, view) >>>- {
|
||||
$0.attribute = info.attribute
|
||||
$0.constant = info.offset
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'expanding-collection'
|
||||
s.version = '2.0.1'
|
||||
s.version = '2.1.0'
|
||||
s.summary = 'Transition animtion from CollectionView to TableView'
|
||||
s.license = 'MIT'
|
||||
s.homepage = 'https://github.com/Ramotion/expanding-collection'
|
||||
|
||||
Reference in New Issue
Block a user