Can enum be extended in swift?



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

Post New Answer

More Apple iOS Swift Interview Questions

Why is swift important?

1 Answers  


Is swift similar to python?

1 Answers  


What is the usage of switch statement in swift language?

1 Answers  


What are the half open range operators in swift?

1 Answers  


Is swift an object-oriented programming language?

1 Answers  


What is nsdictionary in swift?

1 Answers  


In swift, what type of object are basic data types?

1 Answers  


How to make a method or variable generics in swift?

1 Answers  


What is an attribute in swift?

1 Answers  


Is swift easier than java?

1 Answers  


What is @objc in swift?

1 Answers  


What is differences in swift 1.x, 2.x, 3.x, 4.x?

1 Answers  


Categories