how to create a new class object in swift code example Example: create class swift class example { // code here... } let x = example()