Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
80f1214f
Unverified
Commit
80f1214f
authored
Jul 06, 2018
by
Daniel Dahan
Committed by
GitHub
Jul 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1113 from OrkhanAlikhanov/grid-update
Added update() to Grid
parents
f99b6dfd
a291ca04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Sources/iOS/Grid.swift
+10
-0
No files found.
Sources/iOS/Grid.swift
View file @
80f1214f
...
@@ -189,6 +189,16 @@ public struct Grid {
...
@@ -189,6 +189,16 @@ public struct Grid {
reload
()
reload
()
}
}
/**
Update grid in a deferred block.
- Parameter block: An update code block.
*/
public
mutating
func
update
(
_
block
:
(
Grid
)
->
Void
)
{
begin
()
block
(
self
)
commit
()
}
/// Reload the button layout.
/// Reload the button layout.
public
func
reload
()
{
public
func
reload
()
{
guard
!
isDeferred
else
{
guard
!
isDeferred
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment