I have seen in many places over the net and even in apple documentation when an array is represented in the following format:
@[obj1,obj2]
For eg; In predicate programming guide there is a statement like this:
NSCompoundPredicate *predicate = [NSCompoundPredicate andPredicateWithSubpredicates:@[greaterThanPredicate, lessThanPredicate]];
But when I write the same in code , i get an 'unexpected @ in program' (as expected) compiler error. Is this just a way of representing arrays or am i missing something?