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
CREATE TABLE Cities ( | |
id INT NOT NULL IDENTITY(1, 1), | |
City varchar(255), | |
Region varchar(50) default NULL, | |
Country varchar(100) default NULL, | |
PRIMARY KEY (id) | |
) | |
INSERT INTO Cities (City,Region,Country) VALUES ('Medellín','Antioquia','Nauru'),('Ovalle','IV','Botswana'),('Peñaflor','RM','Grenada'),('Kashmore','SI','Sierra Leone'),('El Bosque','Metropolitana de Santiago','Mauritania'),('Berlin','Berlin','Zimbabwe'),('Castres','Midi-Pyrénées','Belarus'),('Makassar','South Sulawesi','Pitcairn Islands'),('Heist-aan-Zee','WV','Monaco'),('Mexico City','CDM','Kenya'); | |
INSERT INTO Cities (City,Region,Country) VALUES ('Pinarbasi','Kayseri','Luxembourg'),('Murcia','Murcia','Peru'),('Warren','Michigan','Bhutan'),('Remscheid','NW','Cuba'),('Logan City','Queensland','Sao Tome and Principe'),('Noisy-le-Grand','Île-de-France','Puerto Rico'),('Huancayo','Junín','South Sudan'),('Kapuskasing','ON','Tajikistan'),('Waiheke Island','NI','Colombia'),('Ribeirão Preto','SP','Zimbabwe'); |
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
INSERT INTO form (question_id, answer) | |
VALUES | |
(1, 'YES'), | |
(1, 'NO'), | |
(1, 'YES'), | |
(1, 'NO'), | |
(1, 'YES'), | |
(1, 'NO'), | |
(2, 'YES'), | |
(2, 'NO'), |
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 | |
class ContentViewData: ObservableObject { | |
@Published var myTextFieldText: String = "" | |
func getdata() { | |
Network.getHttpsData() | |
} | |
} | |
struct ContentView: View { | |
@ObservedObject var contentViewData = ContentViewData() |
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 | |
import Introspect | |
/** | |
Used like this: | |
PinStackView { pin, success in | |
self.passCodeFilled = success | |
} |