Skip to content

A simple library that provides device information for iOS/macOS apps

License

Notifications You must be signed in to change notification settings

jaywcjlove/DeviceInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using my app is also a way to support me:
Deskmark Keyzer Vidwall Hub VidCrop Vidwall Mousio Hint Mousio Musicer Audioer FileSentinel FocusCursor Videoer KeyClicker DayBar Iconed Mousio Quick RSS Quick RSS Web Serve Copybook Generator DevTutor for SwiftUI RegexMate Time Passage Iconize Folder Textsound Saver Create Custom Symbols DevHub Resume Revise Palette Genius Symbol Scribe

DeviceInfo

A simple library that provides device information for iOS/macOS apps

Welcome to download DevTutor, a cheat sheet app designed to help developers quickly build excellent applications using SwiftUI.

DevTutor for SwiftUI AppStore

import DeviceInfo

DeviceInfo.bundleName                     // e.g "DeviceInfoExample"
DeviceInfo.bundleIdentifier               // e.g "com.wangchujiang.DeviceInfoExample"
DeviceInfo.bundleVersion                  // e.g "1"
DeviceInfo.systemVersionString            // e.g "Version 15.0 (Build 24A335)"
DeviceInfo.isDarkMode                     // e.g `true`
DeviceInfo.version                        // e.g "1.3"
DeviceInfo.systemVersion.majorVersion     // e.g "1"
DeviceInfo.systemVersion.minorVersion     // e.g "3"
DeviceInfo.systemVersion.patchVersion     // e.g "0"
DeviceInfo.systemMajorVersion             // e.g "1"
DeviceInfo.systemMinorVersion             // e.g "3"
DeviceInfo.systemPatchVersion             // e.g "0"
DeviceInfo.appIcon           // -> UIImage | NSImage
DeviceInfo.copyright         // "Copyright © 2024 Chujiang Wang. All rights reserved."

DeviceInfo.appIsSandboxed    // e.g `true`

License

Licensed under the MIT License.

About

A simple library that provides device information for iOS/macOS apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages