Top "Cgpoint" questions

CGPoint is a structure from Apple's Core Graphics framework.

IOS: verify if a point is inside a rect

Is there a way to verify if a CGPoint is inside a specific CGRect. An example would be: I'm dragging …

ios uiview collision-detection cgrect cgpoint
How do I create a CGRect from a CGPoint and CGSize?

I 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 cgrectmake
How to get a CGPoint from a tapped location?

I'm working on a graphing calculator app for the iPad, and I wanted to add a feature where a user …

ios xcode ipad touch cgpoint
CGPointMake in Swift

How to use CGPointMake in Swift? Is there an equivalent for it? I am getting an error: Use of unresolved …

ios objective-c swift sprite-kit cgpoint
How do I add a CGPoint to NSMutableArray?

I want to store my CGPoint to the NSMutable Array, so , I have method like this: [self.points addObject:CGPointMake(…

iphone objective-c nsarray cgpoint
Inheritance from non-protocol, non-class type 'CGPoint'

I want to create a custom CGPoint subclass to add some proprieties, but I get this error: Inheritance from non-protocol, …

swift cgpoint
How to test if a point is in a view

I have a UIImageView and I have a CGPoint on the screen. I want to be able to test that …

iphone xcode uiview position cgpoint
How to draw a circle in swift using spriteKit?

I just started doing ios development with swift and I can't figure out how to draw a circle. I'm just …

ios swift sprite-kit cgpoint skshapenode
Converting a CGPoint to NSValue

In CABasicAnimation.fromValue I want to convert a CGPoint to a "class" so I used NSValue valueWithPoint but in device …

objective-c iphone cgpoint nsvalue
CGPointMake explanation needed?

could anyone explain to me what CGPointMake does please? image.position = CGPointMake(80,200); id go = [MoveTo actionWithDuration:2 position:CGPointMake(190,460)]; for example …

objective-c cgpoint