我有一个代码,我需要在每个图像之间添加垂直和水平线

时间:2018-05-25 06:29:18

标签: ios

I have code like this and i need to insert vertical and horizontal lines between images

self.searchBR.returnKeyType = UIReturnKeyType.default
        self.title = (UserDefaults.standard.value(forKey: "selctedCity") as! String)

        mainCollectionImgArray = ["headset.png","achievement.png","car.png",
                                  "configuration-gear.png","Cleaning.png",
                                  "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"]
        self.loadCategoryData()
        self.loadSubcategoriesData()
        self.loadSuperSubCategories()

        self.mainCollectionView.reloadData()
        topCollectionView.reloadData()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


    @IBAction func locationButtonTapped(_ sender: Any) {
        let LocationViewController = self.storyboard?.instantiateViewController(withIdentifier: "ViewController")
        self.navigationController?.pushViewController(LocationViewController!, animated: true)
    }

我想在图像之间添加垂直和水平线,请有人帮助我

0 个答案:

没有答案