UIView Animation Foundation
After last writing the basic part of iOS animation, in order to summarize the knowledge of the animation part more systematically and accurately, I spent a lot of time learning the knowledge of this direction. For developers, the animation implementation process is very interesting, and animation will make our APP become full of vitality. This ...
Posted by deadparrot on Sat, 13 Jul 2019 15:21:28 -0700
[cocos 2DX 3.0 + ios] How to write iAd s plugin
Links to the original text: http://www.cnblogs.com/KevinYuen/p/3704717.html
Cocos 2dx3.0 contains plugins for promotion, revenue and other aspects of third-party plugins, but there is no support for iAds, probably because it is exclusiv ...
Posted by mickro on Wed, 10 Jul 2019 14:41:44 -0700
iOS Development-Protocol Protocol and Delegate Value Transfer
Preface: Because Object-C does not support multi-inheritance, it is often replaced by Protocol. Protocol can only define a common set of interfaces, but it can not provide specific implementation methods. That is to say, it only tells you what to do, but it doesn't care what to do.
When a class wants to use a Protocol, it must abide by the prot ...
Posted by AbeFroman on Sun, 07 Jul 2019 16:34:05 -0700
Swift: Variable parameters
From: https://addicechan.github.io/...
In Swift, when naming a method parameter, you can use Variadic Parameters directly if you have more than one specific type of parameter. Official Document Links
Using variable parameters is actually very simple. That's to add... to the parameter type. For example, Int... In fact, if the parameter is called ...
Posted by thiggins09 on Fri, 05 Jul 2019 15:43:21 -0700
Detailed XCTest for iOS unit testing
Detailed XCTest for iOS unit testing
Preface: test Is an integral part of a good App.Each App is a small set of features.And these small functions are a function or a function algorithm Grouped together.Unit testing is about testing these small functions or functions, and good unit testing can make your code much more rob ...
Posted by dr bung on Tue, 02 Jul 2019 10:12:14 -0700
How do I write app s that are as dreamy as Spirit Treasure?
Original: How To Make An App Like Pokemon Go
Author: Jean-Pierre Distler
Translator: kmyhy
One of the most popular mobile games today is the Dreamy Wizard.It uses augmented reality technology to bring games into the "real world" and allow players to do something healthy.
In this tutorial, we will write our own Augmented ...
Posted by yacaph on Mon, 01 Jul 2019 15:03:58 -0700
OC small code block
1. Set the font color and size of the navigation bar title
Method 1: (Custom view method, the general public will also adopt this way)
To add a titleView to the navigation, you can use a label, and then set the background color of the label to be transparent. It's easy to set the font or something.
//Custom Title View
UILabel *t ...
Posted by simon71 on Fri, 14 Jun 2019 14:08:19 -0700
ios Bluetooth Development (2) Code implementation of ios connection peripheral
Original web address
The last article introduced the technical knowledge of Bluetooth, and here we describe the application scenario of central mode in detail.Main device (mobile phone scans connected peripherals, discovers peripheral services and attributes, operates applications of services and attributes.Generally speaking, peripherals ...
Posted by croakingtoad on Wed, 12 Jun 2019 09:31:49 -0700
[iOS] Call to category override method
Two classifications of a class (one in my own implementation and one in a third-party SDK) appeared in the project two days ago, and a method with the same method name was implemented at the same time. At that time, there was a question, which classification method was invoked when it was actually called?
1. Catgory overrides the main cla ...
Posted by cody44 on Mon, 10 Jun 2019 13:26:17 -0700
iOS Learning Notes - 128. SDWebImage 4 - Simple analysis of internal calls within the framework
Simple Analysis of Internal Calls in SDWebImage 4 Framework
UML Diagram and Call Sequence Diagram
Second, we started by setting up a network picture for UIImageView.
3sd_setImageWithURL
Four downloadImageWithURL
Five downloadImageWithURL
Six init WithRequest
SDWebImage 4 - Simple analysis of internal calls within the framework
The ...
Posted by sprinkles on Sun, 26 May 2019 13:13:30 -0700