Top Tweets for #nsarray
That list is so short. In Objective-C we had so much more choice:
Arrays (Ordered collections):
- NSArray: Immutable, ordered list. Duplicates OK.
- NSMutableArray: Mutable version with add/remove/replace.
- NSPointerArray: Customizable for pointers (strong/weak refs).
Dictionaries (Key-value pairs):
- NSDictionary: Immutable, unique keys (NSCopying) to values.
- NSMutableDictionary: Mutable with add/remove/set.
- NSMapTable: Flexible with options like weak keys/values.
Sets (Unordered unique collections):
- NSSet: Immutable, unique objs via hash.
- NSMutableSet: Mutable with add/remove.
- NSCountedSet: Multiset (tracks counts), subclass of NSMutableSet.
- NSHashTable: Customizable (weak members, etc.).
Ordered Sets (Ordered unique collections, iOS 5+/macOS 10.7+):
- NSOrderedSet: Immutable, array order + set uniqueness.
- NSMutableOrderedSet: Mutable with insert/remove while keeping order/uniqueness.
@_solodev look up how NSArray/CFArray implemented sometime, it switches implementation after like 300k elements and is like O(log N) lookup time.
for swift, try indexing to a specific character in a String, O(N) oeration, angels weep
Talking to fellow #iOSConfSG devs about pain during old Obj-C days, comparing which is more painful π€£
- NSArray can hold any type of object
- Nil objects causing crashes
- [[[[[function call] with] nested] brackets] of] hell]
- Pre ARC retain & release calls
Last Seen Hashtags on Sotwe
Ψ³ΩΨ³_ΩΨͺΨ§Ψ¨Ω
Seen from United States
coilpunk
Seen from Italy
sanantonio
Seen from United States
payalgamingviralvideo
Seen from Pakistan
atlantameets
LobosEnLasIslas
Seen from Saudi Arabia
porncaptions
Seen from Jordan
ama2000
Seen from South Africa
nohayoxigeno
Seen from Austria
unexpected()**********************************************filter:videos
Seen from Malaysia
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers


