[New learn] UIKit 框架类
NSObject is the root class of most Objective-C class hierarchies. |
|
The NSDataAsset class enables you to access an object from a data set type stored in an asset catalog. |
|
NSFileProviderExtension is the principal class for the File Provider extension. |
|
The NSLayoutAnchor class is a factory class for creating NSLayoutConstraint objects using a fluent API. |
|
The NSLayoutDimension class is a factory class for creating size-based NSLayoutConstraint objects using a fluent API. |
|
The NSLayoutXAxisAnchor class is a factory class for creating horizontal NSLayoutConstraint objects using a fluent API. |
|
The NSLayoutYAxisAnchor class is a factory class for creating vertical NSLayoutConstraint objects using a fluent API. |
|
A constraint defines a relationship between two user interface objects that must be satisfied by the constraint-based layout system. |
|
An NSLayoutManager object coordinates the layout and display of characters held in an NSTextStorage object. |
|
The NSParagraphStyle class and its subclass NSMutableParagraphStyle encapsulate the paragraph or ruler attributes used by the NSAttributedString classes. |
|
The NSMutableParagraphStyle class adds methods to its superclass, NSParagraphStyle, for changing the values of the subattributes in a paragraph style attribute. |
|
An NSShadow object encapsulates the attributes used to create a drop shadow during drawing operations. |
|
The NSStringDrawingContext class manages metrics used when drawing attributed strings. |
|
NSTextAttachment objects are used by the NSAttributedString class cluster as the values for attachment attributes (stored in the attributed string under the key named NSAttachmentAttributeName). |
|
The NSTextContainer class defines a region in which text is laid out. |
|
An NSTextTab object represents a tab in an NSParagraphStyle object, storing an alignment type and location. |
|
An instance of the UIAcceleration class, called an acceleration event, represents immediate, three-dimensional acceleration data. |
|
The UIAccelerometer class lets you register to receive acceleration-related data from the onboard hardware. |
|
A UIAccessibilityCustomAction object represents a custom action to be performed on an accessible object. |
|
The UIAccessibilityElement class encapsulates information about an item that should be accessible to users with disabilities, but that isn’t accessible by default. |
|
The UIActivity class is an abstract class that you subclass in order to implement application-specific services. |
|
A UIAlertAction object represents an action that can be taken when tapping a button in an alert. |
|
An application shortcut, or quick action, icon is an image you can optionally associate with a Home screen quick action to improve its appearance and usability. |
|
An application shortcut item, also called a Home screen dynamic quick action, specifies a user-initiated action for your app. |
|
A mutable application shortcut item, also called, verbosely, a mutable Home screen dynamic quick action, specifies a configurable user-initiated action for your app. |
|
A UIBarButtonItemGroup object manages a set of bar button items on the shortcuts bar above the keyboard on iPad. |
|
UIBarItem is an abstract superclass for items added to a bar that appears at the bottom of the screen. |
|
A bar button item is a button specialized for placement on a UIToolbar or UINavigationBar object. |
|
The UITabBarItem class implements an item on a UITabBar object. |
|
The UIBezierPath class lets you define a path consisting of straight and curved line segments and render that path in your custom views. |
|
The UICollectionViewLayout class is an abstract base class that you subclass and use to generate layout information for a collection view. |
|
The UICollectionViewFlowLayout class is a concrete layout object that organizes items into a grid with optional header and footer views for each section. |
|
The UICollectionViewTransitionLayout class is a special type of layout object that lets you implement behaviors when changing from one layout to another in your collection view. |
|
An UICollectionViewLayoutAttributes object manages the layout-related attributes for a given item in a collection view. |
|
A UICollectionViewLayoutInvalidationContext object declares which parts of your layout need to be updated when the layout is invalidated. |
|
A UICollectionViewFlowLayoutInvalidationContext object specifies properties for determining whether to recompute the size of items or their position in the layout. |
|
The UICollectionViewUpdateItem class describes a single change to make to an item in a collection view. |
|
A UIColor object represents color and sometimes opacity (alpha value). |
|
The UIDevice class provides a singleton instance representing the current device. |
|
A dictation phrase object represents the textual interpretation of a spoken phrase as dictated by a user. |
|
The UIDocument class is an abstract base class for managing the data of documents. |
|
UIManagedDocument is a concrete subclass of UIDocument that integrates with Core Data. |
|
A document interaction controller, along with a delegate object, provides in-app support for managing user interactions with files in the local system. |
|
A dynamic animator provides physics-related capabilities and animations for its dynamic items, and provides the context for those animations. |
|
A dynamic behavior confers a behavioral configuration on one or more dynamic items for their participation in two-dimensional animation. |
|
A UIAttachmentBehavior object creates a relationship between two dynamic items, or between a dynamic item and an anchor point. |
|
A collision behavior confers, to a specified array of dynamic items, the ability of those items to engage in collisions with each other and with the behavior’s specified boundaries. |
|
A dynamic item behavior represents a base dynamic animation configuration for one or more dynamic items. |
|
A UIFieldBehavior object applies field-based physics to dynamic items. |
|
A UIGravityBehavior object applies a gravity-like force to all of its associated dynamic items. |
|
A push behavior applies a continuous or instantaneous force to one or more dynamic items, causing those items to change position accordingly. |
|
A snap behavior defines a dynamic item’s movement to a specified point; the movement proceeds with a spring-like effect, ending with an oscillation whose amount you can set. |
|
A UIDynamicItemGroup object represents a dynamic item comprised of multiple other dynamic items. |
|
A UIEvent object (or, simply, an event object) represents an event in iOS. |
|
A UIPressesEvent object is an event that describes the state of a set of physical buttons that are available to the device, such as those on an associated remote or game controller. |
|
The UIFocusAnimationCoordinator class helps coordinate focus-related animations during a focus update. |
|
The UIFocusUpdateContext class provides information relevant to a specific focus update from one view to another. |
|
A UICollectionViewFocusUpdateContext object stores information specific to a focus update in a collection view. |
|
The UITableViewFocusUpdateContext is a subclass of the UIFocusUpdateContext and provide information relevant to a specific focus update from one view to another. |
|
The UIFont class provides the interface for getting and setting font information. |
|
UIFontDescriptor objects provide a mechanism to describe a font with a dictionary of attributes. |
|
UIGestureRecognizer is an abstract base class for concrete gesture-recognizer classes. |
|
UILongPressGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for long-press gestures. |
|
UIPanGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for panning (dragging) gestures. |
|
A UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that start near an edge of the screen. |
|
UIPinchGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for pinching gestures involving two touches. |
|
UIRotationGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for rotation gestures involving two touches. |
|
UISwipeGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for swiping gestures in one or more directions. |
|
UITapGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for single or multiple taps. |
|
A UIImage object is a high-level way to display image data. |
|
A UIImageAsset object is a container for a collection of images that represent multiple ways of describing a single piece of artwork. |
|
The UIKeyCommand class specifies a key presses performed on a hardware keyboard and the resulting action that should take place. |
|
The UILayoutGuide class defines a rectangular area that can interact with Auto Layout. |
|
The UIFocusGuide class is designed to expose non view areas as focusable. |
|
A lexicon contains a read-only array of term pairs, each in a UILexiconEntry object, for use by a custom keyboard. |
|
A lexicon entry specifies a read-only term pair, available within a UILexicon object, for use by a custom keyboard. |
|
A UILocalNotification object specifies a notification that an app can schedule for presentation at a specific date and time. |
|
The UILocalizedIndexedCollation class is a convenience for organizing, sorting, and localizing the data for a table view that has a section index. |
|
The singleton UIMenuController instance presents the menu interface for the Cut, Copy, Paste, Select, Select All, and Delete commands. |
|
An instance of the UIMenuItem class represents a custom item in the editing menu managed by the UIMenuController object. |
|
The UIMotionEffect class is an abstract superclass for defining motion-based modifiers for views. |
|
A UIInterpolatingMotionEffect object maps the horizontal or vertical tilt of a device to values that you specify so that UIKit can apply those values to your views. |
|
The UIMotionEffectGroup class manages a collection of motion effects that you want to apply to a view at the same time. |
|
A UINavigationItem object manages the buttons and views to be displayed in a UINavigationBar object. |
|
Instances of the UINib class serve as object wrappers, or containers, for Interface Builder nib files. |
|
The UIPasteboard class enables an app to share data within the app and with another app. |
|
A percent-driven interactive transition object drives the custom animation between the disappearance of one view controller and the appearance of another. |
|
The UIPopoverController class is used to manage the presentation of content in a popover. |
|
A UIPresentationController object provides advanced view and transition management for presented view controllers. |
|
A UIPopoverPresentationController object manages the display of content in a popover. |
|
A UIPress object represents the presence or movement of a button press on the screen for a particular event. |
|
A preview action, or peek quick action, is displayed below a peek when a user swipes the peek upward. |
|
A preview quick action group contains one or more child quick actions, each an instance of the UIPreviewAction class. |
|
UIPrintFormatter is an abstract base class for print formatters: objects that lay out custom printable content that can cross page boundaries. |
|
Instances of the UIMarkupTextPrintFormatter class lay out HTML markup text for a multipage print job. |
|
Instances of the UISimpleTextPrintFormatter class lay out plain text for printing, possibly over multiple pages. |
|
An instance of the UIViewPrintFormatter class lays out the drawn content of a view for printing. |
|
A UIPrintInfo object encapsulates information about a print job, including printer identifier, job name, output type (photo, normal, grayscale), orientation (portrait or landscape), and any selected duplex mode. |
|
The shared instance of the UIPrintInteractionController class presents a printing user interface and manages the printing of documents, images, and other printable content in iOS. |
|
A UIPrintPageRenderer object draws pages of content that are to be printed, with or without the assistance of print formatters. |
|
An instance of the UIPrintPaper class encapsulates the size of paper used for a print job and the rectangle in which content can be printed. |
|
A UIPrinter object contains the attributes of a printer on the network. |
|
A UIPrinterPickerController object displays the system interface for selecting a printer. |
|
A UIRegion object defines shape for use in UIKit Dynamics. |
|
The UIResponder class defines an interface for objects that respond to and handle events. |
|
The UIApplication class provides a centralized point of control and coordination for apps running in iOS. |
|
The UIView class defines a rectangular area on the screen and the interfaces for managing the content in that area. |
|
Important: UIActionSheet is deprecated in iOS 8. |
|
Use an activity indicator to show that a task is in progress. |
|
Important: UIAlertView is deprecated in iOS 8. |
|
The UICollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view. |
|
A UICollectionViewCell object presents the content for a single data item when that item is within the collection view’s visible bounds. |
|
UIControl is the base class for control objects such as buttons and sliders that convey user intent to the application. |
|
An instance of the UIButton class implements a button on the touch screen. |
|
The UIDatePicker class implements an object that uses multiple rotating wheels to allow users to select dates and times. |
|
You use the UIPageControl class to create and manage page controls. |
|
A UIRefreshControl object provides a standard control that can be used to initiate the refreshing of a table view’s contents. |
|
A UISegmentedControl object is a horizontal control made of multiple segments, each segment functioning as a discrete button. |
|
A UISlider object is a visual control used to select a single value from a continuous range of values. |
|
A stepper control provides a user interface for incrementing or decrementing a value. |
|
You use the UISwitch class to create and manage the On/Off buttons used, for example, in the Settings app for options such as Airplane Mode and Bluetooth. |
|
A UITextField object is a control that displays editable text and sends an action message to a target object when the user presses the return button. |
|
An image view object provides a view-based container for displaying either a single image or for animating a series of images. |
|
The UIInputView class is designed to match the appearance of the standard system keyboard when used as an input view with a responder. |
|
The UILabel class implements a read-only text view. |
|
The UINavigationBar class provides a control for navigating hierarchical content. |
|
The UIPickerView class implements objects, called picker views, that use a spinning-wheel or slot-machine metaphor to show one or more sets of values. |
|
The UIPopoverBackgroundView class provides the background appearance for a popover. |
|
You use the UIProgressView class to depict the progress of a task over time. |
|
The UIScrollView class provides support for displaying content that is larger than the size of the application’s window. |
|
The UICollectionView class manages an ordered collection of data items and presents them using customizable layouts. |
|
An instance of UITableView (or simply, a table view) is a means for displaying and editing hierarchical lists of information. |
|
The UITextView class implements the behavior for a scrollable, multiline text region. |
|
The UISearchBar class implements a text field control for text-based searches. |
|
The UIStackView class provides a streamlined interface for laying out a collection of views in either a column or a row. |
|
A tab bar is a control, usually appearing across the bottom of the screen in the context of a tab bar controller, for giving the user one-tap, modal access to a set of views in an app. |
|
The UITableViewCell class defines the attributes and behavior of the cells that appear in UITableView objects. |
|
The UITableViewHeaderFooterView class implements a reusable view that can be placed at the top or bottom of a table section. |
|
A toolbar is a control that displays one or more buttons, called toolbar items. |
|
A UIVisualEffectView object gives you an easy way implement some complex visual effects. |
|
You can use the UIWebView class to embed web content in your app. |
|
The UIWindow class defines an object known as a window that manages and coordinates the views an app displays on a device screen. |
|
The UIViewController class provides the infrastructure for managing the views of your iOS apps. |
|
The UIActivityViewController class is a standard view controller that you can use to offer various services from your application. |
|
A UIAlertController object displays an alert message to the user. |
|
The UICollectionViewController class represents a view controller whose content consists of a collection view. |
|
A UIDocumentMenuViewController object represents a list of all the available document providers for a given file type and mode. |
|
The UIDocumentPickerExtensionViewController class is the principal class for the Document Picker View Controller extension. |
|
A UIDocumentPickerViewController object lets the user select documents or destinations outside your app’s sandbox. |
|
To create a custom keyboard, start by subclassing the UIInputViewController class. |
|
The UINavigationController class implements a specialized view controller that manages the navigation of hierarchical content. |
|
The UIImagePickerController class manages customizable, system-supplied user interfaces for taking pictures and movies on supported devices, and for choosing saved images and movies for use in your app. |
|
A UIVideoEditorController object, or video editor, manages the system-supplied user interface for trimming video frames from the start and end of a previously recorded movie as well as reencoding to lower quality. |
|
A page view controller lets the user navigate between pages of content, where each page is managed by its own view controller object. |
|
A UIReferenceLibraryViewController object provides a dictionary service to look up the definition of a word or term from within an app. |
|
A UISearchContainerViewController object is a wrapper for search results that you want to embed in a container view controller. |
|
A UISearchController object manages the display of search results based on interactions with a search bar. |
|
The UISplitViewController class is a container view controller that presents a master-detail interface. |
|
The UITabBarController class implements a specialized view controller that manages a radio-style selection interface. |
|
The UITableViewController class creates a controller object that manages a table view. |
|
A UIScreen object defines the properties associated with a hardware-based display. |
|
A UIScreenMode object represents a possible set of attributes that can be applied to a UIScreen object. |
|
Important: UISearchDisplayController is deprecated in iOS 8. |
|
A UIStoryboard object encapsulates the view controller graph stored in an Interface Builder storyboard resource file. |
|
A UIStoryboardSegue object is responsible for performing the visual transition between two view controllers. |
|
The UIStoryboardPopoverSegue class defines a specific type of segue for presenting content in a popover. |
|
a href="" UIStoryboardUnwindSegueSource /a |
|
A UITableViewRowAction object defines a single action to present when the user swipes horizontally in a table row. |
|
You use instances of the UITextChecker class to check a string (usually the text of a document) for misspelled words. |
|
A UITextInputAssistantItem object manages bar button items displayed in the shortcuts bar above the keyboard on iPad. |
|
An instance of the UITextInputMode class represents the current text-input mode. |
|
The UITextInputStringTokenizer class is a base implementation of the UITextInputTokenizer protocol provided by the UIKit framework. |
|
A UITextPosition object represents a position in a text container; in other words, it is an index into the backing string in a text-displaying view. |
|
A UITextRange object represents a range of characters in a text container; in other words, it identifies a starting index and an ending index in string backing a text-entry object. |
|
The UITextSelectionRect class encapsulates information about a selected range of text in a document. |
|
A UITouch object represents the location, size, movement, and force of a finger on the screen for a particular event. |
|
A trait collection describes the iOS interface environment for your app, including traits such as horizontal and vertical size class, display scale, and user interface idiom. |
|
A UIUserNotificationAction object represents a custom action that your app can perform in response to a remote or local notification. |
|
A UIMutableUserNotificationAction object represents a modifiable version of the UIUserNotificationAction class. |
|
A UIUserNotificationCategory object encapsulates information about custom actions that your app can perform in response to a local or push notification. |
|
A UIMutableUserNotificationCategory object encapsulates information about custom actions that your app can perform in response to a local or push notification. |
|
A UIUserNotificationSettings object encapsulates the types of notifications that can be displayed to the user by your app. |
|
This class contains no methods and is intended as a way to initialize a UIVisualEffectView with UIBlurEffect and UIVibrancyEffect objects. |
|
A UIBlurEffect object applies a blurring effect to the content layered behind a UIVisualEffectView. |
|
A UIVibrancyEffect object amplifies and adjusts the color of the content layered behind a UIVisualEffectView object, allowing the content placed inside of the contentView to become more vivid. |
|
NSMutableAttributedString declares the programmatic interface to objects that manage mutable attributed strings. |
|
NSTextStorage is a semiconcrete subclass of NSMutableAttributedString that manages a set of client NSLayoutManager objects, notifying them of any changes to its characters or attributes so that they can relay and redisplay the text as needed. |
|
The NSOperation class is an abstract class you use to encapsulate the code and data associated with a single task. |
|
A UIActivityItemProvider object is a proxy for data passed to an activity view controller. |
Protocols
The NSLayoutManagerDelegate protocol defines the optional methods implemented by delegates of NSLayoutManager objects. |
|
The NSTextAttachmentContainer protocol defines the interface to text attachment objects from NSLayoutManager. |
|
The NSTextLayoutOrientationProvider protocol defines an interface providing the default orientation for text laid out in a conforming object, in absence of an explicit NSVerticalGlyphFormAttributeName attribute. |
|
The NSTextStorageDelegate protocol defines the optional methods implemented by delegates of NSTextStorage objects. |
|
The UIAccelerometerDelegate protocol defines a single method for receiving acceleration-related data from the system. |
|
The UIAccessibility informal protocol provides accessibility information about an application’s user interface elements. |
|
The UIAccessibilityAction informal protocol provides a way for accessibility elements to support specific actions, such as selecting values in a range or scrolling through information on the screen. |
|
The UIAccessibilityContainer informal protocol provides a way for UIView subclasses to make selected components accessible as separate elements. |
|
The UIAccessibilityFocus informal protocol provides a way to find out whether an assistive technology, such as VoiceOver, is focused on an accessible element. |
|
The UIAccessibilityIdentification protocol is used to associate a unique identifier with elements in your user interface. |
|
The UIAccessibilityReadingContent protocol can be implemented on an object that represents content that is intended to be read by users, such as a book or an article. |
|
Important: UIActionSheetDelegate is deprecated in iOS 8. |
|
The UIActivityItemSource protocol defines the methods used by a UIActivityViewController object to retrieve the data items to act on. |
|
An object that conforms to the UIAdaptivePresentationControllerDelegate protocol works with a presentation controller to determine how to respond to trait changes in your app. |
|
Important: UIAlertViewDelegate is deprecated in iOS 8. |
|
Use the UIAppearance protocol to get the appearance proxy for a class. |
|
A class must adopt the UIAppearance protocol to allow appearance customization using the UIAppearance API. |
|
The UIApplicationDelegate protocol defines methods that are called by the singleton UIApplication object in response to important events in the lifetime of your app. |
|
The UIBarPositioning protocol defines the ways that bars can be positioned on iOS devices. |
|
The UIBarPositioningDelegate protocol supports the positioning of a bar that conforms to the UIBarPositioning protocol. |
|
An object that adopts the UICollectionViewDataSource protocol is responsible for providing the data and views required by a collection view. |
|
The UICollectionViewDelegate protocol defines methods that allow you to manage the selection and highlighting of items in a collection view and to perform actions on those items. |
|
The UICollectionViewDelegateFlowLayout protocol defines methods that let you coordinate with a UICollectionViewFlowLayout object to implement a grid-based layout. |
|
To respond to UIKit dynamic item collisions, configure a custom class to adopt the UICollisionBehaviorDelegate protocol. |
|
The methods of the UIContentContainer protocol help you adapt the contents of your view controllers to size and trait changes. |
|
The UICoordinateSpace protocol defines methods for converting between different frames of reference on a screen. |
|
The UIDataSourceModelAssociation protocol defines an interface for providing persistent references to data objects in your app. |
|
The UIDocumentInteractionControllerDelegate protocol includes methods you can implement to respond to messages from a document interaction controller. |
|
The UIDocumentMenuDelegate protocol defines the methods you must implement to track user interactions with a document menu view controller. |
|
The UIDocumentPickerDelegate protocol defines the methods you must implement to track when the user selects a document or destination, or to track when the document picker is canceled. |
|
To respond to the pausing or resumption of UIKit dynamic animation, configure a custom class to adopt the UIDynamicAnimatorDelegate protocol. |
|
To make a custom object eligible to participate in UIKit Dynamics, adopt the UIDynamicItem protocol in the object’s class. |
|
The UIFocusEnvironment protocol defines the focus behavior for a branch of the view hierarchy. |
|
Delegates of a gesture recognizer—that is, an instance of a concrete subclass of UIGestureRecognizer—adopt the UIGestureRecognizerDelegate protocol to fine-tune an app’s gesture-recognition behavior. |
|
Adopting the UIGuidedAccessRestrictionDelegate protocol in your application delegate allows you to add custom restrictions for the Guided Access feature in iOS. |
|
The UIImagePickerControllerDelegate protocol defines methods that your delegate object must implement to interact with the image picker interface. |
|
The UIInputViewAudioFeedback protocol defines a single property for enabling a custom input or keyboard accessory view to play standard keyboard input clicks. |
|
A subclass of UIResponder can adopt this protocol to implement simple text entry. |
|
This protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide to support using Auto Layout with a view controller’s view, starting in iOS 7. |
|
The UINavigationBarDelegate protocol defines optional methods that a UINavigationBar delegate should implement to update its views when items are pushed and popped from the stack. |
|
Use a navigation controller delegate (a custom object that implements this protocol) to modify behavior when a view controller is pushed or popped from the navigation stack of a UINavigationController object. |
|
The UIObjectRestoration protocol should be adopted by classes that act as "restoration classes” for objects during the state restoration process. |
|
The UIPageViewControllerDataSource protocol is adopted by an object that provides view controllers to the page view controller on an as-needed basis, in response to navigation gestures. |
|
The delegate of a page view controller must adopt the UIPageViewControllerDelegate protocol. |
|
The UIPickerViewAccessibilityDelegate protocol defines methods you can implement to provide accessibility information for individual components of a picker view. |
|
The UIPickerViewDataSource protocol must be adopted by an object that mediates between a UIPickerView object and your application’s data model for that picker view. |
|
The delegate of a UIPickerView object must adopt this protocol and implement at least some of its methods to provide the picker view with the data it needs to construct itself. |
|
The UIPopoverBackgroundViewMethods protocol defines methods that UIPopoverBackgroundView subclasses must implement. |
|
The UIPopoverControllerDelegate protocol defines the methods you can implement for the delegate of a UIPopoverController object. |
|
The methods of the UIPopoverPresentationControllerDelegate protocol let you customize the behavior of a popover-based presentation. |
|
The UIPreviewActionItem protocol is adopted by the UIPreviewAction and UIPreviewActionGroup classes. |
|
The UIPrintInteractionControllerDelegate protocol is implemented by the delegate of the UIPrintInteractionController shared instance to perform a number of optional tasks. |
|
The UIPrinterPickerControllerDelegate protocol defines methods for managing the presentation and dismissal of a printer picker interface. |
|
The UIResponderStandardEditActions informal protocol declares methods that responder classes should override to handle common editing commands invoked in the user interface, such as Copy, Paste, and Select. |
|
The UIScrollViewAccessibilityDelegate protocol defines methods you can implement to provide accessibility information for a scrollview. |
|
The methods declared by the UIScrollViewDelegate protocol allow the adopting delegate to respond to messages from the UIScrollView class and thus respond to, and in some affect, operations such as scrolling, zooming, deceleration of scrolled content, and scrolling animations. |
|
The UISearchBarDelegate protocol defines the optional methods you implement to make a UISearchBar control functional. |
|
This protocol defines delegate methods for UISearchController objects. |
|
Important: UISearchDisplayDelegate is deprecated in iOS 8. |
|
Use the UISearchResultsUpdating protocol to update search results based on information the user enters into the search bar. |
|
The UISplitViewControllerDelegate protocol defines methods that allow you to manage changes to a split view interface. |
|
The UIStateRestoring protocol lets you include any object in your state restoration archives. |
|
You use the UITabBarControllerDelegate protocol when you want to augment the behavior of a tab bar. |
|
The UITabBarDelegate protocol defines optional methods for a delegate of a UITabBar object. |
|
The UITableViewDataSource protocol is adopted by an object that mediates the application’s data model for a UITableView object. |
|
The delegate of a UITableView object must adopt the UITableViewDelegate protocol. |
|
A text document proxy provides textual context to a custom keyboard (which is based on the UIInputViewController class) by way of the keyboard’s textDocumentProxy property. |
|
The UITextFieldDelegate protocol defines the messages sent to a text field delegate as part of the sequence of editing its text. |
|
Classes that adopt the UITextInput protocol (and conform with inherited protocols) interact with the text input system and thus acquire features such as autocorrection and multistage text input for their documents. |
|
The text input delegate acts as an intermediary between a document and the text input system, conveying notifications of pending or transpired changes in text and selection in the document. |
|
An instance of a class that adopts the UITextInputTokenizer protocol is a tokenizer; a tokenizer allows the text input system to evaluate text units of different granularities. |
|
The UITextInputTraits protocol defines features associated with keyboard input to a text object. |
|
The UITextViewDelegate protocol defines a set of optional methods you can use to receive editing-related messages for UITextView objects. |
|
The UIToolbarDelegate protocol defines the interface that toolbar delegate objects implement to manage the toolbar behavior. |
|
The iOS interface environment, which includes such traits as horizontal and vertical size class, display scale, and user interface idiom, is available to apps through the UITraitEnvironment protocol. |
|
The UIVideoEditorControllerDelegate protocol defines methods that your delegate object must implement to respond to the video editor. |
|
Adopt the UIViewControllerAnimatedTransitioning protocol in objects that implement the animations for a custom view controller transition. |
|
The UIViewControllerContextTransitioning protocol’s methods provide contextual information for transition animations between view controllers. |
|
To enable an object (such as a navigation controller) to drive a view controller transition, configure a custom class to adopt the UIViewControllerInteractiveTransitioning protocol. |
|
This protocol defines the interface for configuring a previewing view controller on devices that support 3D Touch. |
|
Implement the methods of this protocol to respond, with a preview view controller and a commit view controller, to the user pressing a view object on the screen of a device that supports 3D Touch. |
|
The UIViewControllerRestoration protocol should be adopted by classes that act as "restoration classes” for view controllers during the state restoration process. |
|
An object that adopts the UIViewControllerTransitionCoordinator protocol provides support for animations associated with a view controller transition. |
|
An object that conforms to the UIViewControllerTransitionCoordinatorContext protocol provides information about an in-progress view controller transition. |
|
An object that implements the UIViewControllerTransitioningDelegate protocol vends the objects used to manage a fixed-length or interactive transition between view controllers. |
|
The UIWebViewDelegate protocol defines methods that a delegate of a UIWebView object can optionally implement to intervene when web content is loaded. |
[New learn] UIKit 框架类的更多相关文章
- Swift - 重写UIKit框架类的init初始化方法(以UITabBarController为例)
原来写了篇文章讲UITabBarController的用法,当时是从UIViewController跳转到UITabBarController页面,代码如下: 1 self.presentViewCo ...
- UIKit框架类层次图
学习UIKit应该首选了解UIKit类的层次图,从根类一层一层的拨.
- UIKit框架
在今后的应用程序构建中,会陆续使用各式各样的控件,因此UIKit框架的引入是必不可少的! 一.简介 UIKitk框架提供一系列的Class(类)来建立和管理iPhone OS应用程序的用户界面接口.应 ...
- iOS学习32之UIKit框架-可视化编程-XIB
1. Interface Builder 可视化编程 1> 概述 GUI : 图形用户界面(Graphical User Interface, 简称GUI, 又称图形化界面) 是指采用图形方式显 ...
- 基础框架Fundation和UIkit框架的定义和使用
Foundation 框架为所有应用程序提供基本的系统服务 您的应用程序以及 UIKit 和其他框架,都建立在 Foundation 框架的基础结构之上.Foundation 框架提供许多基本的对象类 ...
- iOS开发概述UIkit动力学,讲述UIKit的Dynamic特性,UIkit动力学是UIkit框架中模拟真实世界的一些特性。
转发:http://my.oschina.net/u/1378445/blog/335014 iOS UIKit动力学 Dynamics UIAttachmentBehavior 实现iMessage ...
- iOS开发UIKit框架-可视化编程-XIB
1. Interface Builder 可视化编程 1> 概述 GUI : 图形用户界面(Graphical User Interface, 简称GUI, 又称图形化界面) 是指采用图形方式显 ...
- 79、iOS 的Cocoa框架、Foundation框架以及UIKit框架
Cocoa框架是iOS应用程序的基础 1. Cocoa是什么? Cocoa是 OS X和ios 操作系统的程序的运行环境. 是什么因素使一个程序成为Cocoa程序呢?不是编程语言,因为在Cocoa开发 ...
- IOS 整体框架类图值得收藏
Cocoa框架是iOS应用程序的基础,了解Cocoa框架,对开发iOS应用有很大的帮助. 1.Cocoa是什么? Cocoa是OS X和 iOS操作系统的程序的运行环境. 是什么因素使一个程序成为Co ...
随机推荐
- 【国家集训队】聪聪可可 ——树形DP
感觉是一道很妙的树形DP题,充分利用到了树的性质(虽然说点分治也可以做,,,,但是本蒟蒻不会啊) 然而某Twilight_Sx大佬表示这道题真的非常水,,,本蒟蒻也只能瑟瑟发抖了 本蒟蒻表示还是要经过 ...
- 洛谷3800:Power收集——题解
https://www.luogu.org/problemnew/show/P3800 可以把游戏界面理解成一个N行M列的棋盘,有K个格子上有P点,其价值为val(i,j) 初始灵梦可以选择在第一行的 ...
- BZOJ4104 [Thu Summer Camp 2015]解密运算 【乱搞】
题目链接 BZOJ4104 题解 我们将已知字符排序,由循环就可以得到一个对应关系 如样例就是: 0->第5行 1->第1行 1->第2行 1->第3行 1->第5行 2 ...
- 洛谷 CF1043F Make It One 解题报告
CF1043F Make It One 题意 从一堆数中选择最少的数,使它们的\(\gcd=1\) 输入输出格式 输入格式 第一行:一个正整数\(n\). 第二行:\(n\)个正整数,给出了这个数列. ...
- 使用openssl实现RSA非对称加密
生成公钥私钥 使用命令生成私钥 openssl genrsa - 参数:genrsa 生成密钥 -out 输出到文件 rsa_private_key.pem 文件名 1024 长度 从私钥中提 ...
- 洛谷P4198 楼房重建 (分块)
洛谷P4198 楼房重建 题目描述 小A的楼房外有一大片施工工地,工地上有N栋待建的楼房.每天,这片工地上的房子拆了又建.建了又拆.他经常无聊地看着窗外发呆,数自己能够看到多少栋房子. 为了简化问题, ...
- div模拟textarea在ios下不兼容的问题解决
今天发现一个好东西,赶紧记下来,我在用textarea的时候,想要自适应高度,这样就不会出现滚动条.网上找了很多,都是用div模拟的,但是好扯淡,div模拟的在ios下不能聚焦并且不能输入.真坑... ...
- CodeBlocks wrong
codeblocks官网 Q1. 中文乱码 系统是win,用的是codeblocks编辑器,指定的原文件编码是UTF-8 编译后运行,发现中文在控制台里显示全是乱码 A1: 对此有解决办法,通过给g+ ...
- [Luogu 2590] ZJOI2008 树的统计
[Luogu 2590] ZJOI2008 树的统计 裸树剖不解释. 比板子还简单. #include <algorithm> #include <cstdio> #inclu ...
- 【51NOD】1201 整数划分
[题意]将n划分成不同正整数的和的方案数. [算法]动态规划 [题解] 暴力:f[i][j]:只用前1..i的数字,总和为j的方案数 本质上是01背包,前i个物体,总质量为j的方案数 f[i][j]= ...