@[]
is not a method on NSArray, so you're not going to find it there.
The compiler just translates @[]
into a call to [NSArray arrayWithObjects:count:]
. As in it basically finds all the @[]
and replaces it with [NSArray arrayWithObjects:count:]
(carrying across the arguments of course)
See the Literals section here