diff --git a/Blueprints.podspec b/Blueprints.podspec index 3f26b6e..4b9f261 100644 --- a/Blueprints.podspec +++ b/Blueprints.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Blueprints" s.summary = "A collection of flow layouts that is meant to make your life easier." - s.version = "0.13.1" + s.version = "0.13.2" s.homepage = "https://github.com/zenangst/Blueprints" s.license = 'MIT' s.author = { "Christoffer Winterkvist" => "christoffer@winterkvist.com" } diff --git a/Sources/Shared/Core/BlueprintLayout.swift b/Sources/Shared/Core/BlueprintLayout.swift index 14d6c58..c9a88f8 100644 --- a/Sources/Shared/Core/BlueprintLayout.swift +++ b/Sources/Shared/Core/BlueprintLayout.swift @@ -35,7 +35,7 @@ public var contentSize: CGSize = .zero /// The number of sections in the collection view. var numberOfSections: Int { return resolveCollectionView({ $0.dataSource?.numberOfSections?(in: $0) }, - defaultValue: 1) } + defaultValue: 0) } /// A layout animator object, defaults to `DefaultLayoutAnimator`. var animator: BlueprintLayoutAnimator var supplementaryWidth: CGFloat = 0