• By the way, a commercial

IOS developer group 532084214 provides a platform for everyone to exchange technology and chat fart

StoryBoard development

A lot of iOS developers like to use StoryBoard development which is really easy and easy to do, but there are a lot of complicated states involved and a lot of constraints to drag out

In fact, Xcode provides us with some handy containers to help us develop diagrams

Let’s say we have a bunch of messy sub-views in the green and orange view and the way we normally write it is we specify a green and orange view and we do events in it but we still have to have a bunch of constraints in our storyBoard (forgive me for using the term)

So when you’re constructing an IBOutLet you’re going to have a ViewController and there are so many outlets that it’s hard to name them and the controller is going to have so much code that after iOS 5, a ChildViewController is like a View You can addSubview and then the viewController can addChildViewController # solution

1

2 Now you’ll notice two more small controllers on the right

At this time of 3 new two controllers FirstContainerViewController SecondContainerViewController

4 Running projects

A lot of people will say I don’t like using storyboards, but there is a reason for something to exist. I didn’t like using storyboards before, and I found it difficult to control AutoLayout. The reason is that I am not familiar with AutoLayout And it’s not that hard. It’s a UI that’s going to kill you all the time with code and in fact you’re going to get tired of writing it. Apple has been pushing AutoLayout for a long time Refrence is all about simplicity

I’d like to recommend some information that would be a big improvement for AutoLayout

                           `You will love\`t`
Copy the code

From beginner to master

  • AutoLayout [prequel]

  • AutoLayout [basic use]

  • AutoLayout three \[encounter Scrollview\] important

  • AutoLayout (UIWebView and UITableView)

  • AutoLayout [UITableView dynamic Height]

  • [dynamic calculation UITableViewCell highly explanation] (http://www.90159.com/2015/07/21/54/)

  • Use Autolayout to implement UITableView Cell dynamic layout and height dynamic change


# Other supplements

  • [Auto entry and Layout using] (http://blog.csdn.net/ysy441088327/article/details/11117619)

  • [Auto Layout advanced] (http://blog.csdn.net/ysy441088327/article/details/12558097)

  • IOS 8 AutoLayout with Size Class self-enlightenment


iOS 9

  • How does UIStackView make your development easier

  • Introduction to UIStackView

  • Added UIStackView official document translation


# Developer translation

  • Session218 Mysteries of AutoLayout Part1 Listen to interpret and explain the first chapter
  • iOS9 Day-by-Day :: Day 4 :: UIStack View
  • IOS 9: UIStackView

To the end this article has become a knowledge point recommended 😂 is mainly Autolayout written description is quite difficult to think clearly if there is a personal explanation will soon be able to understand more practice will be able to quickly master


My articles invited by the host of the public account will also be published to this public account

** Add a welcome wechat scan code to follow **Copy the code