Returns a Core Graphics rectangle structure corresponding to the data in a given string.
Function CCRectFromString
#include <Geode/cocos/cocoa/CCNS.h>
charconst*pszContent
)pszContent
A string object whose contents are of the form "{{x,y},{w, h}}", where x is the x coordinate, y is the y coordinate, w is the width, and h is the height. These components can represent integer or float values. An example of a valid string is "{{3,2},{4,5}}". The string is not localized, so items are always separated with a comma.
A Core Graphics structure that represents a rectangle. If the string is not well-formed, the function returns CCRectZero.