objective c - Get CGRect from NSStringFromCGRect -
i stored frame (cgrect
) in nsstringfromcgrect
, how later retrieve rect?
[mdict setobject:nsstringfromcgrect(frame) forkey:@"frame"];
i need data how?
cgrect frame = [[mdict objectforkey:@"frame"] ..?]
does method exist or have parse string manually?
i think looking for,
cgrect frame = cgrectfromstring([mdict objectforkey:@"frame"]);
Comments
Post a Comment