How to create your own Data Type using typedef
With typedef you can specify custom variable types. Instead of having a variable such as int, you could create your own – such as yourInt: // create a typedef of int typedef int yourInt; yourInt yourValue = 57; NSLog(@”Your value is %i”, yourValue); Now you have your own variable type called youInt which behaves just […]