Introduction to the IOS Advanced framework

Source: Internet
Author: User

Core Data, Core Graphics, Core Animation, and OpenGL ES Framework are advanced technologies that are important for application development and therefore take time to learn and master.

The Core data framework manages the database model of the application

Core Data Management Object graph. With Core Data, you can create model objects (called managed objects). You manage the relationships between those objects and change the data through the framework. Core data uses the built-in SQLite technology to efficiently store and manage it.

Using Core Data:

    • Storing objects and retrieving objects from storage

    • Support for basic undo/redo

    • Automatic validation of property values

    • Filter, group, and organize your in-memory data

    • Use NSFetchedResultsController the results in the Manage Tables view

    • Support for document-based applications

The Core graphics framework helps you create graphics

High-quality graphics are an important part of all IOS applications. The easiest and easiest way to create graphics in iOS is to use pre-rendered images with the standard view and control of the UIKit framework and have iOS complete the drawing. UIKit also provides classes for customizing the drawing, including paths, colors, patterns, gradients, images, text, and transformations. Use UIKit (higher-level frames) as much as possible, rather than Core Graphics (lower-level frames).

Use the Core graphics when you want to write drawing code that is shared directly between IOS and OS X. The Core Graphics Framework, also known as Quartz, is almost identical on these two platforms.

Using the Core Graphics:

    • Making a path-based drawing

    • Using edge blur rendering

    • Add gradients, images, and colors

    • Using coordinate space transformations

    • Create, display, and parse PDF documents

Core Animation allows you to make advanced animations and visual effects

The animations provided by UIKit are built on the Core Animation technology. If you need advanced animations that exceed the UIKit functionality, you can use the Core Animation directly. The core Animation interface is included in the Quartz core framework. With Core Animation, you create layer objects of different levels, manipulate, rotate, scale, transform, and so on. By using the familiar Core Animation view schema abstraction, you can create a dynamic user interface without the use of low-level graphics APIs such as OpenGL ES.

Using Core Animation:

    • Create a custom Animation

    • Add a timing function to a graphic

    • Support for Keyframe animations

    • Specify Graphic layout constraints

    • Grouping multi-tier changes into atomic updates

OpenGL ES Framework provides 3D drawing tools

OpenGL ES supports 2D and 3D drawings based on the basics. Apple's implementation of the OpenGL ES Standard, in close collaboration with device hardware, provides a high frame rate for full-screen game-class applications.

Using OpenGL ES:

    • Creating 2D and 3D graphics

    • Make more complex graphics, such as data visualization, flight simulation, or video games.

    • Accessing the underlying graphics hardware

Introduction to the IOS Advanced framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.