SHARE
TWEET

Untitled

a guest May 24th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  Actor.swift
  3. //  ActorsApp
  4. //
  5. //  Created by new user on 7/5/19.
  6. //  Copyright © 2019 new user. All rights reserved.
  7. //
  8.  
  9. import Foundation
  10. class Actor: NSObject, Codable {
  11.     var firstName : String
  12.     var lastName : String
  13.     var dob :Int
  14.    
  15.     override private init () {
  16.         self.firstName   = ""
  17.         self.lastName = ""
  18.         self.dob  = 0
  19.     }
  20.     init(firstName:String, lastName:String, dob :Int) {
  21.         self.firstName = firstName
  22.         self.lastName = lastName
  23.         self.dob = dob
  24.         super.init()
  25.     }
  26.    
  27.    
  28.    
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top