Child class override parent class Property (OC), override class propertyocRecently, when I was working on a project, I found a problem about @ property, that is, the problem that the subclass overrides the property of the parent class.
The blogger
Arc4random_uniform random number, arc4random_uniform
In Objective-C, there is an arc4random () function used to generate random numbers without seeds. However, this function generates a large range of random numbers and requires a modulo algorithm
What is the difference between initWithFrame and initWithCoder ?, Initwithcoder
When the program we writeUse code to create control View content, You need to call initWithFrame to initialize
-(Id) initWithFrame :( CGRect) frame {if (self =
IOSAutoLayoutDemystify, iosdemystify
Book Descripter
Auto Layout transforms the way you create iOS user interfaces. As flexible as it is powerful, Auto Layout gives you unprecedented control over your iOS user interfaces. But Auto Layout has a
IOS multithreading technology and ios Multithreading
IOS multithreading technology mainly allocates NSThread, NSOperation, and GCD. Below is a brief introduction.
Just a little more, not in order. So let's first introduce NSOperation.
Export
IOS loop reference
I asked about circular references during the interview today, so I looked at it. It turns out that Block is easy to cause circular references. Today, we will briefly introduce some circular references.
What is circular
[Reading Notes] iOS-Objective-C's basic knowledge of C extension, iosobjectivec
1. Xcode's. m extension indicates that the file contains Objective-C code, which should be processed by the Objective-C compiler. The C compiler processes the file
Annotation bubbles on iOS Map
First:First, you can customize a View for drawing. You can draw all the images you want.
VcD4NCjxwPsnPtPrC66O6PC9wPg0KPHByZSBjbGFzcz0 = "brush: java;">
This method gets the context. -(Void) drawRect :( CGRect)
IOS project development practice-learn to use the TableView list control (4) plist reading and Section display
The text will store the data in the plist file and then read it in the program. The Section is displayed in the TableView control
Isnan function of iOS
If a number is a definite number, it is not a nan value.
If a number is infinite and infinitely small, it is the nan value.
I tried to print whether the following values are nan values.
If (isnan (1 )){
DLog (@ 1 is NAN
IOS forces switching between screen and Landscape
Recently, an html5 electronic Protocol is required, which involves signatures. The Portrait screen signature is not enough. Therefore, you need to switch the screen to the landscape screen. After the
IOS delays program execution and iOS Program Execution
// Gets stuck in the main thread
[NSThread sleepForTimeInterval: Time (seconds)];
// After a delayed task is customized, it will not be stuck in the main thread and will be executed in the
IOSQuartz2D-03-customized personalized Avatar
Cut an image into a circle and display the border of the specified width and color around the image.
Implementation
It is mainly composed of two parts of different sizes.
The blue background area is
Teach you how to use Size Class and sizeclass
In iOS8, we no longer need to create multiple xib files on a page to adapt to different types of screens, now we can put the adaptation of various screen sizes in one file, and then we can customize
Enterprise Certificate publishes an app to qiniu cloud service, and enterprise certificate app niuyun
--- Restore content start ---
I recently published an app for enterprise certificates, from applying for enterprise certificates to publishing test
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