Last active
November 19, 2015 03:36
-
-
Save ctrevarthen/b05c6813c83e217ecf83 to your computer and use it in GitHub Desktop.
ShopQuick - ShoppingListManager mark as purchased
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
| func markPurchasedAtIndex(index: Int) { | |
| self.products[index].purchased = true | |
| self.saveProductsToDefaults() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment