среда, 1 мая 2013 г.

ObjC messages to nil

It's wide known fact that in ObjC you can safely send any message to 'nil' object. Implementation turned out to be a bit more tricky than I supposed, here is code of 'libobjc': Message will go to another receiver if system finds some value in '__objc_nilReceiver'! Moreover I found private ad-hoc function to change value of this variable without a hassle. And here is code that prints "Some" Just interesting fact to know...

1 комментарий:

ekaterinajacquetta комментирует...

Sands Casino NJ | Exclusive 20 Free Spins No Deposit
Sands Casino is a brand-new NJ online 샌즈카지노 casino, offering games from top Microgaming leovegas brands such as Microgaming and Big Time 인카지노 Gaming. New players are treated to 20