Skip to content

Commit c532c1e

Browse files
committed
Update documents
1 parent 4c5a1d9 commit c532c1e

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,15 @@ To install without MELPA, download [latest release](https://github.com/swift-ema
6363
- `forward-sexp`
6464
- `beginning-of-defun`, `end-of-defun`, `mark-defun`, and `narrow-to-defun`.
6565
- `beginning-of-sentence`, `end-of-sentence`, `kill-sentence`, `backward-kill-sentence`, `mark-sentence`, and `narrow-to-sentence`.
66-
A sentence is a statement outside comments or strings. Inside comments or strings, it indicates ordinal sentence.
66+
A sentence is a statement outside comments or strings, or an ordinal sentence inside comments or strings.
6767
- `indent-new-comment-line`
6868
- [Imenu](https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html)
6969
- Running Swift REPL in a buffer (`M-x run-swift`)
7070
- Build Swift module (`M-x swift-mode:build-swift-module`)
7171
- Build iOS app (`M-x swift-mode:build-ios-app`)
7272
- Running debugger on Swift module (`M-x swift-mode:debug-swift-module`)
73-
- Running debugger on iOS app in simulator (`M-x swift-mode:debug-ios-app`)
73+
- Running debugger on iOS app in simulator or device (`M-x swift-mode:debug-ios-app`)
74+
([`ios-deploy`](https://github.com/ios-control/ios-deploy) is required to debug on device).
7475

7576
This package does not provide flycheck. See [flycheck-swift](https://github.com/swift-emacs/flycheck-swift).
7677

@@ -203,6 +204,7 @@ Thanks to the following original developer and users for their contributions:
203204
- [@ckruse](https://github.com/ckruse) (Christian Kruse)
204205
- [@syohex](https://github.com/syohex) (Syohei Yoshida)
205206
- [@uk-ar](https://github.com/uk-ar) (Yuuki Arisawa)
207+
- [@msanders](https://github.com/msanders) (Michael Sanders)
206208

207209
You can find a [full list of those people here](https://github.com/swift-emacs/swift-mode/graphs/contributors).
208210

swift-mode-font-lock.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
;;; swift-mode-font-lock.el --- Major-mode for Apple's Swift programming language, Font Locks. -*- lexical-binding: t -*-
22

3-
;; Copyright (C) 2014-2017 taku0, Chris Barrett, Bozhidar Batsov, Arthur Evstifeev
3+
;; Copyright (C) 2014-2017 taku0, Chris Barrett, Bozhidar Batsov,
4+
;; Arthur Evstifeev, Michael Sanders
45

56
;; Authors: taku0 (http://github.com/taku0)
67
;; Chris Barrett <[email protected]>
78
;; Bozhidar Batsov <[email protected]>
89
;; Arthur Evstifeev <[email protected]>
10+
;; Michael Sanders <[email protected]>
911
;;
1012
;; Version: 4.1.1
1113
;; Package-Requires: ((emacs "24.4") (seq "2.3"))

swift-mode-repl.el

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
;;; swift-mode-repl.el --- Run Apple's Swift processes in Emacs buffers -*- lexical-binding: t -*-
22

3-
;; Copyright (C) 2014-2017 taku0, Chris Barrett, Bozhidar Batsov, Arthur Evstifeev
3+
;; Copyright (C) 2014-2017 taku0, Chris Barrett, Bozhidar Batsov,
4+
;; Arthur Evstifeev, Michael Sanders
45

56
;; Authors: taku0 (http://github.com/taku0)
67
;; Chris Barrett <[email protected]>
78
;; Bozhidar Batsov <[email protected]>
89
;; Arthur Evstifeev <[email protected]>
10+
;; Michael Sanders <[email protected]>
911
;;
1012
;; Version: 4.1.1
1113
;; Package-Requires: ((emacs "24.4") (seq "2.3"))
@@ -444,7 +446,7 @@ or its ancestors."
444446
445447
SCHEME is the name of the project scheme in Xcode.
446448
SDK is the name of the SDK build against.
447-
DEVICE-IDENTIFIER is used as the destination parameter for xcodebuild. If
449+
DEVICE-IDENTIFIER is used as the destination parameter for xcodebuild. If
448450
identifier is equal to `swift-mode:ios-local-device-identifier', it is not
449451
passed as a destination to xcodebuild."
450452
(with-temp-buffer
@@ -555,7 +557,9 @@ Build it for iOS device DEVICE-IDENTIFIER for the given SCHEME.
555557
If PROJECT-DIRECTORY is nil or omitted, it is searched from `default-directory'
556558
or its ancestors.
557559
DEVICE-IDENTIFIER is the device identifier of the iOS simulator. If it is nil
558-
or omitted, the value of `swift-mode:ios-device-identifier' is used.
560+
or omitted, the value of `swift-mode:ios-device-identifier' is used. If it is
561+
equal to `swift-mode:ios-local-device-identifier', a local device is used via
562+
`ios-deploy' instead.
559563
SCHEME is the name of the project scheme in Xcode. If it is nil or omitted,
560564
the value of `swift-mode:ios-project-scheme' is used."
561565
(interactive
@@ -875,8 +879,8 @@ in Xcode build settings."
875879
Run it for the iOS simulator devie DEVICE-IDENTIFIER for the given SCHEME.
876880
If PROJECT-DIRECTORY is nil or omitted, it is searched from `default-directory'
877881
or its ancestors.
878-
DEVICE-IDENTIFIER is the device identifier of the iOS simulator. If it is
879-
nil or omitted, the value of `swift-mode:ios-device-identifier' is used. If
882+
DEVICE-IDENTIFIER is the device identifier of the iOS simulator. If it is
883+
nil or omitted, the value of `swift-mode:ios-device-identifier' is used. If
880884
it is equal to `swift-mode:ios-local-device-identifier', a local build via
881885
`ios-deploy' is generated instead.
882886
SCHEME is the name of the project scheme in Xcode. If it is nil or omitted,

0 commit comments

Comments
 (0)