https://kotlinlang.org logo
#announcements
Title
# 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