Objective-C class for placing UI elements based on screen size I'm always programmatically creating and laying out UI elements in multiple ViewControllers and I've wanted an easy way to get relevant Screen information (sizes/points) globally using a helper class. 

I've created a FlexibleScreen class and would like some constructive feedback.  In addition to the typical code review feedback of format, syntax, etc I would really like to know how well this solves my problem functionally and what suggestions you have about the design or what additional functionality I could add.

FlexibleScreen.h

#import &lt;Foundation/Foundation.h&gt;

@interface FlexibleScreen : NSObject

+(CGSize)getScreenSize;
+(CGPoint)getCenter;
+(CGPoint)getCenterWithY:(double)y;
+(CGPoint)getCenterWithX:(double)x;

@end


FlexibleScreen.m

#import "FlexibleScreen.h"

@interface FlexibleScreen()

@property (assign) CGRect bounds;
@end


@implementation FlexibleScreen

+(CGSize)getScreenSize
{
    return CGSizeMake([[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height);
}

+(CGPoint)getCenter
{
    return CGPointMake([[UIScreen mainScreen] bounds].size.width/2, [[UIScreen mainScreen] bounds].size.height/2);
}

+(CGPoint)getCenterWithY:(double)y
{
    return CGPointMake([[UIScreen mainScreen] bounds].size.width/2, y);
}

+(CGPoint)getCenterWithX:(double)x
{
    return CGPointMake(x, [[UIScreen mainScreen] bounds].size.height/2);
}

@end


Implementing Code

#import "FlexibleScreen.h"


...

CGRect headerFrame = CGRectMake(0, 0, [FlexibleScreen getScreenSize].width, HEADER_HEIGHT);
CGRect footerFrame = CGRectMake(0, [FlexibleScreen getScreenSize].height-FOOTER_HEIGHT, [FlexibleScreen getScreenSize].width, FOOTER_HEIGHT);


...

[label setCenter:[FlexibleScreen getCenterWithY:0]];


UPDATE:
As I used this more I realized I wanted it to be a lot simpler. Here is my latest version GitHub: UIScreen+Flexible.
Some thoughts on it:


Code: I'd suggest to create a Category on UIScreen. This is even more elegant than creating a separate class.
Naming: In Objective-C getter usually do not have the prefix "get".
General approach: Without knowing the background of your app and any detailed implementation, it's not common to layout UIViews relatively to the screen. As you're using UIViewControllers, any additional view should be added as a subview to the UIViewController's view. This ensures that layout and orientation changes are handled for you and are automatically being applied to all subviews by the UIViewController.