Tag:objective-c

  • Yezi technology python3 code is compatible with python2

    Time:2020-3-31

    Yezi electric competition data official website revised https://www.xxe.io/new debutPython3 code is compatible with python21. Use the future featureEach new version of Python will add new features or make changes to the original features. Some changes are not compatible with the old version, that is, the code running normally in the current version may not run […]

  • Objc runtime comb (I): Overview

    Time:2020-2-10

    Runtime overview The basic idea of Objective-C is to translate the upper syntax features into C-level calls in the compiler. The target of the calls is the runtime library. At the earliest time, I had a silly idea. Did every objc program pack a runtime in it? Of course, the real implementation will not be […]

  • Objc runtime (3): summary

    Time:2020-2-8

    The previous several articles are notes made in the process of reading the source code. They are too trivial. Here is a summary. 1. Object structure First of all, let’s go back to this classic picture and show it very wellobject -> class -> metaclassThe relationship between the three. why metaclass Consider the implementation of […]

  • How to obtain football [schedule result] data

    Time:2020-2-4

    Yezi electric competition data official website revised https://www.xxe.io/new debutimport javax.xml.bind.JAXBContext;import javax.xml.bind.Unmarshaller;import javax.xml.bind.annotation.XmlElement;import javax.xml.bind.annotation.XmlRootElement;import java.io.ByteArrayInputStream;import java.nio.charset.StandardCharsets;import java.nio.file.Files;import java.nio.file.Paths;import java.util.List; /** @API: 4. Schedule results @Website: https://www.xxe.io/ */public class FootballResult { public static void main(String[] args) { try { String content = getContent(); JAXBContext jaxbContext = JAXBContext.newInstance(MatchList.class); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); MatchList matchList = (MatchList) unmarshaller.unmarshal(new ByteArrayInputStream(content.getBytes())); […]

  • Linked in / rocketdata with immutable data

    Time:2020-2-1

    background In our common data variable data framework, the data we read from DB is placed in cache for the upper business call. For example, for a Book object, if we need to use the book object in multiple places in the upper business, we are actually directly referencing the object. If we need to […]

  • Mathematical principle of Bezier curve

    Time:2020-1-27

    Mathematical principle of Bezier curve I believe that all the archers know what Bezier curve is. Those who are accustomed to using PS will use pen tools, and those who are accustomed to using AI will use Bezier, because the curve drawn by it is easy to be controlled by us and beautiful. Then let’s […]

  • General basic library of flutter

    Time:2020-1-6

    Develop the application of flitter using flitter ﹣ luakit ﹣ plugin as the basic database At the beginning of this article, we will give the difference between using fluent as the basic library development and ordinary fluent. As the location of flutter is a portable UI package, the basic library function provided by flutter is […]

  • Start developing MAC applications now

    Time:2020-1-4

    Do you want to develop MAC applications without knowing where to start? This roadmap provides a great starting point for Mac application development. Even if you are already an IOS development expert, this roadmap is still applicable to you. Apple makes it easy to develop applications and submit them to the MAC app store. Follow […]

  • Record a problem with updating masonry

    Time:2020-1-2

    Today, I encountered a problem that masonry, a well-known third-party library, was used in the project. Because the pod masonry IOS deployment target is 6.0, it is used in the projectmas_topMarginAnd other attributes will report errors, and then cause flashback. -[UIView mas_topMargin]: unrecognized selector sent to instance Reason The reason for flash back is actually […]

  • IOS development learning route

    Time:2020-1-1

    IOS development learning route Preface Dream architect here is an IOS development engineer who is working hard to learn. At present, he is committed to learning in the whole stack direction. He hopes that he can exchange technology and make progress together with you, and record his learning process with a short book Personal learning […]

  • IOS Development Notes (1) Hello, world!

    Time:2019-12-31

    Hello,World 🙂 For a new language, according to the Convention, we will write a Hello, world! Next, we will start with Xcode installation and complete a simple hello, world application. Install Xcode Download and install Xcode through the app store, but sometimes the service of the app store is not stable in China, and the […]

  • Method swizzling in IOS development

    Time:2019-12-31

    <p align=”center”> <img src =”https://raw.githubusercontent…;/></p> Method swizzling in IOS development As long as you make good use of Google, there are a lot of things about it on the InternetMethod SwizzlingI’m not going to post the code here. I’ll mainly introduce the concept, principle, precautions and so on. Development needs If the product manager suddenly […]