A list of Mac devices with easy-to-use API. Updates itself each time an Apple Event can take place.

Overview

MacModels

A list of Mac devices with easy-to-use API.

This project is using MacModelDump's code for the internal Apple Support website scraper, to power the fetching of devices from the web.

Installation

You are really adviced to use the branch: "master" way of resolving the version, because each time you refetch your dependencies, this package might get updated, and with that update an updated local list of models will be there, which allows for you to not constantly check for the version and update it yourselves.

API

The API is pretty simple, you can fetch all devices from the web by using MacModels.getAllDevicesOnline(), and getting a specific model by using MacModels.getDeviceOnline(by:). You can also do this locally by using MacModels.getAllDevicesLocally() and MacModels.getDeviceLocally(by:) respectively. There is also a preffered method of retrieving a specific device, which is MacModels.getDevice(by:), because it is utilizing the online list only when the device is not found locally, which results in less internet usage.

Note that the web APIs are async, so you can use them only in an async environment.

You might also like...
A command line application to create 3D models based on photogrametry using the macOS Monterey RealityCapture API.

PhotogrametryTool Generate 3D objects from images using RealityKit Object Capture. This project is a fork of the HelloPhotogrametry application by App

KDEDateLabel is an UILabel subclass that updates itself to make time ago's format easier.
KDEDateLabel is an UILabel subclass that updates itself to make time ago's format easier.

KDEDateLabel KDEDateLabel is an UILabel subclass that saves you from refreshing it when using 'time ago' format. Installation You have multiple choice

A basic countdown app that allows the user to create, edit, and delete events. Each event contains a live countdown timer to a specified date and time.

Event Countdown App (iOS) Created by Lucas Ausberger About This Project Created: January 4, 2021 Last Updated: January 8, 2021 Current Verison: 1.1.1

NextEvent is a countdown widget for your Mac menu bar. It displays the time until the next event in your calendar or task list.
NextEvent is a countdown widget for your Mac menu bar. It displays the time until the next event in your calendar or task list.

NextEvent NextEvent is a countdown widget for your Mac menu bar. It displays the time until the next event in your calendar or reminders. Choose the n

iOS app for Technex, IIT(BHU) Varanasi. This project is closed before completion. You can use this app for learning purpose. You can use this app as a templet of any event related app.
iOS app for Technex, IIT(BHU) Varanasi. This project is closed before completion. You can use this app for learning purpose. You can use this app as a templet of any event related app.

technex-ios iOS app for Technex, IIT(BHU) Varanasi. This project is closed before completion for some reasons. You can use this app for learning purpo

An Event View based on Apple's Event Detail View. Written in Swift 3. Supports ARC, Autolayout and editing via StoryBoard.
An Event View based on Apple's Event Detail View. Written in Swift 3. Supports ARC, Autolayout and editing via StoryBoard.

An Event View based on Apple's Event Detail View. Written in Swift 3. Supports ARC, Autolayout and editing via StoryBoard. Installation CocoaPods PTEv

Each step you take reveals a new horizon. You have taken the first step today.
Each step you take reveals a new horizon. You have taken the first step today.

The story Seeing the animations behind Paper, or the transitions behind Mail, being in a world of flat design and transitions, user interaction, app b

This is a repository with an app that shows a list of posts and where you can access the detail of each of them
This is a repository with an app that shows a list of posts and where you can access the detail of each of them

PostsApp This is a repository with an app that shows a list of posts and where you can access the detail of each of them Dependencies You need to inst

React-native-place-picker: Pick any place with single click 🚀
React-native-place-picker: Pick any place with single click 🚀

React-native-place-picker: Pick any place with single click 🚀

A Swift script to create a list of links to release notes for package updates.

spi-release-notes release-notes is a Swift script that creates a list of links to release notes for package updates. Running release-notes performs a

Event management iOS app for organizers using Open Event Platform
Event management iOS app for organizers using Open Event Platform

Open Event Organizer iOS App Event management app for organizers using Open Event Platform Roadmap Make the app functionality and UI/UX similar to the

Updates to Apple's AVKitPlayerOSX sample code.

AVKitPlayerOSX =========================================================================== DESCRIPTION: This sample demonstrates usage of AVPlayerView

A set of libraries used for parsing representations of Swift Packages similar to how SwiftPM itself works

A set of libraries used for parsing representations of Swift Packages similar to how SwiftPM itself works, but also supporting Xcode specific features (such as Swift Playground Apps).

IHTypeWriterLabel - A simple, UILabel subclass which poulates itself as if being typed
IHTypeWriterLabel - A simple, UILabel subclass which poulates itself as if being typed

IHTypeWriterLabel A simple, UILabel subclass which poulates itself as if being typed. HighLights Written purely in SWIFT. Very simple and lightweight.

