Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.59 KB | None | 0 0
  1. for pack in cardPacks.cardPacks {
  2.             if pack.packageNumber == 1 {
  3.               cardPacksOwned.append(pack)
  4.             } else if ... {
  5.                 for id in PProducts.productIdentifiers {
  6.                     if String(pack.packageNumber) == resourceNameForProductIdentifier(id) {
  7.                         if PProducts.store.isProductPurchased(id) {
  8.                             cardPacksOwned.append(pack)
  9.                         }
  10.                     }
  11.                 }
  12.             }
  13.             else {
  14.                 cardPacksNotOwned.append(pack)
  15.             }
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement