Download Address: Https://github.com/littleSunZheng/StarGradeView
Cause: The project often involves the user's score feedback, in my "E Chinese Medicine" project, involves several places. I have referred to the United States and drop the score
method One : This section of Objective C code is used to delete the file of the specified path
if ([FileManager removeitematpath:@ "FilePath" Error:null]) {
NSLog (@ "removed successfully");
}
Method Two:
Nsfilemanager
iOS (Xcode) debug mode (Release mode)
In the development of iOS program, often need to use nslog output some information, and even some development process, must view the output in the console, experienced programmers through the console output can
When you point to a micro-letter album, want in the album Image interface jump view point Zane Comment, the micro-letter will use the interface Flip transition animation to jump to the comment interface, as if it is on the back of the picture
The iphone sandbox model has four folders, what they are, where the permanent data store is typically placed, and what the simple way to get the emulator path is.
Documents,tmp,app,library.
(Nshomedirectory ()),
Manually saved files in documents
Uievent is a collection of uitouch that is responsible for responding to touch events in iOS. The concept of a responder chain is also mentioned, in which all events have a first responder, and events can be passed down the responder chain.
Next is
One, processes, and threads1. What is a processA process is an application that is running in the systemEach process is independent, with each process running in its dedicated and protected memory space
For example, open QQ, Xcode at the same
Draw Basic GraphicsOne, simple explanation
Graphics Context Graphics: is a cgcontextref type of data
Role of graphics Context: Saving drawing information, drawing status
Determines the output target drawn (where to draw to?) (The output target
Simulation to implement the iOS system application clock in the stopwatch program, is this application:
The main features of the implementation:1. By the Start/stop key to achieve the timing2. Have reset/lap key to realize reset and count time
First look at the effect chart:
Dashboard animation effects. jpg
1. Rotation of green dots on the ring
2. The variation of the number of points and the prompt language
3. Changes in background color
Directly on the main code:
1. Custom
Just contact with the development of iOS for more than 1 years, now for the hybrid mobile end of the development of more and more popular, because the development cost, speed is better than the traditional app development, hybrid development is the
A table view with indexed catalogs
1. Effect drawing
2. Data source
I would like to get the name of the address book, but in order to use the simulator debugging convenient, wrote dead data, so also only wrote part of the letter, in short, so
iOS Radar effect
This time the new app begins, and a product requirement is to do a radar chart similar to the following:
The middle picture is the user avatar and then needs to show a radar scan effect.
Analysis of the general composition of
Objective
I believe every iOS developer knows that UITableView's left-sliding feature is cool, and sometimes left-sliding features are more than just deleting one, sometimes with other functions like the top, which requires a custom left-slip
Let's take a look at the implementation of a similar effect chart:
Click on the image screen in the bottom right corner of the view comments will be flipped to the comment interface, the comment interface click the return button in the upper left
Objective
Network download is the function we often use in the project, if it is a small file download, such as pictures and text, we can directly request the source address, and then download the complete. But if you are downloading large audio
1, in IOS8 before, we realize TableView slide show Delete, top, more and so on the button, all need to implement themselves, in the IOS8 system has been written, as long as a proxy method and a class on the line
2, IOS8 protocol to a method, the
First, the case demonstration
This case demo demo is a home page carousel case, support manual carousel and automatic Carousel. Knowledge points are mainly concentrated in the use of Uicollectionview and Nstimer.
Ii. Knowledge Reserves
2.1,
2016 Tanabata straight down, full 268 and then minus 50! 468 minus 100! Meet the Tanabata Valentine's Day! Europe and the United States, Japan and South Korea makeup perfume, 49 seconds to kill the money! Absolutely authentic! I love my heart!
This example for you to share the iOS drawer effect development examples for your reference, the specific contents are as follows
Add three view to the controller displayed on the window (add only 2 view if you only need to slide one side)
Declare
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