Hi,
I'm a happy and longtime user of Firebird SQL, a medium-weight open source
database. I much prefer Firebird over sqlite. Unfortunately, I couldn't
find any Firebird driver for Swift, especially on Linux.
Does anyone here know any Swift project out there working on this?
Thank you.
--
2017-09-06 0:20 GMT+07:00 Jordan Rose via swift-users :
>
> Unfortunately this will only work for pure Swift apps; the support
> libraries for Foundation, UIKit, etc are built against the Xcode 9 SDKs and
> will not work with Xcode 8. I'm afraid you're stuck with Swift 3
2017-09-05 3:47 GMT+07:00 Fritz Anderson via swift-users <
swift-users@swift.org>:
>
> In your position, I’d go to the Downloads part of Swift.org and fetch the
> latest build of the Swift 4 toolchain for Mac. (It’s still in flux, but
> it’ll probably be promoted to latest/stable this month.)
>
>
Hi,
Since I'm still using my old mid-2009 Macbook Pro, which is still working
very well by the way, I'm stucked with macOS El Capitan (10.11.6) with
Xcode 8 and Swift 3. Hence, I also couldn't install Xcode 9 and Swift 4
because they required at least macOS Sierra (10.12).
So, is there any other
2017-08-25 4:26 GMT+07:00 Slava Pestov via swift-users <
swift-users@swift.org>:
> HI Mr Bee,
>
> “Swift 3.2” refers to running the Swift 4.0 compiler with the
> -swift-version 3 flag. It is not a separate download.
>
I see. Thank you very much for the information.
--
Regards,
–Mr Bee
Hi all,
I'm now using Swift v.3.0 on Linux (ubuntu) and about preparing to migrate
to the new Swift v.4.0.
On https://swift.org/migration-guide-swift4/ it is said that:
"Make sure that the project that you intend to migrate builds successfully
in Swift 3.2 mode, and all its tests pass. Keep in
Hi all,
I'd like to know how to detect key pressed event on Linux console app using
Swift. Not just waiting input like what readLine() is doing, but more like
detecting arrow keys, left/right shift key, F1-10 keys, etc simultaneously
while the program keep running. You know, something like game
I don't know how old your machine is. But I can finely run Swift v3 on my free
Linux container on CodeAnywhere which only has single core 1 GHz processor, 256
MB RAM, and 2 GB storage space. No xserver, of course… so all you got is a
Linux terminal via SSH or simple web IDE. I use it for Swift
ves you a
start.
Good luck!
On Tue, Jan 24, 2017 at 12:16 AM Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi,
I can't use terminate() function of (NS)Task on Linux because it's not yet
implemented. I'm using Swift v.3.0.0 on 64-bit Ubuntu 14.04 LTS. Here's the
error message upon calli
Hi,
I can't use terminate() function of (NS)Task on Linux because it's not yet
implemented. I'm using Swift v.3.0.0 on 64-bit Ubuntu 14.04 LTS. Here's the
error message upon calling the function:
fatal error: terminate() is not yet implemented: file Foundation/NSTask.swift,
line 407
Blewitt <alb...@apple.com> menulis:
When you run it with absolute paths for the 'swift' and 'python' executables,
does it work then?
Alex
On 9 Jan 2017, at 06:20, Mr Bee via swift-users <swift-users@swift.org> wrote:
Hi,
I'm writing a simple editor on Linux for Swift language
Hi,
I'm writing a simple editor on Linux for Swift language. I use Task (was
NSTask) to run the Swift REPL. Unfortunately, Task failed to execute the Swift
REPL for no obvious reasons. The Swift compiler and REPL are installed just
fine and able to execute any Swift codes. However, my exact
a newbie with both Swift and GCD. There are still many things I
have to read and understand.
Thank you.
–Mr Bee
Pada Jumat, 6 Januari 2017 15:35, "Quinn "The Eskimo!" via swift-users"
<swift-users@swift.org> menulis:
On 6 Jan 2017, at 07:53, Mr Bee via swift-users &l
things.
-Shawn
On Thu, Jan 5, 2017 at 11:39 PM Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi all,
I'm currently still learning Swift 3. Now I'm playing around with GCD (grand
central dispatch). I'd like to start an external process using Process from an
asynced thread, and cr
Hi all,
I'm currently still learning Swift 3. Now I'm playing around with GCD (grand
central dispatch). I'd like to start an external process using Process from an
asynced thread, and create another thread to stop that external process after
some times. Here's what I do…
import Foundationimport
Sorry for not being clear. My english isn't very good either.
What I meant was static module linking (loading and unloading) for Swift
modules. Also with initialization and deinitialization for Swift modules.
It's alright then. I just want to make sure. I'm a Pascal/Delphi programmer and
> Unloading Swift modules will likely never be supported, since this would
>impose a ton of complexity and performance cost on the runtime for little
>benefit.
Hmmm… so Swift will only support static linking? I thought Swift is a modern
programming language with modern and advance features.
Hi all,
As I learn Swift, I got 2 questions here:
1. Is there any module initialization and deinitialization concept in Swift
(v.3)? For example, upon loading a module, I want that module to do something
before being utilized (initialization) or after being utilized
(deinitialization). If there
<phaus...@apple.com>
menulis: Looks like that renaming didn’t get updated correctly on
swift-corelibs-foundation. I filed - https://bugs.swift.org/browse/SR-3279
On Nov 26, 2016, at 9:42 PM, Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi all,
It took me a few hours to
Hi all,
It took me a few hours to find out why Process is unknown on Linux while it's
available on macOS/iOS. Turned out, it's still called Task. Why is that? Is
there anything like this on Swift Standard Library and Foundation for Linux?
Thank you.
Regards,
–Mr Bee
es": 9]
extension Dictionary { func merged(with another: [Key: Value]) -> [Key:
Value] { var result = self for entry in another {
result[entry.key] = entry.value } return result }}
let result = d1.merged(with: d2)
On Nov 11, 2016, at 12:05 AM, Mr Bee
y in another {
result[entry.key] = entry.value } return result }}
let result = d1.merged(with: d2)
On Nov 11, 2016, at 12:05 AM, Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi,
I'm using Swift v3 on an El Capitan machine. I want to merge a dictiona
Hi,
I'm using Swift v3 on an El Capitan machine. I want to merge a dictionary into
another compatible dictionary. However, I couldn't find addEntries function in
the dictionary instance, like it was on NSMutableDictionary
(https://developer.apple.com/reference/foundation/nsmutabledictionary).
Hi,
I just realized that the official Swift page here:
https://developer.apple.com/swift/ has a spiral drawing example for the
Playgrounds (look at the first big picture on top of the page). It seems like
an interesting example to play with, especially for my kids.
However, when I looked at
an see, the program asked me to input my name before it showed the
notification. In playground, the situation is alike.
However, if the code is running as a command line tool, created by Xcode ->
Create a new project -> macOS, command line tool, everything works fine.
Zhaoxin
On Sun, Se
Forget it. Just found the answer myself on Swift ebook. It's a bitwise xor
operator. And there's no power operator in Swift. Sorry.
I've looked for this for hours. Why did I find the answer after I asked here?
Life. :)
–Mr Bee
Pada Minggu, 18 September 2016 19:41, Mr Bee
Hi all,
Another question. I used to use this snippet to read keyboard input from
XCode's Playground. And it used to work very well. Today, I just updated my
XCode to v.8 and Swift v.3. After a little bit modification here and there due
to Swift 3 incompatibility, I got this code compiled
16, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would
be wonderfull if we could develop desktop app, mobile app, server-side app, and
web app, all using Swift. It will be complete.
Is
nguage!
Here's a good starting point:
https://kripken.github.io/emscripten-site/index.html
Best,Austin
On Jun 21, 2016, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org>
wrote:
Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would
be wonderfull
Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would
be wonderfull if we could develop desktop app, mobile app, server-side app, and
web app, all using Swift. It will be complete.
Is it possible that someday in the future we would be able to compile Swift
30 matches
Mail list logo