- Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
| import SwiftUI | |
| import PlaygroundSupport | |
| class GlobalStore: ObservableObject { | |
| static let shared = GlobalStore() | |
| private init() {} | |
| @Published var api1 = Api1Store() | |
| @Published var api2 = Api1Store() |
| // | |
| // UserDefaults.swift | |
| // | |
| // Created by Shaps Benkau on 24/05/2018. | |
| // Copyright © 2018 152percent Ltd. All rights reserved. | |
| // | |
| import Foundation | |
| #if os(iOS) |
| import SwiftUI | |
| struct AngularGradientView2: View { | |
| var body: some View { | |
| return VStack { | |
| CustomAngularGradientView() | |
| } | |
| .padding([.leading, .trailing], 30) | |
| .animation(Animation.linear(duration: 1).repeatForever(autoreverses: false)) | |
| } |
| // | |
| // ViewController.swift | |
| // UIScrollView | |
| // | |
| // Created by VKushnerov on 1/31/19. | |
| // Copyright © 2019 VKushnerov. All rights reserved. | |
| // | |
| import UIKit |
| function Template(input, tag, options) { | |
| var _options = { | |
| onClone: function(row, data) { }, | |
| appendElm: function(elm, val) { elm.text(val); }, | |
| replace: false | |
| }; | |
| var options = $.extend(_options, options); | |
| var clone = tag; | |
| if (!options.replace) { |
| function main() { | |
| var DevicesConnector = function() { | |
| return new Common.Connector("Handlers/JSonHandler.ashx/Devices/"); | |
| } | |
| var params = { | |
| chartType: $(document).getUrlParam("chartType"), | |
| baseCUID: $(document).getUrlParam("CUID"), | |
| CUID: $(document).getUrlParam("CUID"), | |
| hash: document.location.hash.replace("#", ""), | |
| url: $(document).getUrlParam("url"), |