The usage is as follows:
Create/Add a zip packageZipArchive * zipFile = [[ZipArchive alloc] init];// For zipfilename, a complete path is required, for example, ***/Documents/demo.zip.[ZipFile CreateZipFile2: @ "zipfilename"];// There are two
UIPageController is a built-in control that is not written in most IOS tutorials. Its main function is to implement view paging, which is somewhat similar to the paging function on a webpage.
This article mainly uses an example to talk about the
2. Create a new project
Open Xcode and create a Wax project. The template can be found in User Templates.From now on, APP_ROOT indicates the path of the project.Run the app and you will see "Hello Lua" in the iPhone simulator.
3. Start to use Lua
Overview
This is a quick tutorial on the Wax framework. Through this tutorial, you will eventually understand how interesting it is to use Wax in OC.
Wax is the adhesive between OC and Lua. That is to say, you can communicate between OC and
On the Internet, I found out how to restore the resources and images in the app for a long time. The amount of information is small. I only need to make a few general statements and specifically record the following information for others to
1. I wrote a small Demo to implement up and down movement: the main code is as follows: [cpp]-(IBAction) upChange :( id) sender {if (typeView = down) {[self. downBtn setHidden: NO]; [self. upBtn setHidden: NO]; [UIView animateWithDuration: 0.5
We mentioned the Application Testing and Logic Testing concepts when we added OCUnit to the project. They are not OCUnit concepts, it is a concept in unit testing. Application testing is a test of the entire application. When designing test cases,
Element Size (in points) Window (including status bar) 320x480 ptsStatus Bar (How to hide the status bar) 20 ptsView inside window (visible status bar) 320x460 Navigation Bar 44 ptsnail V Bar Image/Toolbar Image up to 20x20 pts (transparent PNG) Tab
1 PrefaceUse the JSONObjectWithData: options: error: Method of the NSJSONSerialization class to parse JSON data and store it in the data or dictionary.
2 Sample CodeTestDemo. m
[Plain]-(Void) convseFromJson {NSMutableDictionary * dictionary =
Core Data is a powerful layer located on the SQLite database. It avoids SQL complexity and allows us to interact with the database in a more natural way. Core Data converts database rows to OC objects (Managed Objects) so that they can be operated
When developing an APP, we always involve the internationalization of the APP. In ios, the terminology is called localization, which is actually a meaning. In short, it is a different system language, display different application names, string
1 PrefaceThis chapter introduces Apple's new method to simplify multithreading and become Grand Central Dispatch (GCD). It provides a new set of APIs, you can split the work that the application needs to execute into smaller blocks that can be
I. View
1. The window on the iphone is an instance of the UIWindow class (one mobile app only has one UIWindow ).
2. The UIView class is used to implement the view.
UIView provides methods to add and delete subviews. A view can have multiple child
Target
Review basic concepts of IOS development
Measure the test taker's knowledge about the commonly used components in the IOS UIKit framework-UIWindow and UIView.
Common screen elements and views
Create a project from 0
Understanding how to use
At the beginning of iOS development, the understanding of protocol and delegate has always been dizzy, and I don't know how to transmit values between two uiviewcontrollers.
After interviewing several shoes and asking how to use delegate to pass
Sometimes we may need to copy the text on UILabel or the image of UIImageView. By default, UILabel and UIImageView do not respond to the Touch event and cannot be copied, then we need to implement a replicable UILabel. Add a new class inherited from
1. The following methods can be used to create or Initialize an instance:
The class methods used to create an NSDate instance include:
+ (Id) date;
Returns the current time.
+ (Id) dateWithTimeIntervalSinceNow :( NSTimeInterval) secs;
The return
In a non-ARC development environment, dealloc is the last chance to clean up the memory before the class is released. Which variables and attributes should be released? How should some special classes (nstimer, observer) be released. It should be
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