Deep Understanding of Objective-C: Category

abstract No matter how perfect a class design is, there may be some unpredictable situations in the future demand evolution. So how do you extend existing classes? Generally speaking, inheritance and combination are good choices. However, in Objective-C 2.0, category is also provided, which can dynamically add new behaviors to existing classes ...

Posted by m7_b5 on Tue, 25 Jun 2019 01:51:07 +0200

Learning Summary of iOS Basic Course-SQLite Database Operation

Time: Friday, 02 June 2017Note: Part of the content of this article is from Mucho.com. @ Mu Course Net: http://www.imooc.comTeaching sample source code: nonePersonal learning source code: https://github.com/zccodere/s... Chapter 1: Learning Guide 1-1 Course Introduction SQLite operation Lightweight relational database management system embedde ...

Posted by MartiniMan on Mon, 24 Jun 2019 22:25:59 +0200

Learning Summary of iOS Basic Course-Document Operation

Time: Tuesday, 06 June 2017Note: Part of the content of this article is from Mucho.com. @ Mu Course Net: http://www.imooc.comTeaching sample source code: nonePersonal learning source code: https://github.com/zccodere/s... Chapter 1: Learning Guide 1-1 Learning Guide Application requirements Learning objectives 1. Application scenarios for file ...

Posted by cbassett03 on Mon, 24 Jun 2019 22:04:33 +0200

The Little Thing Initiated by iOS translucent

Past experience, if not forgotten, is a guide for the future notes preceding the text of a book or following the title of an article I believe you will almost always use navigationController or tabBarController in the project. In the era of iOS 6, the navigation bar is a bit ugly. However, after the arrival of iOS 7, the interface has changed d ...

Posted by j4ymf on Mon, 24 Jun 2019 20:32:15 +0200

iOS Functional Programming

Previous Review (1) Chain programming (2) Functional programming In the previous article, we addressed the first of the last remaining issues in the first article, and in this article we addressed the second remaining issue, how to make the calling process controllable and avoid random calls by the caller. That is, call as follows: t ...

Posted by tukon on Mon, 24 Jun 2019 19:02:11 +0200

iOS Animation _Core Animation (Core Animation)

Introduction Before, we talked about CALayer and subclass animation, and some attributes of CALayer have implicit animation, which can be viewed independently if you don't understand them. Article Today, let's talk about Core Animation Core Animation. In the development process, for animation effect, many people seem to prefer UIView animati ...

Posted by CantonWeb on Fri, 21 Jun 2019 01:15:22 +0200

iOS Development Skills (I)

1. Prohibit Cell Phone Sleep [UIApplication sharedApplication].idleTimerDisabled = YES; 2. Hide a line of cell s - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { // If you need to hide the line, return to the height of 0. if(indexPath.row == YouWantToHideRow) return 0; return ...

Posted by spaze on Tue, 18 Jun 2019 23:21:19 +0200

IOS Airplay -- Implementation of Airtunes Music Play on Android Box and Mobile Phone (Part 1)

I. Preface There are two main ways to play streaming media in LAN, Airplay and DLNA. For iOS systems, Airplay is a natural product, but unfortunately Apple has a consistent style, and Airplay is a closed source protocol. Fortunately, God reversed the content of the agreement, so that we can build services to complete this work. The complexity ...

Posted by Adarmo on Mon, 17 Jun 2019 21:56:34 +0200

iOS Fingerprint Unlocking TouchID

Fingerprint unlocking is becoming more and more popular, mainly for its convenience. Before using it, you should know how to use it. Introduction to API Using the fingerprint function, we must use the library of the system. The Library of fingerprint is Local Authentication. framework, so I will introduce the function of all the files in thi ...

Posted by Slippy on Fri, 14 Jun 2019 23:09:44 +0200

OC-UICollectionView Implementing Waterfall Flow

UICollectionView Implementing Waterfall Flow There are two known schemes for realizing waterfall flow in iOS: Uses the UIScrollView to encapsulate a set by oneself, this kind of plan applies before iOS 6, because iOS 6 only then comes out UICollection View, but now this kind of plan has not been used very much, must encapsulate by oneself. And ...

Posted by Irresistable on Fri, 14 Jun 2019 21:00:35 +0200