Explain me what is a category and when is it used?
Submitted by: MuhammadA category is a way of adding additional methods to a class without extending it. It is often used to add a collection of related methods. A common use case is to add additional methods to built in classes in the Cocoa frameworks. For example adding async download methods to the UIImage class.
Submitted by: Muhammad
Submitted by: Muhammad
Read Online Swift Developer Job Interview Questions And Answers
Top Swift Developer Questions
☺ | How to prioritize the usability of the demand Process? |
☺ | Explain me why do we use swift? |
☺ | Can you please explain the difference between between @synthesize and @dynamic in Objective –C? |
☺ | Do you know the Adapter And Memento Pattern? |
☺ | Do you know how Multiple Line Comment Can Be Written In Swift? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |