iOS FrameAccessor
https://github.com/AlexDenisov/FrameAccessor
Easy access to view's frame.
Use
view.x = 15;
view.width = 167;
instead
CGRect newFrame = view.frame;
newFrame.origin.x = 15;
newFrame.size.width = 167;
view.frame = newFrame;
You can access x, y, width, height, origin or size like properties.
Written by AlexDenisov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#