model driven gone
This commit is contained in:
parent
0bb3c8a719
commit
a0f9470c27
@ -26,7 +26,7 @@ public class StackItem {
|
||||
}
|
||||
|
||||
func update(with json: [AnyHashable: Any]?) {
|
||||
gone = (json == nil)
|
||||
gone = json?.boolForKey("gone") ?? (json == nil)
|
||||
spacing = json?.optionalCGFloatForKey("spacing")
|
||||
percentage = json?["percent"] as? Int
|
||||
if let alignment = json?.stringOptionalWithChainOfKeysOrIndexes([KeyMolecule,"verticalAlignment"]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user