Home >> ios >> What is category in Swift in ios

What is category in Swift in ios

Category is needed to add any methods to a class whose source code is not available to you or you want to break down a class into several files depending on its functionality. Example: NSString. 

Post Your Comment

Next Questions
What does extension mean in Swift

Copyright ©2022 coderraj.com. All Rights Reserved.