Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anbalagand/imodels
This library provide device(iPhone) model name with human readable way
https://github.com/anbalagand/imodels
cocoapods device-model devicename ios ipad iphone modelname spm swift swiftpackagemanager swiftui watchos
Last synced: 2 months ago
JSON representation
This library provide device(iPhone) model name with human readable way
- Host: GitHub
- URL: https://github.com/anbalagand/imodels
- Owner: AnbalaganD
- License: mit
- Created: 2023-02-18T18:14:05.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T14:30:05.000Z (4 months ago)
- Last Synced: 2024-10-10T22:42:14.710Z (2 months ago)
- Topics: cocoapods, device-model, devicename, ios, ipad, iphone, modelname, spm, swift, swiftpackagemanager, swiftui, watchos
- Language: Swift
- Homepage:
- Size: 219 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# iModels
[![Version](https://img.shields.io/cocoapods/v/iModels.svg?style=flat)](https://cocoapods.org/pods/iModels)
[![License](https://img.shields.io/cocoapods/l/iModels.svg?style=flat)](https://cocoapods.org/pods/iModels)
[![Platform](https://img.shields.io/cocoapods/p/iModels.svg?style=flat)](https://cocoapods.org/pods/iModels)
[![Swift Package Manager](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)This library facilitates developers in easily determining the device model, which is particularly valuable for gathering statistics on user device distribution. It offers various other benefits as well.
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
### CocoaPods
iModels is available through [CocoaPods](https://cocoapods.org/pods/iModels). To install
it, simply add the following line to your Podfile:```ruby
pod 'iModels'
```### Swift Package manager (SPM)
iModels is available through [SPM](https://github.com/AnbalaganD/iModels). Use below URL to add as a dependency
```swift
dependencies: [
.package(url: "https://github.com/AnbalaganD/iModels", .upToNextMajor(from: "0.1.3"))
]
```## Usage
```swift
import iModelsDevice.modelName
```## Author
[Anbalagan D](mailto:[email protected])
## License
iModels is available under the MIT license. See the LICENSE file for more info.