Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.txt 297B

123456789101112131415
  1. import Foundation
  2. @objc class Person: Entity {
  3. var name: String!
  4. var age: Int!
  5. init(name: String, age: Int) {
  6. /* /* ... */ */
  7. }
  8. // Return a descriptive string for this person
  9. func description(offset: Int = 0) -> String {
  10. return "\(name) is \(age + offset) years old"
  11. }
  12. }