New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Showing results 1 to 4 of 4
Search took 0.70 seconds.
Search: Posts Made By: ad407
Forum: iOS Development 04-21-2014, 06:28 PM
Replies: 11
Views: 1,434
Posted By ad407
I have looked at several beginners books but I...

I have looked at several beginners books but I couldn't find anything concerning if statements and co-ordinates.

However, I have solved my problem with thanks to you so thank you! This has been...
Forum: iOS Development 04-21-2014, 04:56 PM
Replies: 11
Views: 1,434
Posted By ad407
Ahhhhhh I understand! so: if...

Ahhhhhh I understand!

so:

if (Panda.origin.x == 12, Panda.origin.y == 20){

is better but still not correct, xcode is still saying this doesnt work?

Thanks!
Forum: iOS Development 04-21-2014, 03:05 PM
Replies: 11
Views: 1,434
Posted By ad407
I am trying to make the IF statement dependent on...

I am trying to make the IF statement dependent on what the objects x and y co-ordinates are.

Here is part of my code:

- (void)oneFingerSwipeLeft:(UITapGestureRecognizer *)recognizer {
//...
Forum: iOS Development 04-20-2014, 08:31 PM
Replies: 11
Views: 1,434
Posted By ad407
Coordinate Dependent If Statements

I have recently started to use Xcode and I am having some difficulties.

I have set up a swipe gesture to move an image depending on whether you swipe to the right or left. I want to create an IF...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 04:17 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?