Answer the question
In order to leave comments, you need to log in
Create an object?
Good day, I recently passed a test and there was a question whether there could be a difference in the selection and initialization of an object
SomeClass * object = [SomeClass alloc];
object = [SomeClass init];
// с привычным
SomeClass * object = [[SomeClass alloc]init];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question