| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add accessingValueForKey() that takes a key and a block and wraps the block in willAccessValueForKey()/didAccessValueForKey(); same for will/didChangeValueForKey.
This allows writing:
var foo {
return accessingValueForKey(Keys.Foo) { primitiveFoo }
}
| Back | FazBrowse Home | New Git URL |
Add accessingValueForKey() that takes a key and a block and wraps the block in willAccessValueForKey()/didAccessValueForKey(); same for willChangeValueForKey()/didChangeValueForKey().
This allows writing:
var foo { return accessingValueForKey(Keys.Foo) { primitiveFoo } }