Join Slack
Powered by
Swift has a funtionBuilder/propertyWrapper that’s ...
# announcements
s
scottiedog45
09/16/2019, 10:40 PM
Swift has a funtionBuilder/propertyWrapper that’s pretty nifty. Does kotlin have something like this? Something like
@sumOnlyOddInts
above a list of ints would filter the ints.
c
Casey Brooks
09/16/2019, 10:47 PM
I’m not too familiar with Swift, but perhaps property delegates are what you’re looking for?
https://kotlinlang.org/docs/reference/delegated-properties.html
➕ 1
👍 1
11
Views
Open in Slack
Previous
Next