CS193P learning notes (1 ),
1> layer-based iOS system
1. Core OS
The core operating system layer is very close to the hardware layer;
It is essentially a Unix kernel. It uses the BSD-based Unix version and has a series of Unix features such as
[IOS] using Swift to develop a TODO Application
Background
I believe many iOS programmers are still holding a wait-and-see attitude towards Swift. This is just a few days after the arrival of the little guy, and he is still in the perfect
11 suggestions for improving the programmer's project design level and 11 suggestions for programmers
1. Analyze the project you are facing.This is the first step in all work. If you make a mistake in this place,All subsequent efforts are in vain.
IOS user-defined font (built-in and arbitrary download of ttf \ otf \ ttc font files)Recently I made an application on reading, used custom fonts, and learned this knowledge. 1. the first is the simplest and most common practice. Package the
IOS-how to remove the UITextField long-pressed gesture menu and input content restrictions
If this is used in the project today, you can use it directly when you do not know it.
First, rewrite the UITextFiled subclass. copy the following method
IOS development -- call between applications (2), ios development
In the previous article, I explained how to call an app between my own applications. Today I will introduce how to call an app that comes with IOS.
1. Call the app store Interface
In
IOS development-detailed description of UIActivityViewController
This was used during the sharing yesterday. Write something to record.
The UIActivityViewController class is a standard view controller. By using this controller, your applications
The bitterness behind the glory shows the top ten failures in Apple's product history
Noble-apple
In Apple's long history, there have been many amazing products, some of which have even profoundly changed the world, such as Apple II, iPod, iPhone,
Hide the virtual keyboard Methods
Using a virtual keyboard to input information is one of the most important interaction methods for iOS. A virtual keyboard usually appears automatically in an editable UITextField or UITextView editing event. It is
Use CFStringTransform to convert Chinese characters to PinYin (excluding tones) and cfstringtransform
Usage:
NSMutableString * source = [sourceString mutableCopy];
CFStringTransform (_ bridge CFMutableStringRef) source, NULL,
The first c ++ program and the first c ++ ProgramThe first c ++ Program
# Include
Using namespace std;
Int main (int argc, const char * argv [])
{
// Cin receives keyboard input
Int age;
Double height;
Char name [10];
// Cout outputs some
A good App is undoubtedly the ultimate goal of every product manager. What are the key points that will make the App stand out on the iOS platform? The following is a summary.
Delightful-IntuitiveConcise
Applications need to be simple, intuitive,
This article is about switching Views, which is also the third method mentioned in the previous article to change the layout after the iphone rotates, first, let's review the three methods mentioned in the previous article. 1. Use Autosizing 2,
After marking many points on a map, you can set the center point of the map, but the scaling level is a bit difficult to use,
Therefore, it is necessary to dynamically calculate based on the coordinate region of the coordinate data point, and
1. Create and start a thread. An NSThread object represents a thread. Create and start a thread.
NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];[thread start];2. Thread-related usage main thread-related
Class
In Swift, you can use the class keyword followed by the class name to create a class. In a class, the declaration of an attribute is the same as that of a constant or variable. Unless this attribute is in the context of the class, the
1. Transmit data through Delegate
This section focuses onTo explain how to useDelegateTransfer data between different windows. For details, see the following details.
For example, in window 1, open window 2 and enter a number in window 2. The number
Sometimes we need to drag the view on the interface; uiview is inherited from uiresponder, so we can respond to touch-related events.
The focus is on the following methods:
-(Void) touchesBegan :( NSSet *) touches withEvent :( UIEvent *)
The content includes image watermark, image cropping, screen, and background tile.
1. Image Watermark Function
# Import "UIImage + MJ. h "@ implementation UIImage (MJ) + (instancetype) waterImageWithBg :( NSString *) bg logo :( NSString *) logo
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