I have seen
NSArray *objectsToShare = @[objects];
when looking at some example code.
What is the meaning of @[objects]
here ?
NSArray *objectsToShare = @[objects];
is the same as
NSArray *objectsToShare = [NSArray arrayWithObjects:objects count:count];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With