This is content converted from Markdown!
Here's a JSON sample:
{
"foo": "bar"
}| // | |
| // ContentView.swift | |
| // Filter | |
| // | |
| // Created by Paul Wilkinson on 22/6/2024. | |
| // | |
| import SwiftUI | |
| struct ContentView: View { |
| import SwiftUI | |
| struct ContentView: View { | |
| @State private var showAlert = false | |
| var body: some View { | |
| VStack { | |
| Button("Present alert") { | |
| showAlert.toggle() | |
| } |
| import Passbase | |
| class MyPassbaseWrapper { | |
| static func initialisePassbase:(_ apiKey: String) { | |
| PassbaseSDK.initialize(publishableApiKey: apiKey) | |
| } | |
| } |
| import Foundation | |
| class BaseClass {} | |
| class A : BaseClass { | |
| } | |
| class B : BaseClass { | |
| } |
| <html> | |
| <head> | |
| <style> | |
| h1 { | |
| font-family: Calibri; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Hello World!</h1> |
| class ViewController: UIViewController { | |
| var max = 0.0 | |
| var data:[Double] = [13,32,43,56,91,42,26,17,63,41,73,54,26,87,64,33,26,51,99,85,57,43,30,33,20] | |
| @IBOutlet weak var tableView: UITableView! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| view.backgroundColor = .red | |
| self.tableView.dataSource = self |
| // | |
| // ViewController.swift | |
| // DiffableTest | |
| // | |
| // Created by Paul Wilkinson on 28/9/20. | |
| // | |
| import UIKit | |
| class ViewController: UIViewController { |
| // | |
| // ViewController.swift | |
| // NWPathMonitor | |
| // | |
| // Created by Paul Wilkinson on 16/5/20. | |
| // Copyright © 2020 Paul Wilkinson. All rights reserved. | |
| // | |
| import UIKit | |
| import Network |
| // | |
| // ConfigViewController.m | |
| // beacon | |
| // | |
| // Created by Paul Wilkinson on 1/5/20. | |
| // Copyright © 2020 Paul Wilkinson. All rights reserved. | |
| // | |
| #import "ConfigViewController.h" | |
| #import <CoreLocation/CoreLocation.h> |