Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Designing Interviews:2D Artist2D Game Graphic Designer3-D Animation3D Artist3D Game Modeler3D Graphics3D Illustrator3D Interior Designer3D Maya3D ModelingAssistant Design EngineerAutomobile DesignerDesign EngineerFashion DesignerFreelance Textile DesignerItalian Kitchen DesignerLogo DesignerMobile Apps DesignerPhysical Product DesignerProduct DesignerTextile Dyeing SpecialistUX DesignerWeb Designing
Copyright © 2018. All Rights Reserved
UX Designer Interview Question:
Tell us what's the difference between using a delegate and notification?
Submitted by: MuhammadBoth are used for sending values and messages to interested parties. A delegate is for one-to-one communication and is a pattern promoted by Apple. In delegation the class raising events will have a property for the delegate and will typically expect it to implement some protocol. The delegating class can then call the _delegate_s protocol methods.
Notification allows a class to broadcast events across the entire application to any interested parties. The broadcasting class doesn't need to know anything about the listeners for this event, therefore notification is very useful in helping to decouple components in an application.
Submitted by: Muhammad
Notification allows a class to broadcast events across the entire application to any interested parties. The broadcasting class doesn't need to know anything about the listeners for this event, therefore notification is very useful in helping to decouple components in an application.
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.