mikelily

clickMoreLabel

Jun 26th, 2019
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.45 KB | None | 0 0
  1. // code like this
  2. moreLabel.callback = {
  3.     print("=== Click more Label ===")
  4.     print("Parent Catalog's name:\(self.parentCatalog.name) id:\(self.parentCatalog.catalog_id)")
  5.     print("Child catalog which need more packs name:\(self.childCatalog[index].name) id:\(self.childCatalog[index].catalog_id)")
  6. }
  7.  
  8. /**
  9.   example output :
  10.   === Click more Label ===
  11.   Parent Catalog's name:MOVIES id:10
  12.   Child catalog which need more packs name:ACTION id:101
  13.   */
Advertisement
Add Comment
Please, Sign In to add comment