Guest User

Untitled

a guest
May 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. self.searchBR.returnKeyType = UIReturnKeyType.default
  2. self.title = (UserDefaults.standard.value(forKey: "selctedCity") as! String)
  3.  
  4. mainCollectionImgArray = ["headset.png","achievement.png","car.png",
  5. "configuration-gear.png","Cleaning.png",
  6. "portfolio.png","vaccine.png","book.png","Sports.png","Food.png","Events.png","Arts&Entertainment.png","Health&Beauty.png","Clothes&Accessories.png","Baby.png","Toys.png","Electronics.png","RealEstate.png","Furniture.png","Travel.png","Pets.png","Manufactures.png","Used&Rentals.png"]
  7. self.loadCategoryData()
  8. self.loadSubcategoriesData()
  9. self.loadSuperSubCategories()
  10.  
  11. self.mainCollectionView.reloadData()
  12. topCollectionView.reloadData()
  13. }
  14.  
  15. override func didReceiveMemoryWarning() {
  16. super.didReceiveMemoryWarning()
  17. // Dispose of any resources that can be recreated.
  18. }
  19.  
  20.  
  21. @IBAction func locationButtonTapped(_ sender: Any) {
  22. let LocationViewController = self.storyboard?.instantiateViewController(withIdentifier: "ViewController")
  23. self.navigationController?.pushViewController(LocationViewController!, animated: true)
  24. }
Add Comment
Please, Sign In to add comment