we are soft warriors can touch anything related to soft logics with that in mind have created this blog to craft our ship.
Friday, 15 May 2020
Protocol Extension for camera and gallery picker
We can implement the gallery and camera functionality in one line using protocols power.
Thesyntaxof protocol is really simple.
While working with protocol, you will get to know that there are multiple ways to declare an optional function. One way to declare optional functions is to define functions with empty body in the protocol extension. You can define body for any function to make it optional.
No comments:
Post a Comment