Skip to content

Instantly share code, notes, and snippets.

@davidseek
Created February 8, 2021 03:15
Show Gist options
  • Save davidseek/06a9abd32e3a27edf986650b78bc170d to your computer and use it in GitHub Desktop.
Save davidseek/06a9abd32e3a27edf986650b78bc170d to your computer and use it in GitHub Desktop.
hotel.swift
// I'm creating a hotel class
class Hotel {
// And I'm giving it the following defintions for some functions
// One function to check a dog in that returns a roomID
func checkIn(_ dog: Dog) -> String
// And one function that checks the dog out.
func checkOut(_ dog: Dog) -> Dog?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment