I have just started coming across this use of an @ notation instead of a proper type initializer. Being quite simply an @ I've not been able to google any more info about it.
What is is, I've found these
@15 -> creates a NSNumber
@[@"one", @"two", @three"] -> creates a NSArray
Do anyone know where to find a bit more documentation around this? what the full capabilities are and any drawbacks?
What is is, I've found these
@15 -> creates a NSNumber
@[@"one", @"two", @three"] -> creates a NSArray
Do anyone know where to find a bit more documentation around this? what the full capabilities are and any drawbacks?