Just curious, how do I store this struct into a property
void CGContextAddCurveToPoint (
CGContextRef c,
CGFloat cp1x,
CGFloat cp1y,
CGFloat cp2x,
CGFloat cp2y,
CGFloat x,
CGFloat y
);
like
@property (strong, nonatomic) void ??
What you are presenting in your question is not a
structit is amethod.It is possible to do the following though. Declare a struct first:
and secondly declare a property that will have a type specification of
yourStructe.g:
@property yourStruct yourPropertyName;