Objective-C introduction, objective-c Introduction
Few will think of Objective-C, which has a long history and actually affects many other programming technologies. For example, the Java programming language and Objective-C have a lot in common. The
Dark Horse programmer-C Study Notes-first c language program,-C Study Notes
------- Ios training, android training, and java training. We look forward to communicating with you! ----------
I. The first C Language ProgramSource code: Compile the
[Code Note] Two icons in the title. when clicked, the page jumps and the title jumps.
I ,.
2. Engineering Drawing.
Iii. Code
RootViewController. h
#import @interface RootViewController : UIViewController{ UIButton * leftButton; UIButton *
New Feature of iOS: iOS 8.x-Main Content: application extension, manual focus, Size Class
IOS8.4 no API change
IOS8.3
Apple pays ApplePay
Metal (OpenGL) Metal
IOS8.2
Apple Watch AppleWatch
Watch Development Kit framework WatchKitFramework
New Features of iOS: iOS 9.x-Main Content: Apple pen API introduction, iPad multi-task enhancement, application slimming, application Transmission Security, Swift Enhancement
IOS9.1
Dynamic Photo Album LivePhotos
Support Apple pen support
IOS long-press control and iOS long control
Preface
On the Internet, we can see that the effect of a button's long-pressed control is good. A diamond increases from the center to the two sides.
Principle
In red, the view is placed on the control.
IOS UIAlertController and uialertcontroller
In Xcode's iOS9.0 SDK, both UIAlertView and UIActionSheet are replaced by UIAlertController.
In iOS 9, UIAlertController is functionally the same as UIAlertView and UIActionSheet. UIAlertController
The ios icon of a real machine is distorted.
Problem description: iPhone 5S, the icon pixel is 30*30, there is no problem in the simulator, when the real machine shows the icon edge will have a jagged distortion effect.
When the image pixel is
Uipangesturerecognizer conflict on uiscrollview, pangesturerecognizer
Recently, a uipangesturerecognizer was added to the cell imageview in tableview, and it was found that the image view was first rolled. When it was dragged up, tableView did not
IOS-local text Fault-Tolerant Search Engine 2 --> how to search Chinese in English (first letter, Chinese pinyin ?, Ios-2 --1. Preface I would like to say a few words. Recently, the smog in Beijing is so big that I can't resist the attacks. You must
IOS ----- running in the background, ios ----- running in the backgroundBackground running
When the application enters the background, the system automatically calls back the applicationDidEnterBackground: Method delegated by the application.
In
IOS ----- use NSOperation and NSOperationQueue to implement multithreading and nsoperationqueueMultithreading using NSOperation and NSOperationQueue
The basic theories of NSOperation and NSOperationQueue are as follows.
NSOperationQueue
IOS proxy protocol and ios proxy Protocol
Proxy, also known as the delegate proxy, is a common design mode in iOS. As the name suggests, it delegates the tasks of an object to other objects. So other objects are the proxies of this object, instead
IOS development Demo similar to upload AvatarCode:
Items in tablvew in front of the image Selector
-(Void) tableView :( UITableView *) tableView didSelectRowAtIndexPath :( NSIndexPath *) indexPath {// image selector UIImagePickerController * imgPC =
IOS checks whether the array is empty, and iOS checks the Array
Some people say that it is possible to use ([array count] = 0) to determine whether it is null. It is a pitfall. If array is empty, an error will be reported directly when count is
IOS_Swift_enum Enumeration Method
Enum Type: Int {case A = 1 case B = 3 // common method func toString ()-> String {var info = switch self {case. a: info = A case. B (): info = 3} return info} // static method static func toString (let type:
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.