iOS auto build command -- xcodebuild

When I came to the company every day, one thing I needed to do every day was to open Xcode, pack ipa and upload it to fir. I do the same thing day after day, month after month, year after year. As an aspiring engineer, this is a problem that must be solved, so I decided to solve the problem automatically. brief introduction xcodebuild is an a ...

Added by ursvmg on Fri, 11 Feb 2022 11:28:35 +0200

iOS development NSTimer timer

preface In the process of iOS development, we often use three kinds of timers: NSTimer timer, CADisplayLink timer and GCD timer. This article only introduces NSTimer timer. What is NSTimer runLoop literally means a loop in operation. Its function is to keep the APP running continuously and deal with various events of the APP, such as cli ...

Added by rashmi_k28 on Tue, 08 Feb 2022 12:50:12 +0200

Effective-C 2.0 - Protocol and classification

There is a feature in OC language called protocol. Because OC does not support multiple inheritance, we define a series of methods that a class should implement in the protocol. The protocol can well describe the interface. **Category * * is also an important feature of OC. Using classification, you can directly add methods to the current clas ...

Added by lowspeed on Sun, 06 Feb 2022 06:26:16 +0200

Principle and application summary of IOS runloop

Runloop: run loop - dead loop Main purpose: improve performance, do what you have and sleep when you have nothing. reference resources https://blog.csdn.net/callauxiliary/article/details/107419854 Main application 1. Ensure that the thread runs all the time, and the processing of events, such as touch events and clock events, is completed by ...

Added by ShanesProjects on Mon, 31 Jan 2022 11:39:38 +0200

Suggestions on data types in the [OC/Swift hybrid] interface: use level analysis

1, Foreword As mentioned above, under the OC/Swift mix, the following suggestions are made for the data types of attributes or parameters: 1. Use immutable types as much as possible and immutable types as little as possible. (suggestions: NSString *, NSArray *, - NSDictionary *)2. Use generics as much as possible to specify the type of el ...

Added by Dan400007 on Sat, 29 Jan 2022 12:40:12 +0200

51. Widgets of fluent are shared across components (Provider)

In the development of fluent, state management is an eternal topic. The general principle is: if the state is private to the component, it should be managed by the component itself; If the state is to be shared across components, it should be managed by the common parent element of each component. It is easy to understand the state management o ...

Added by premiso on Fri, 28 Jan 2022 09:46:35 +0200

iOS data structure and algorithm

iOS data structure and algorithm 1, Data structure 1. Set structure: an unordered and non repetitive element structure, which can be regarded as a special array (no order, and the data elements are not repeated) 2. Linear structure: a. There must be a unique first element in the set; b. There must be a unique last element in the set c. Exce ...

Added by unreal128 on Wed, 26 Jan 2022 07:15:25 +0200

Atcoder beginer contest 236 ABC code style format #ifdef#else#endif ios::sync_with_stdio tie XOR map container vector container

Eight minutes a, the first two, and then the third, the head card fell off. (record the tragic experience. Just keep grinding the problem. I found this when thinking about the solution: #ifdef LOCAL #include "algo/debug.h" #else #define debug(...) 42 #endif Learn the form: #ifdef identifier Segment 1 #else Segment 2 #endif It means: w ...

Added by elie on Tue, 25 Jan 2022 22:07:13 +0200

Wechat sharing (payment) and QQ sharing

Premise: Xcode12.5 + download real machine debugging dmg Wechat SDK (WechatOpenSDK) 1.8.7.1 QQ Internet SDK (Tencent OpenAPI (LITE)_ 3.5.3.62) When generating app applications, you need to check Associated Domains, otherwise an error will be reported when compiling later. (I remember xcode10 can be checked locally, but xcode12 does not have ...

Added by eb1024 on Fri, 21 Jan 2022 20:30:06 +0200

37. TabBarView component of fluent

TabBarView is a Tab layout component provided in the Material component library. It is usually used with TabBar. TabBarView TabBarView encapsulates PageView, and its construction method is very simple TabBarView({ Key? key, required this.children, // tab page this.controller, // TabController this.physics, this.dragStartBehavior ...

Added by phice on Thu, 20 Jan 2022 17:49:49 +0200