This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inputs: | |
| - carthage_command: bootstrap | |
| opts: | |
| description: |- | |
| Select a command to set up your dependencies with. | |
| * `bootstrap`: initializes the project with checking out & building all dependencies. (default) | |
| * `update`: updates all dependencies. | |
| * `build`: builds all checked out items. | |
| summary: Select a command to set up your dependencies with. | |
| title: Carthage command to run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| carthage bootstrap --platform iOS --no-use-binaries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - carthage@1.0.3: | |
| inputs: | |
| - carthage_command: 'update' | |
| - no_use_binaries: 'true' | |
| - verbose_output: 'true' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class 🎃 {} | |
| class 👻 : 🎃 {} | |
| class 👹 : 🎃 {} | |
| struct Party<T> { | |
| let attendees:[T] | |
| init(attendees:[T]) { | |
| self.attendees = attendees | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let pasteboardItems = reactive([AnyObject]()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| countLabel.reactiveText = pasteboardItems.map { ("\($0.count) items") } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pasteboardService.pasteboardItems.onChange { _ in | |
| self.collectionView.reloadData() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| self.pasteboardItems <- self.pasteboardItems*.arrayByAppending(item) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pasteboardService.pasteboardItems.dispatchOnMainQueue().onChange { _in | |
| self.collectionView.reloadData() | |
| } |