Added the ability to resize the frame within Objective-C