Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // code like this
- moreLabel.callback = {
- print("=== Click more Label ===")
- print("Parent Catalog's name:\(self.parentCatalog.name) id:\(self.parentCatalog.catalog_id)")
- print("Child catalog which need more packs name:\(self.childCatalog[index].name) id:\(self.childCatalog[index].catalog_id)")
- }
- /**
- example output :
- === Click more Label ===
- Parent Catalog's name:MOVIES id:10
- Child catalog which need more packs name:ACTION id:101
- */
Advertisement
Add Comment
Please, Sign In to add comment