Swift:Object-oriented programming concepts in Swift