Adonit/Adonit-iOS-SDK

Untyped arrays in header files

hristost opened this issue · 0 comments

It would be nice if NSArrays had types associated with them. For example, this definition

@property (nonatomic, readonly) NSArray *coalescedJotStrokes;

could change to

@property (nonatomic, readonly) NSArray<JotStroke*> *coalescedJotStrokes; 

This would save some developers from needing to cast in Swift, and makes the property definitions more concrete.