29 lines
650 B
Swift
29 lines
650 B
Swift
//
|
|
// ViewController.swift
|
|
// UIDeviceModelNames
|
|
//
|
|
// Created by Jordan Koch on 11/20/2019.
|
|
// Copyright (c) 2019 Jordan Koch. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import UIDeviceModelNames
|
|
|
|
class ViewController: UIViewController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
// Do any additional setup after loading the view, typically from a nib.
|
|
|
|
print(UIDeviceModelNames.hardwareIdentifier)
|
|
print(UIDeviceModelNames.modelName)
|
|
}
|
|
|
|
override func didReceiveMemoryWarning() {
|
|
super.didReceiveMemoryWarning()
|
|
// Dispose of any resources that can be recreated.
|
|
}
|
|
|
|
}
|
|
|