Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrocaselani committed Jul 26, 2019
1 parent 2cd7303 commit 9615b88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CouchTrackerCore/CodeGeneration/EnumClosures.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
case start(data: T)
case loading
case completed(count: Int, message: String)
}
}
```

will generate the following code
Expand All @@ -25,7 +25,7 @@
guard case let .completed(count, message) = self else { return }
fn(count, message)
}
}
}
```
*/
public protocol EnumClosures {}
4 changes: 2 additions & 2 deletions CouchTrackerCore/CodeGeneration/EnumProperties.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
will generate the following code

```
extension ViewState {
extension ViewState {
internal var isStart: Bool {
guard case .start = self else { return false }
return true
Expand All @@ -34,7 +34,7 @@ extension ViewState {
guard case let .completed(count, message) = self else { return nil }
return (count, message)
}
}
}
```
*/
public protocol EnumProperties {}

0 comments on commit 9615b88

Please sign in to comment.