Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
Fixed takeFirst prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
pNre committed Jan 3, 2015
1 parent 2e6b91e commit ee6aff6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

Set of Swift extensions for standard types and classes.

# Installation
# Installation

Because of Xcode errors it's not possible to integrate this project with Cocoapods or as Embedded Framework.
[Read more at Dev Forum](https://devforums.apple.com/message/983747#983747)

## Use submodule and copy source code
1. Add ExSwift as a submodule
2. Open the `ExSwift` project folder, and drag `ExSwift` sub folder with source code into the file navigator of your Xcode project. Make sure you select add to target
3. Use it
3. Use it

``` swift
``` swift
components.takeFirst() { $0.completed }
```

Expand Down Expand Up @@ -69,7 +69,7 @@ Name | Signature
**`at`**|`at (indexes: Int...) -> Array`
**`take`**|`take (n: Int) -> Array`
**`takeWhile`**|`takeWhile (condition: (Element) -> Bool) -> Array`
**`takeFirst`**|`takeFirst (condition: (Element) -> Bool) -> Element`
**`takeFirst`**|`takeFirst (condition: (Element) -> Bool) -> Element?`
**`tail`**|`tail (n: Int) -> Array`
**`skip`**|`skip (n: Int) -> Array`
**`skipWhile`**|`skipWhile (condition: (Element) -> Bool) -> Array`
Expand Down

0 comments on commit ee6aff6

Please sign in to comment.