git init
or
Version: 0.0.1 updated 7/1/2016
Cordova Plugins are the magic that enable our mobile web app content to access the full power of Native SDKs underneath, but through clean JavaScript APIs that work the same across all platforms we target.
Building Cordova plugins is scary for many Cordova and Ionic developers, but it doesn't have to be. This simple guide walks through the what, when, why, and how of Cordova plugin development for iOS and Android.
| // | |
| // DockInfo.swift | |
| // | |
| // Created by Wessley Roche on 28/11/2016. | |
| // | |
| import Foundation | |
| enum WBDockPosition: Int { | |
| case bottom = 0 |
A string identifying the build system action being performed.
The locations of any sparse SDKs that should be layered on top of the one specified by Base SDK (SDKROOT). If more than one SDK is listed, the first one has highest precedence. Every SDK specified in this setting should be a "sparse" SDK, for example, not an SDK for an entire macOS release.
| // path to documents directory to save our usdc file | |
| NSString* usdcPath = [documentsDirectory stringByAppendingPathComponent:@"usdcExample.usdc"]; | |
| NSURL *usdcUrl = [NSURL fileURLWithPath: usdcPath]; | |
| // path to documents directory to save our final usdz file | |
| NSString* usdzPath = [documentsDirectory stringByAppendingPathComponent:@"usdzExample.usdz"]; | |
| NSURL *usdzUrl = [NSURL fileURLWithPath:usdzPath]; | |
| // load the .obj file at filePath as an MDLAsset | |
| NSURL *url = [NSURL fileURLWithPath:filePath]; |
| public struct AnyCodable: Codable { | |
| public let value: Any? | |
| public init(_ value: Any?) { | |
| self.value = value | |
| } | |
| public init(from decoder: Decoder) throws { | |
| let container = try decoder.singleValueContainer() | |
| // | |
| // GeometryFinder.swift | |
| // | |
| // Created by Timothy Costa on 2019/06/24. | |
| // Copyright © 2019 timothycosta.com. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct RectPreferenceKey: PreferenceKey { |
| import SwiftUI | |
| struct ContentView: View { | |
| var body: some View { | |
| VStack(spacing: 0) { | |
| Color.green | |
| Color.green | |
| Color.green | |
| Color.yellow | |
| Color.orange |