8000 Update default number of sections by christoff-1992 · Pull Request #140 · zenangst/Blueprints · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Update default number of sections #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
D5CC
2 changes: 1 addition & 1 deletion Blueprints.podspec
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shared/Core/BlueprintLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
0