It's easy enough to define a new inline method just like the ones already being used, like CGRectMake().. What about something like this?
static inline CGRect CGRectWithNewOrigin(CGPoint origin, CGRect frame) {
return CGRectMake(origin.x, origin.y, frame.size.width, frame.size.height);
}
Then use it like you would for any other function of CGRect
CGPoint newOrigin = CGPointMake(25.0, 25.0);
CGRect newRect = CGRectWithNewOrigin(newOrigin, oldRect);