amanmaan08

TVOS app like Netflix

TVOS app like Netflix iOS

Screenshots

TVOS app like Netflix iOS
TVOS app like Netflix iOS
TVOS app like Netflix iOS
TVOS app like Netflix iOS
TVOS app like Netflix iOS

Specification

How to Use

Sample Code

func getAllGeners() { let ref = AppStateManager.sharedInstance.firebase.childByAppendingPath("Geners") // Attach a closure to read the data at our posts reference ref.observeEventType(.Value, withBlock: { snapshot in if snapshot.value != nil { let allGeners: NSDicti as! NSDictionary) var tempArray: [AnyObject] = [AnyObject]() let keys: NSArray = allGeners.allKeys for case let key as String in keys { let dict: NSDicti as! NSDictionary let gener: Gener = Gener() gener.name = (dict["Name"] as? String)! gener.ID = key tempArray.append(gener) } if(tempArray.count>0) { let gener:Gener = tempArray[0] as! Gener self.getVideosOfGenre(gener.ID!) } self.arrGeners = NSMutableArray.init(array: tempArray) self.tableView.reloadData() } } , withCancelBlock: { error in print(error.description) } ) }

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}