Skip to content

Commit

Permalink
Merge pull request #8 from abema/add-devices
Browse files Browse the repository at this point in the history
Add devices
  • Loading branch information
akkyie authored Nov 27, 2023
2 parents 65aa944 + c03344c commit 69ccdda
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions Source/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ public enum Version: String {
case iPhone13Pro_Max
case iPhoneSE3
case iPhone14
case iPhone14Plus
case iPhone14Pro
case iPhone14Plus
case iPhone14Pro
case iPhone14ProMax
case iPhone15
case iPhone15Plus
case iPhone15Pro
case iPhone15ProMax

/*** iPad ***/
case iPad1
Expand Down
10 changes: 7 additions & 3 deletions Source/iOS/Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,13 @@ open class Device {
case "iPhone14,5": return .iPhone13
case "iPhone14,6": return .iPhoneSE3
case "iPhone14,7": return .iPhone14
case "iPhone14,8": return .iPhone14Plus
case "iPhone15,2": return .iPhone14Pro
case "iPhone15,3": return .iPhone14ProMax
case "iPhone14,8": return .iPhone14Plus
case "iPhone15,2": return .iPhone14Pro
case "iPhone15,3": return .iPhone14ProMax
case "iPhone15,4": return .iPhone15
case "iPhone15,5": return .iPhone15Plus
case "iPhone16,1": return .iPhone15Pro
case "iPhone16,2": return .iPhone15ProMax

/*** iPad ***/
case "iPad1,1", "iPad1,2": return .iPad1
Expand Down

0 comments on commit 69ccdda

Please sign in to comment.