IOS learning 02 simple animation, ios learning 02 The second day of IOS learning, today I am doing a simple animation program! The procedure is as follows: 1. When you click the four buttons at the bottom left of the screen, the picture above will
IOS learning 03 QQ login interface, ios03 Now I am studying IOS development and developing a simple QQ login interface, for example: 1.1 create a project and design interface. The interface is like two labels, two texts, and a Button login Button.
IOS CoreText. framework --- basic usage The most common types of CoreText frameworks are as follows: CTFont CTFontCollection CTFontDescriptor CTFrame CTFramesetter CTGlyphInfo CTLine CTParagraphStyle CTRun CTTextTab
IOS Automatic Layout extension application: dynamically adjust the layout constant in the codeI. design requirements The automatic layout technology of iOS Storyboard is a new technology developed by iOS 6, which is equivalent to adaptive technology
IOS CoreText-code encapsulation of text and text Mixing In the previous section, I explained in detail how to encapsulate the pure C language code of Core Text with the object-oriented idea. In this section, I will encapsulate the effect of "text
IOS face recognition (detection) CoreImage of iOS has built in the face detection interface, and the detection accuracy is average, especially for the side face, basically cannot be detected. However, compared with other similar products, it is also
Add, delete, modify, and query ios FMDB initial experience I haven't seen you again for a long time. Miss you. Today I wrote an article about the use of fmdb. At work, we sometimes use databases, so you need a useful tool. Let's start with the topic.
Obtain the rang of repeated characters in the string in ios development In iOS development, you will often encounter the problem of processing strings. For a string, you will often encounter repeated characters that must be processed, the following
IOS NSString append string method, iosnsstring First: NSArray * array = [NSArray arrayWithObjects: @ "Hello", @ "", @ "world ",@"! ", Nil]; NSString * printStr = @" "; for (int I = 0; I Second: NSArray * array = [NSArray arrayWithObjects: @
[Oc learning notes] array traversal and sorting, oc learning notes 1 // array traversal (variable array example) 2 // for traversal 3 NSMutableArray * aa = [NSMutableArray array]; 4 [aa addObjectsFromArray: @ [@ "ss ", @ "ddd", @ "sad"]; 5 for (int
Ios Date Format: yyyy-MM-dd The date format displayed in the sample code does not conform to the localization habits. You can view the help documentation and modify it to a commonly used date format for future search; NSDate * now = [NSDate
[Study Notes] [C Language] scanf function, learning notes scanf Function1. Introduction This is also a function declared in stdio. h. Therefore, you must add # include before using it. When the scanf function is called, the address of the variable
[Oc learning diary] dictionary and oc learning diary dictionary 1 // create a dictionary 2 NSDictionary * d1 = [NSDictionary dictionary]; 3 // set the content of the created dictionary to the content of the specified file 4 NSString * path = @ ""; //
IOS uses UITableView to select province and city from plist Recently, a weather application needs to be used to select a city. Considering that city information is not subject to major changes, the xml file of Chinese city information is found on
[Study Notes] [C Language] memory Analysis of variables, learning notes C language Variables1. bytes and address To better understand the storage details of variables in the memory, first let's take a look at the "Byte" and "Address" in the memory "
[Oc learning notes] string, oc learning notes string 1 // create a string 2 NSString * str1 = [NSString string]; 3 // create a c string 4 NSString * str2 = [NSString stringWithCString: "ss" encoding: NSUTF8StringEncoding]; 5 // create a string 6
IOS development NOTE 3: XML/JSON data parsing, iosjson This article mainly summarizes the methods used in XML/JSON data parsing in iOS development. XML data parsing mainly uses the NSXMLParser In the SAX mode and the GDataXML In the DOM mode, and
[Good programmer training camp] Objective-C learning notes --- constructor and destructor, objective-c learning notes ios training ------ my OC Language notes, I look forward to communicating with you! In short, constructor initializes an object
In Autolayout, note the use of Hugging and Compression: autolayouthugging Preface This article focuses onAutolayoutAddintrinsicSizeAttribute control constraints. From my blog, welcome To: To Be Independent. Hugging and Compression attributes There