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
import SwiftUI | |
protocol ViewModelContainable: View { | |
associatedtype ViewModel : ObservableObject | |
init(model: ViewModel) | |
} | |
// This struct is a direct MVVM alternative to @StateObject in iOS 14 and Mac OS Big Sur. |
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
Install libimobiledevice on Mac OS X | |
So you'd like to manage your iOS devices by command line? | |
You can use libimobiledevice tools for that. | |
Easy on Linux. Let's see how it is on Mac OS X. | |
You'll need to: | |
1. install Xcode | |
2. start Xcode and agree to it's license | |
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab) | |
4. install homebrew by this command (sudo password will be prompted) |