Skip to content

Commit

Permalink
Convert structs to classes
Browse files Browse the repository at this point in the history
  • Loading branch information
pietbrauer committed Aug 25, 2015
1 parent 47ce8a0 commit bb98e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pod/Repositories.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation

// MARK: model

public struct Repository {
public class Repository: AnyObject {
public let id: Int
public let owner: User
public var name: String?
Expand Down
2 changes: 1 addition & 1 deletion Pod/User.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation

// MARK: model

public struct User {
public class User: AnyObject {
public let id: Int
public var login: String?
public var avatarURL: String?
Expand Down

0 comments on commit bb98e35

Please sign in to comment.