Understand how UITableview works by implementing a horizontal Tableview

author coderZ Introduction of UITableview Agent Method UITableview has two related agents: UITableViewDelegate, UITableViewDataSource Data Source is the data source agent and delegate is the related operation agent. dataSource - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section By returning a value, ...

Added by CJLeah on Tue, 02 Jul 2019 23:43:41 +0300

iOS Custom Control - UISearchBar

In the development process, UISearchBar is a rare control. In general, we use the system native style: But what UI designers might want is this: Maybe you think it's very simple: setting background color, border icon or something; First look at setting the background color: _It doesn't work if we set the backgroundcolor directly: bec ...

Added by Vertical3 on Mon, 01 Jul 2019 22:48:00 +0300

Retrofit 2.0 Source Code Analysis

Retrofit 2.0 describes an HTTP request in the form of annotations, abstracts the HTTP request into a Java interface, and then uses Java dynamic proxy to "translate" the annotation of this excuse into an HTTP request, and then executes the HTTP request. Examples are given to illustrate: Request an api: https://api.github.com/repos/{o ...

Added by harkonenn on Sun, 30 Jun 2019 22:31:49 +0300

Music playback SPA using react + redux + react-router

r-music order As a hands-on project for the react technology stack, the project uses data from Cool Dogs and NetEase Cloud. Among them, pulling data from cool dogs is relatively easy; pulling data from NetEase cloud, refer to: https://binaryify.github.io/NeteaseCloudMusicApi/ Thank ScorpionJay Classmate, he did a lot of work in the early stage ...

Added by Phairest on Sun, 30 Jun 2019 20:38:10 +0300

H5 Case Sharing: jquery.qrcode.js Generates Simple Two-Dimensional Codes

Recent projects need to generate two-dimensional codes, and decode to obtain information. jquery.qrcode.js generates two-dimensional codes to compare conveniently. Write a tutorial to share with you. Welcome to test the message, I will improve the code. Now two-dimensional code is becoming more and more popular, pay attention to scanning two ...

Added by GooberDLX on Fri, 28 Jun 2019 04:39:53 +0300

Efficient use of Recycler View with BRVAH

Learning objectives Familiar with BRVAH for adapter requirements Summary BRVAH It's a great open source project on Github. Its main function is to help us use Recyclerview control more efficiently and to deal with the Adapter of common requirements in the project. It's very convenient to use. More introduction can be given. BRVAH of ...

Added by stolzyboy on Thu, 27 Jun 2019 02:11:12 +0300

ThinkPHP Exports Excel Files with PHPExcle

This article mainly describes how to use PHPExcel to export Excel files in thinkPHP. It is a summary of many other people's posts after the blogger has practiced, which can be used for personal testing. thinkPHP version is 3.2.0. My blog: Mine-MuYan Welcome to harassment. ThinkPHP Exports Excel Files with PHPExcle. Dead work Download and conf ...

Added by dgreenhouse on Mon, 24 Jun 2019 01:42:24 +0300

IOS CAEmitter Layer Implementing Animation Effect of Particle Emission

IOS CAEmitter Layer Implementing Animation Effect of Particle Emission Design sketch The code has been uploaded to GitHub: https://github.com/Silence-GitHub/CoreAnimationDemo The animation effect is realized by CAEmitter Layer. CAEmitter Layer displays particle emission animation, the specific particles are encapsulated by CAEmitter Cell. The ...

Added by Joe689 on Mon, 24 Jun 2019 01:32:50 +0300

When Toast meets Colour: Crouton Learning Notes from Android Third Party Library

Toast is not unfamiliar to everyone. It is a translucent text box with prompt information that often pops up on the interface. It will fade away after a short time. Like Toast, Crouton is a third-party library written by foreigners. Like Toast, only one Crouton can appear in an interface at a time. But the animation effect is different from th ...

Added by jmgarde on Sun, 23 Jun 2019 01:38:55 +0300

Front-end built gulp and common plugins

What is gulp? http://gulpjs.com/ Believe you will understand! What are the advantages over the well-known build tool, grunt? Easy to use, code better than configuration Efficient, won't produce too many intermediate files, reduce I/O pressure Easy to learn, very few API s, you can learn gulp in very short events Those commonly used gulp ...

Added by nezona on Sat, 22 Jun 2019 20:09:26 +0300