ios - Navigation Controller - Swift -


i want create food app. image1 , 2 want app like. don't know how implement swift xcode. right now, have 2 view controllers go , forth.

any advice or tip appreciated. stuck @ how create circles. thinking putting circles tableview thing, not sure best way implement this.

i have set parse project.

image 1 (list of restaurants): restaurants

image 2 (list of food/drinks): food/drinks

in tableview delegate setting yourimageview

in swift

yourimageview?.layer.cornerradius = (yourimageview?.frame.size.height)!/2 yourimageview?.layer.maskstobounds = true yourimageview?.layer.borderwidth = 0 

in objective-c

cell.yourimageview.layer.cornerradius = cell.yourimageview.frame.size.height /2; cell.yourimageview.layer.maskstobounds = yes; cell.yourimageview.layer.borderwidth = 0; 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -