CGRectMake is used in iOS, it returns a rectangle with the specified coordinate and size values.
Now that CGRectMake , CGPointMake, CGSizeMake, etc. has been removed in Swift 3.0, is there any way to automatically update all initializations …
ios swift swift3 cgrectmakeI have this code inside an animation: image.frame = CGRectMake(x: x, y: y, width, height) I need to get …
ios swift cgrectmakeI need to create a frame for a UIImageView from a varying collection of CGSize and CGPoint, both values will …
ios objective-c quartz-graphics cgpoint cgrectmakeThis question was originally asked for the objective-c programming language. At the time of writing, swift didn't even exist yet. …
ios objective-c cgrect cgrectmakeI'm trying to create multiple views for an iPad app. First I created a menu view and then a sub-menu …
ios uiview cgrectmakeBoth seem to work the same in Swift. Which should we use? CGRectZero vs CGRect.zeroRect GRectMake(1, 1, 1, 1) vs CGRect(x: 1, …
swift struct cgrect cgrectmakeI am trying to check if a CGRect is null in my property getter and if it is, load a …
ios ios6 null cgrect cgrectmakeWhy would [UIScreen mainScreen].bounds.size.height always return 1024 no matter what layout mode the iPad app is in? I …
objective-c ios cgrectmake uiscreenThis is a very simple question of which i can't seem to find the answer. How to do this : CGRectMake(1, 3, …
objective-c syntax cgrect cgrectmakeI want a picture to move to the bottom. If I press a button the pic should move down by 1. …
xcode swift frame cgrectmake