Swift GUI Development without Xcode
-
Upload
carl-brown -
Category
Technology
-
view
92 -
download
2
Transcript of Swift GUI Development without Xcode
![Page 1: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/1.jpg)
Swift without Xcode - GUI EditionSwiftAustin 17-04-05
![Page 2: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/2.jpg)
Use CasesLinux vs Mac
"I hate Xcode"
Remote Access
Possibly to Swift code installed in a Cloud
![Page 3: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/3.jpg)
SourceKit"What is SourceKit?"
How do you get it?
With Xcode
From source (takes a while)
Now in Docker
![Page 4: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/4.jpg)
SublimeOS X only for SourceKit
Could probably be made to work with Linux easier now
![Page 5: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/5.jpg)
VS CodeSDE
Installable in VSCode
Setup scripts at https://github.com/felix91gr/swift-linuxSetup
Vagrant setup at https://github.com/SwiftAustin/LinuxSwiftGUISetup
OS X support tricky (see issue #33)
Development slowing down
![Page 6: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/6.jpg)
VagrantSetup and config files at https://github.com/SwiftAustin/LinuxSwiftGUISetup
![Page 8: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/8.jpg)
AutocompleteVariable and method completion, context aware
![Page 9: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/9.jpg)
Popup Type informationHover over a variable to get its type Matters more in Swift than in many languages
![Page 10: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/10.jpg)
DebuggingIt’s a start, but does a poor job of following modules (#7) Console not hooked up, yet (#22)
![Page 11: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/11.jpg)
Linux "Instruments"valgrind is the primary tool
Poor, poor substitute for Instruments
But, some GUIs
![Page 12: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/12.jpg)
KCacheGrindHandles valgrind’s “CallGrind” tool
Looks for CPU usage and spikes
![Page 13: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/13.jpg)
Valkyriememcheck tool
Better than text, but not by too much
![Page 14: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/14.jpg)
massif visualizerFor memory usage tracking
![Page 15: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/15.jpg)
![Page 16: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/16.jpg)
![Page 17: Swift GUI Development without Xcode](https://reader033.fdocuments.in/reader033/viewer/2022052606/58ed4c631a28ab1e5e8b45d7/html5/thumbnails/17.jpg)