Skip to content

Commit

Permalink
Changelog, IBInspectable
Browse files Browse the repository at this point in the history
  • Loading branch information
paweldudek committed Jul 23, 2017
1 parent ccc774a commit eed34e1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 1.1.1

* Added support for IBInspectable
* Added support for including `PBDCarouselCollectionViewLayout` as a dynamic framework
* Added optional footer
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@

@interface PBDCarouselCollectionViewLayout : UICollectionViewLayout

@property(nonatomic) CGSize itemSize;
@property(nonatomic) CGSize itemSize IBInspectable;

@property(nonatomic) CGFloat interItemSpace;
/*
* Space between items in collection view.
*
* Defaults to 0;
*/
@property(nonatomic) CGFloat interItemSpace IBInspectable;
/*
* Settings this to non-nil value will enable collection header view. Header view is laid out before first item in collection view.
* It does not participate in centering, aka you cannot center collection view on it.
*
* Defaults to CGSizeZero;
*
*/
@property(nonatomic) CGSize headerSize;
@property(nonatomic) CGSize headerSize IBInspectable;

/*
* Settings this to non-nil value will enable collection footer view. Footer view is laid out after first item in collection view.
Expand All @@ -27,6 +32,6 @@
* Defaults to CGSizeZero;
*
*/
@property(nonatomic) CGSize footerSize;
@property(nonatomic) CGSize footerSize IBInspectable;

@end
2 changes: 1 addition & 1 deletion PBDCarouselCollectionViewLayout.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PBDCarouselCollectionViewLayout'
s.version = '1.1.0'
s.version = '1.1.1'
s.summary = 'Carousel collection view layout with custom item size and per-item scroll snapping.'

s.license = {:type => 'MIT' }
Expand Down

0 comments on commit eed34e1

Please sign in to comment.