Advertisement
ItzStaze

first swift program

Jan 9th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 1.65 KB | None | 0 0
  1. func input() -> String {
  2.     var keyboard = NSFileHandle.fileHandleWithStandardInput()
  3.     var inputData = keyboard.availableData
  4.     return NSString(data: inputData, encoding:NSUTF8StringEncoding) as! String
  5. }
  6. class human()
  7. {
  8.     var name = name
  9.     var job = job
  10.     var rep = rep
  11.     func fuckBitches -> String
  12.     {
  13.         switch datBitch
  14.         {
  15.             case "Juanita": //Mexican Girl
  16.                 print("MMMmm that Latina named Juanita. I fucked her in her hut, slipped it right in her butt.")
  17.             case "AsianGirl": //Asian Girl
  18.                 print("Theres this asian named Chung-Ho. Spittin bars, got some real nice flow")
  19.             case "Shaniqua": //Black Girl
  20.                 print("Hopped in this girl names Shaniqua, fucked her hard she wanted a Sequal")
  21.             case "Megan": //White girl
  22.                 print("Then there is this girl named megan, fucked her hard cum came out dat waggon")
  23.             default: //No girl
  24.                 print("Guess I'm usin my hand, fam.")
  25.         }
  26.         print("I'm fuckin bitches")
  27.         return
  28.     }
  29.     func gettinMoney -> String
  30.     {
  31.         print("Gettin that dough fucc outa here")
  32.         var moneyMax : Int = 0
  33.         while true
  34.         {
  35.             moneyMax = moneyMax += 1
  36.         }
  37.         for var money : Int = 0; money < moneyMax; money++
  38.         {
  39.             print("Makin dat muney, currently at" + money + ". Sittin @ home doin nada. come @me")
  40.         }
  41.     }
  42. }
  43. var staze = human()
  44. staze.name = "Staze"
  45. staze.job = "I dont need a job nigga I got money."
  46. staze.rep = "Everybody know me. Gotta stay classy"
  47. staze.fuckBitches()
  48. staze.gettinMoney()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement