swift gui development without xcode

17
Swift without Xcode - GUI Edition SwiftAustin 17-04-05

Upload: carl-brown

Post on 12-Apr-2017

92 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Swift GUI Development without Xcode

Swift without Xcode - GUI EditionSwiftAustin 17-04-05

Page 2: Swift GUI Development without Xcode

Use CasesLinux vs Mac

"I hate Xcode"

Remote Access

Possibly to Swift code installed in a Cloud

Page 3: Swift GUI Development without Xcode

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

SublimeOS X only for SourceKit

Could probably be made to work with Linux easier now

Page 5: Swift GUI Development without Xcode

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

VagrantSetup and config files at https://github.com/SwiftAustin/LinuxSwiftGUISetup

Page 8: Swift GUI Development without Xcode

AutocompleteVariable and method completion, context aware

Page 9: Swift GUI Development without Xcode

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

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

Linux "Instruments"valgrind is the primary tool

Poor, poor substitute for Instruments

But, some GUIs

Page 12: Swift GUI Development without Xcode

KCacheGrindHandles valgrind’s “CallGrind” tool

Looks for CPU usage and spikes

Page 13: Swift GUI Development without Xcode

Valkyriememcheck tool

Better than text, but not by too much

Page 14: Swift GUI Development without Xcode

massif visualizerFor memory usage tracking

Page 15: Swift GUI Development without Xcode
Page 16: Swift GUI Development without Xcode
Page 17: Swift GUI Development without Xcode