Dry Goods Trilogy of Objective-C Advanced Programming (2): Blocks

Objective-C Advanced Programming: iOS and OS X Multithreading and Memory Management This chapter explains Block-related knowledge. Because the author converted Objective-C code into C++ code, it was very hard to read it for the first time, and I don't remember how many times I read it myself. This summary is not only the content of this book, ...

Posted by eazyefolife on Mon, 08 Jul 2019 12:49:53 -0700

OC message forwarding mechanism

OC method calls send messages, and if a method with the corresponding name cannot be found, there are three opportunities to remedy it before Crash occurs. Dynamic Method Analysis Standby Receiver Message forwarding Dynamic Method Analysis When an object receives an unknown message, it first calls the class method of its class + resolveIns ...

Posted by Michael_C on Sun, 07 Jul 2019 13:05:57 -0700

Practical Application of STM32 (I) - 1602 Bluetooth Clock 1 LCD Display Test

Preface After studying for so long from 51 to STM32F4, I finally got a clue. Now I have learned the basic usage of GPIO, interrupt, timer and watchdog, so I want to try to see if I can do something, that is, to review the knowledge I have learned recently. Just last semester, MCU curriculum design has done a clock with Bluetooth, button calibra ...

Posted by domerdel on Sat, 06 Jul 2019 18:56:24 -0700

Deep study of Block capturing external variables and u block implementation

Preface Blocks are an extension of the C language, and Apple introduced this new feature, Blocks, in OS X Snow Leopard and iOS 4.Since then, Block has appeared in various API s on iOS and Mac systems and has been widely used.A sentence for Blocks, an anonymous function with an automatic variable (a local variable). Block is implemented ...

Posted by 3yoon af on Fri, 28 Jun 2019 17:53:25 -0700

python algorithm and data structure-selection sort (33)

Introduction of Selective Sorting Selection sort is a simple and intuitive sorting algorithm. Firstly, the smallest (large) element is found in the unordered sequence and stored at the beginning of the ordered sequence. Then, the smallest (large) element is searched from the remaining unordered elements and placed at the end of the ordered seq ...

Posted by dsp77 on Fri, 21 Jun 2019 16:17:57 -0700

BBS (Imitate Blog Park System) Project 01 (Project Analysis, Table Structure Design, Registration Function Implementation)

Summary: requirement analysis Table structure design Registration function implementation 1. Demand analysis: Project Requirements (Product Manager, Architect, Development Team Leader talk to customer about project related requirements) Project Design (Architect needs to think about: framework selection, database selection, main functi ...

Posted by mpharo on Wed, 19 Jun 2019 09:59:31 -0700

CHAPTER VIII EXPERIMENTAL REPORT

C Language Programming   Experiments: Functions and Macro Definitions Name: Xu Xinqi. Place of the experiment: Classroom 514, First Teaching Building. Time of the experiment: 12 June I. The Purpose and Requirement of the Experiment 1. The Basis of Pointer and Pointer Operation 2. Data Exchange 3. String inversion and string connection 4 ...

Posted by jwhite68 on Thu, 13 Jun 2019 11:06:24 -0700

Configuration of Lightweight c Language Development Environment under win: vsc + gcc

Explain VSCode is an editor. By default, it does not have a compiler and debugging environment. It needs to install the compiler by itself. Debugging can be done with its plug-in. The compiler suite is based on TDM-GCC, which is easy to use. (Codeblocks, Dev-Cpp and other default bands are this one). Paths are automatically added to the environ ...

Posted by realtek on Wed, 12 Jun 2019 16:58:22 -0700

Interpretation of Low Memory Utilization and Weak Types of PHP Arrays

These two days task completed ahead of schedule, you can take a breath to settle down, in-depth study of PHP. Actually, I wanted to know something about PHP performance optimization, but I was shocked by a sentence on the Internet: "PHP array memory utilization is low, C language 100MB memory array, PHP needs 1G". Is PHP really so mem ...

Posted by BoukeBuffel on Thu, 06 Jun 2019 12:42:49 -0700

How to use snapman to develop a complex software development project management system in three days

snapman is a simple and powerful team collaboration software, in which information can be data, rules, or automated code; most importantly, it is a collaboration platform that can be developed, all information can be applied to all people or machines, greatly reducing the complexity of work. Software development project is the most demanding pr ...

Posted by pmg206 on Tue, 04 Jun 2019 12:31:24 -0700