List out the methods used in nsurl connection?



List out the methods used in nsurl connection?..

Answer / Utkarsh Srivastava

NSURLConnection has several important methods such as initWithRequest:delegate:startImmediately:, sendSynchronousRequest:returningResponse:error:, connection:didReceiveResponse:, connection:didReceiveData:, and connectionDidFinishLoading:. However, in modern iOS development, it is recommended to use URLSession instead.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What does the gc () method?

1 Answers  


Is objective-c is used in window also?

1 Answers  


What is gcd?

1 Answers  


Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?

1 Answers  


Is objective c dynamically typed?

1 Answers  


What is difference between nil and nill?

1 Answers  


Is objective c open source?

1 Answers  


Can you retain delegates?

1 Answers  


What is struct and enum?

1 Answers  


Is objective c better than c++?

1 Answers  


How to print string in objective c?

1 Answers  


Mention what is the primary use of the category in the objective-c?

1 Answers  


Categories