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

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -