[ad_1]
Ok i figured it out. So i am answering that for anyone who’s tackling the same problem.
I have used Both, Outlet Collection and Tags. I used tags with same number for grouping. And used the Outlet collection to loop on all buttons which are related to the chosen tag.
Thank you
[ad_2]
solved Grouping of buttons for toggling in iOS (SWIFT or Obj-C)