UIKit.framework

  • NSDataAsset finds the Data named in assets.xcassets. The file you created in asset must be of type Data, otherwise it cannot be read
  • The NSLayoutAnchor API was introduced in iOS9 to not only make constraint declarations clearer, but also to ensure that constraints work through static type checking
  • NSTextStorage UITextView save and management is to show the text content, the class is a subclass of NSMutableAttributedString, due to the flexibility to the words to add or modify properties, so it is for saving and modify the text attributes.
  • NSLayoutManager is used to manage the layout of text content in NSTextStorage.
  • NSTextContainer defines a rectangular area to hold text that has been typesetted and set with attributes.
  • NSParagraphStyle Paragraph style
  • UIBlurEffect, UIVisualEffectView frosted glass effect UIToolBar also OK?
  • UIMenuController in many applications, when we long press a paragraph of text or picture, a menu will pop up, through which we can copy, cut, delete and operate the text
  • UIPageViewController paging control
  • UIPopoverController, UIPresentationController that plus control on wechat, popover effect
  • UISplitViewController Master/Detail style, taobao, iPad kind of like that
  • UIStateRestoration in iOS, it is common for programs to enter the background by locking the screen or pressing the Home button. When programs return to the foreground, users still want to see some content of previous operations. Therefore, in the process of the design and development of the program to the developer to take some means to meet the needs of users. Thankfully, Apple has provided a solution to this problem
  • UIStepper [+ 10 -], which can be entered incrementally. UIStepper inherited from UIControl, it is the main event UIControlEventValueChanged, when its value changed will trigger the event. UIStepper (Digital control)
  • UITraitCollection and UITraitEnvironment are related to size-classes
  • Add it slowly after you’re down for a while