I want to be able to see if I can group certain items together in IB, however I am not sure this is possible? Any advice?
Interface Builder The first is an editor, where you write the Swift code that makes your application run. The second is Interface Builder, which is the part where you lay out the graphical interface of your program—the buttons, toolbars, menus, images, and text that make up how your users interact with your program.
If you're trying to treat a set of views like a single view, you can select the views you want to "group" and choose "Editor -> Embed In -> View". This will create a single UIView
with the selected views inside. This can be very useful for treating a group of views as a single view for layout purposes. The embedded views will layout relative to the enclosing view, and the enclosing view will layout relative to its superview. This is great for moving aligned views around together.
However, keep in mind that you're actually impacting the view hierarchy by doing this. It's not just a way of grouping the views for manipulation in IB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With