Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. struct UserDAO {
  2. static func add(name: String) {
  3. print("Storing user \(name)")
  4. }
  5. }
  6.  
  7. struct User {
  8.  
  9. func add(name: String) {
  10. UserDAO.add(name)
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement