Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Implement object subscripting #1

Open
acorscadden opened this issue Jun 28, 2013 · 1 comment
Open

Implement object subscripting #1

acorscadden opened this issue Jun 28, 2013 · 1 comment

Comments

@acorscadden
Copy link

This framework looks pretty neat!

I think it could benefit from object subscripting. http://nshipster.com/object-subscripting/

@ahknight
Copy link

The problem is then finding a way to denote what type you expect back. Maybe self.theme.colors[@"someKey"] and self.theme.fonts[@"anotherKey"]?

In Swift those could be exposed as typed dicts to boot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants