Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Do
-
0.9
-
Patch Available
Description
Currently there is no easy way to know type information of collections in generated Cocoa thrift classes (due to obj-c collections not being templated).
This becomes awkward from a documentation point of view as the code is not self documenting and assumptions have to be made by the reader based on the type of elements inside a collection.
Suggest appending comments after @property declarations to indicate element type, eg:
@property (nonatomic, retain, getter=newlist, setter=setNewlist NSMutableArray * newlist; // <NSNumber*>