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
// | |
// ContentView.swift | |
// PaginatedScrollView | |
// | |
// Created by Aleksey Ozerov on 24.10.2019. | |
// Copyright © 2019 Aleksey Ozerov. All rights reserved. | |
// | |
import SwiftUI |
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 | |
struct ContentView: View { | |
@State private var name = "John" | |
@State private var surename = "Connor" | |
var motto1: some View { | |
VStack { | |
TextField("Enter your name", text: $name) |
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
0x3b2d493c96b2c6218f080268ec5677f389cd714c |
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
var drev = require('drev') | |
, fb = require('firebird'); | |
var conn = fb.createConnection(); | |
conn.connectSync('nodejs:/opt/firebird/dbs/testdb.fdb', 'SYSDBA', 'masterkey', ''); | |
conn.addFBevent("fbevent"); | |
conn.on("fbevent",function(event,count){ | |
console.log('GOT EVENT'); | |
drev.emit('newevent', 'any text'); | |
}); |