Can enum be extended in swift?
Answer / Neha Saini
Yes, enums can be extended in Swift to add additional associated values or methods. Extensions allow you to modify existing enum declarations without changing the original code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is swift important?
Is swift similar to python?
What is the usage of switch statement in swift language?
What are the half open range operators in swift?
Is swift an object-oriented programming language?
What is nsdictionary in swift?
In swift, what type of object are basic data types?
How to make a method or variable generics in swift?
What is an attribute in swift?
Is swift easier than java?
What is @objc in swift?
What is differences in swift 1.x, 2.x, 3.x, 4.x?