Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Objective-c "in" operator

I have noticed you can use "in" in objective c in xcode.

What does "in" mean? and how can it be used in code? Could not find anything in google since "in" can be used in normal sentences and the results are very vague.

like image 426
B-Man Avatar asked May 18 '26 20:05

B-Man


1 Answers

"in" used in a syntax for fast enumeration over obj-c collections

like image 59
Vladimir Avatar answered May 21 '26 14:05

Vladimir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!