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

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -