ios learning notes 03 todo app (use of tableview, simple storage of UserDefaults)

lebus tutorial 03 p58-66:Todos app p58 create a new todos project Add the tableViewController to the project, set it as the starting page, and add the corresponding class Divide the project into mvc mode and view the method of tabelview controller p58: cell specifies a class, and generates the cell ...

Posted on Mon, 03 Feb 2020 05:01:28 -0800 by PoOP

Study of Vue takeout project

Using svg to display loading prompt interface Here, we can't use v-for="(shop, index) in shops" for svg ul. Our purpose is to display the interface like this when we don't get data. When we use it, we can't display it. Therefore, v-for="items in 6" needs to be like this, Comment ...

Posted on Sun, 02 Feb 2020 07:17:52 -0800 by rajavel

Annotated and non annotated processor mapper and processor adapter in srpingmvc.xml

Catalog 1. non annotations 1.1 non annotated processor adapter 1.2 non annotated processor mapper 1.2.1 BeanNameUrlHandlerMapping 1.2.2 SimpleUrlHandlerMapping 1.3 summary 2. notes 1. non annotations 1.1 non annotated processor adapter <! -- non annotated processor adapter -- > <! ...

Posted on Sat, 01 Feb 2020 04:36:35 -0800 by mazazino

js and ajax implement scrolling to the bottom to automatically load data instances

1, Function description Scrolling down to the bottom of the page to load data is the practice of many waterfall websites. This example is fixed data, which is used to summarize and record small dishes. Experts should not spray. First, you need to determine how the page scrolls to the bottom, that is, whether the height of scr ...

Posted on Fri, 31 Jan 2020 08:12:01 -0800 by phpfre@k*

AspectJ pointcut indicators - 04 target and @ target

target() Match all method executions of the target class and its subclasses to @target() Match the class whose target object is annotated by a specific annotation Final class structure chart 1,Factory package com.test.aspectj.expression; /** * Factory interface */ public interface Factory { // Make product ...

Posted on Thu, 30 Jan 2020 07:49:56 -0800 by teng84

Front end: registration verification page (html+css+javascript)

Article directory Code segment css implementation of inverted triangle css style summary List of items Complete code main.html main.css main.js After a day's writing, I finally finished it. I still feel a little achievement, but I also find that I am still very inadequate. I will continue to wor ...

Posted on Wed, 29 Jan 2020 08:16:45 -0800 by mmtalon

OSG learning: scene graphics management (4) -- multi view camera rendering

The following is from: 1. Programming Guide for OpenSceneGraph 3D rendering engine, Xiao Peng, Liu gendai, Xu Mingliang, Tsinghua University Press 2. Design and practice of OpenSceneGraph 3D rendering engine, Wang Rui, Qian Xuelei, Tsinghua University Press 3. Own summary After creating a C + + project, you first need to con ...

Posted on Wed, 29 Jan 2020 07:14:10 -0800 by mschrank

[C + + learning notes] III. greedy snake project

Article directory 1 greedy snake logic statement 1.1 creating a snake object 1.2 Snake Movement 1.3 positioning of snake body 1.4 hiring snake 1.5 test the normal operation of snake object 2 food 2.1 food structure 2.2 update food 3 Game 3.1 initialization of snake 3.2 snake control 3.3 judge wh ...

Posted on Wed, 29 Jan 2020 01:26:34 -0800 by skalooky

Aircraft battle - first edition, easy edition

This version uses three threads to fight in the first version of the aircraft war at the same time. There are also some small bugs, such as flicker, and bug when there are too many bullets. Pictures need to be found by myself. My pictures can only run here Let's see how it works Main interface package P ...

Posted on Tue, 28 Jan 2020 06:32:30 -0800 by janggu

Avoid too many if-else new postures: guard sentences, small functions, polymorphism, reflection

Catalog   Preface guard clause Code: Small function LoD Concepts: Code: Map Extract Object Stream polymorphic reflex Preface In our normal development process, due to the time constraints of the project, the code can be used as good as possible, often ignoring the quality of the code.S ...

Posted on Sun, 26 Jan 2020 17:46:46 -0800 by IanM