-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Codeglee/feature/add-2021-ipads
Adds 2021 iPads 11" and 12.9"
- Loading branch information
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
UIScreenExtension.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// SimulatorDeviceInfoView.swift | ||
// UIScreenExtension | ||
// | ||
// Created by Tristan Warner-Smith on 05/06/2021. | ||
// Copyright © 2021 marchv. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct SimulatorDeviceInfoView: View { | ||
|
||
@available(iOS 13.0, *) | ||
var body: some View { | ||
Text("Model identifier: ") + Text("\(UIDevice.modelIdentifier)").bold() | ||
} | ||
} | ||
|
||
struct SimulatorDeviceInfoView_Previews: PreviewProvider { | ||
@available(iOS 13.0, *) | ||
static var previews: some View { | ||
SimulatorDeviceInfoView() | ||
} | ||
} |