Tool to debug layouts directly on iOS devices: inspect layers in 3D and debug each visible view attributes
Tool to debug layouts directly on iOS devices: inspect layers in 3D and debug each visible view attributes

Introduction Features Inspect layouts directly on iOS devices Inspection could be triggered only if app is running under DEBUG build configuration, so

Realtime Dynamic localization translation delivery system for iOS and Mac OSX in Swift. Create and update texts from localization.com without needing to recompile or redeploy. Cocapod for iOS devices (iPad, iPhone, iPod Touch and Mac) Check load of each core of CPU on your Mac menu bar.
Check load of each core of CPU on your Mac menu bar.

Gaufre Gaufre 🧇 is the app for checking load of each core of CPU on your Mac menu bar. The application name was decided to be Gaufre, derived from si

iCloud Drive is Apple's essential connection between all your devices, Mac, iPhone, iPad, even your Windows PC.
iCloud Drive is Apple's essential connection between all your devices, Mac, iPhone, iPad, even your Windows PC.

iCloud Drive is Apple's essential connection between all your devices, Mac, iPhone, iPad, even your Windows PC.While the cost of storage seems expensive in comparison to other online storage services, its advantage is that it works natively across all your devices.

📱AutoLayout can be set differently for each device
📱AutoLayout can be set differently for each device

DeviceLayout DeviceLayout is a Swift framework that lets you set Auto Layout constraints's differently for each device Using only IBInspector of Xcode

Comments
  • Implement fetching devices from the web

    Implement fetching devices from the web

    This feature will be very useful for situations when new devices are released, and apps (such as Moc) should be updated just to properly support them, because the device list is local

    Implementation

    Just ~~steal~~ borrow some code from MacModelDump, do some upgrades and reworking, and that will be it

    enhancement 
    opened by ggoraa 0
Releases(2022.07.30)
Owner
Mock Fondation
Creating great stuff for Telegram!
Mock Fondation
A tool to restore iOS Devices on versions they're already on, based on the original Succession

SuccessorCLI A CLI tool to restore iOS devices on the version they're already on, inspired by the original Succession GUI Application, rewritten from

Serena 11 Dec 26, 2022
CLI tool for macOS that transcribes speech from the microphone using Apple’s speech recognition API, SFSpeechRecognizer. (help.)

CLI tool for macOS that uses SFSpeechRecognizer to transcribe speech from the microphone. The recognition result will be written to the standard output as JSON string.

Thai Pangsakulyanont 23 Sep 20, 2022
A Mac command-line tool that generates kick-ass Jamf Pro reports.

KMART - Kick-Ass Mac Admin Reporting Tool A command-line utility generating kick-ass Jamf Pro reports: Features Reporting on the following Jamf Pro ob

Nindi Gill 86 Dec 15, 2022
A Mac command-line tool that automatically downloads macOS Installers / Firmwares.

MIST - macOS Installer Super Tool A Mac command-line tool that automatically downloads macOS Installers / Firmwares: Features List all available macOS

Nindi Gill 483 Jan 8, 2023
A command-line tool to generate a JSON-list of all used SPM-dependencies of an Xcode-project.

SwiftPackageList A command-line tool to generate a JSON-list of all used SPM-dependencies of an Xcode-project. This includes all the Package.resolved

Felix Herrmann 14 Jan 8, 2023
Mac App Store: Embedding a Command Line tool using paths as arguments

Mac App Store: Embedding a Command Line tool using paths as arguments Code snippets to embed a Command Line tool using paths as arguments on the Mac A

Alexandre Colucci 10 Aug 20, 2022
Command line utility to profile compilation time of Swift project.

xcprofiler Command line utility to profile compilation time of Swift project. This tool is developed in working time for Cookpad. Installation gem ins

Kohki Miki 334 Jan 3, 2023
A CLI utility to check or uncheck Open Using Rosetta preference for Apple Silicon macs.

SetArchPrefForURL A CLI utility to "check" or "uncheck" "Open Using Rosetta" preference for Apple Silicon macs. Usage: SetArchPrefForURL <path-to-the-

Tapan Thaker 19 Oct 31, 2022
RsyncOSX and RsyncUI are GUI´s on the Apple macOS plattform for the command line tool rsync

Hi there ?? RsyncOSX and RsyncUI are GUI´s on the Apple macOS plattform for the command line tool rsync. It is rsync which executes the synchronize ta

Thomas Evensen 1.1k Dec 23, 2022
A way to build TUI apps with a layout system and API that's similar to SwiftUI.

terminal-ui A way to build TUI apps with a layout system and API that's similar to SwiftUI. We reimplemented parts of the SwiftUI layout system in the

Chris Eidhof 316 Dec 29, 2022