Skip to content

Commit

Permalink
[installation-enhancements] - Fixes typos in Getting starteds and cle…
Browse files Browse the repository at this point in the history
…ars up text in installation - BL RAG
  • Loading branch information
Richard-Gist committed Jun 16, 2021
1 parent 233bfd1 commit 2aa31dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion wiki/Getting-Started-UIKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Start by cloning the repo and checking out the 'SwiftCurrentExample' scheme. Thi

## Adding the dependency

For instructions on SPM and CocoaPods, [check out our intstallation page.](https://github.com/wwt/SwiftCurrent/wiki/Installation#swift-package-manager)
For instructions on SPM and CocoaPods, [check out our installation page.](https://github.com/wwt/SwiftCurrent/wiki/Installation#swift-package-manager)

## Create your view controllers

Expand Down Expand Up @@ -204,6 +204,7 @@ class SecondViewControllerTests: XCTestCase {
}

func testProceedPassesThroughInput() {
// Arrange
var proceedInWorkflowCalled = false
let expectedString = "Awesome.Possum@wwt.com"
let ref = AnyFlowRepresentable(SecondViewController.self, args: .args(expectedString))
Expand All @@ -217,8 +218,10 @@ class SecondViewControllerTests: XCTestCase {
XCTAssertEqual(passedArgs.extractArgs(defaultValue: "defaultValue used") as? String, expectedString)
}

// Act
(testViewController.view.viewWithAccessibilityIdentifier("finish") as? UIButton)?.simulateTouch() // UIUTest helper

// Assert
XCTAssert(proceedInWorkflowCalled, "proceedInWorkflow should be called")
}
}
Expand Down
5 changes: 4 additions & 1 deletion wiki/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Start by cloning the repo and checking out the 'SwiftCurrentExample' scheme. Thi

## Adding the dependency

For instructions on SPM and CocoaPods, [check out our intstallation page.](https://github.com/wwt/SwiftCurrent/wiki/Installation#swift-package-manager)
For instructions on SPM and CocoaPods, [check out our installation page.](https://github.com/wwt/SwiftCurrent/wiki/Installation#swift-package-manager)

## Create the convenience protocols for storyboard loading

Expand Down Expand Up @@ -192,6 +192,7 @@ class SecondViewControllerTests: XCTestCase {
}

func testProceedPassesThroughInput() {
// Arrange
var proceedInWorkflowCalled = false
let expectedString = "Awesome.Possum@wwt.com"
let ref = AnyFlowRepresentable(SecondViewController.self, args: .args(expectedString))
Expand All @@ -205,8 +206,10 @@ class SecondViewControllerTests: XCTestCase {
XCTAssertEqual(passedArgs.extractArgs(defaultValue: "defaultValue used") as? String, expectedString)
}

// Act
(testViewController.view.viewWithAccessibilityIdentifier("finish") as? UIButton)?.simulateTouch() // UIUTest helper

// Assert
XCTAssert(proceedInWorkflowCalled, "proceedInWorkflow should be called")
}
}
Expand Down
4 changes: 2 additions & 2 deletions wiki/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Add the following products to your target dependencies.
.product(name: "SwiftCurrent_UIKit", package: "SwiftCurrent")
```

#### **Your import statements will be**
#### **Your import statements for these products will be**

```swift
import SwiftCurrent
Expand All @@ -35,7 +35,7 @@ import SwiftCurrent_UIKit

# CocoaPods

Set up [CocoaPods](https://cocoapods.org/) for your project, then include SwiftCurrent in your dependencies by adding one of the following lines to your `Podfile`:
Set up [CocoaPods](https://cocoapods.org/) for your project, then include SwiftCurrent in your dependencies by adding the following line to your `Podfile`:

#### **If you want to use SwiftCurrent with UIKit**

Expand Down

0 comments on commit 2aa31dd

Please sign in to comment.