How do you allocate object in objective C:-1:-MyClass *obj=malloc(sizeOf(MyClass)); 2:-MyClass *obj=[MyClass alloc];3:-MyClass *obj=[MyClass new];4:-None of the above
No comments:
Post a Comment