jeudi 2 avril 2015

Typecasting in IOS from CustomObject to id


Vote count:

0




What happens if we typecast a custom object to id,


i had a problem of assigning to id from incompatible type Myclass* __Strong


then i type casted my object to id and it was all fine and worked as a charm.


but my question is will there be any issues that come unexpectedly later on.if so,what is the best way to avoid such warning.



asked 36 secs ago







Typecasting in IOS from CustomObject to id

Aucun commentaire:

Enregistrer un commentaire