Archives for 

xcode

Creating a Rotate Gesture

Here is a complete Rotate Gesture example: We have 2 things – a handle and the gesture itself that uses the handle.. Here is the gesture: is what points to the Handle ( make sure you don’t misspell this). Here is the actual handle:
0

Creating a Pan Gesture

Here is a complete Pan Gesture example: We have 2 things – a handle and the gesture itself that uses the handle..   Here is the gesture: is what points to the Handle ( make sure you don’t misspell this ).   Here is the actual handle:
0

Pick an Image / image picker

This example is to show how to pick an image from a soure ( in this case, the Saved Photos )   First create the function for the Image Picker: Then this is what we are actually gonna tie up to our button for loading an image:
3

Creating animated labels

In this example we are creating 2 labels. Both are going to be animated, one of them twice. Please carefully examine the code: Then we call the flying Labels wherever we need it:
2

Creating a function

To create a basic function: Then you call it with: This would print a message “Just created my first function!” in the console. To create a function with parameters: This function will take 2 parameters – ‘a’ and ‘b’ and then return the Sum of both as an Integer value. The way […]
0