Skip to content

Commit

Permalink
Merge pull request #432 from kyleve/connor/update-docs
Browse files Browse the repository at this point in the history
Update documentation for `LayoutDescription` and `ListProperties` to use new padding API
  • Loading branch information
kyleve authored Sep 12, 2022
2 parents 3689753 + 8224de6 commit cc2051f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Foundation
/// listView.layout = .table {
/// $0.stickySectionHeaders = true
///
/// $0.layout.padding = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
/// $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))
/// $0.layout.itemSpacing = 10.0
/// }
/// ```
Expand Down
2 changes: 1 addition & 1 deletion ListableUI/Sources/ListProperties.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ import UIKit
/// list.layout = .table {
/// $0.stickySectionHeaders = true
///
/// $0.layout.padding = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
/// $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))
/// $0.layout.itemSpacing = 10.0
/// }
/// ```
Expand Down

0 comments on commit cc2051f

Please sign in to comment.