Why we use delegate in ios?



Why we use delegate in ios?..

Answer / Omendra Kumar Shukla

Delegates are used in iOS to handle events, manage the flow of data between different parts of an app, and decouple objects so they don't have a direct reference to each other. This makes the code more modular, easier to test, and promotes good design practices.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is block in ios swift?

1 Answers  


What is bundle id?

1 Answers  


An app is loaded into memory but is not executing any code. In which state will it be in?

1 Answers  


Who is the developer of ios?

1 Answers  


Which object manage the presentation of app's content on the screen?

1 Answers  


What performance issues can you face when using coredata?

1 Answers  


What is nonatomic?

1 Answers  


What is grand central dispatch ios?

1 Answers  


Define 'strong' keyword?

1 Answers  


Why do we use synchronized ?

1 Answers  


Do you know what are layer objects and what do they represent?

1 Answers  


What are the features of ios?

1 Answers  


Categories