Connection, Control, Data Transfer (Swift) between the iPhone and iWatch

Recently, in a project involving the transmission of data and the control of interface jump between the iPhone devices and watches, I searched a lot of information on the Internet, and found that the domestic websites were not introduced much, while the foreign websites were not very complete, so I am writing this blog here to give you a refere ...

Posted on Sun, 14 Jul 2019 14:52:01 -0700 by dmcentire

Friend Recommendation - - Ring Letter Sends Business Card (Custom View) Message

On the basis of integrated instant messaging, to do the function of friend recommendation, we checked the SDK and found that it provided the interface of custom message. Then we can customize the view of message according to our own needs. - (UITableViewCell *)messageViewController:(UITableView *)tableView cellForMessageModel:(id<IMessageM ...

Posted on Sat, 13 Jul 2019 13:22:23 -0700 by ShadowBlade72

Talk MVVM Design Mode

Talk MVVM Design Mode MVC design mode is the oldest one we are familiar with and the most common design mode for mobile development. Compared to MVC, in MVVM, M and V are the same as M and V in MVC. VM is the ViewModel. In MVC, in C, we process control addition, data logic (sending network requests, dictionary conversion model) and business l ...

Posted on Sat, 13 Jul 2019 10:19:03 -0700 by ovisopa

Solutions to overlap in Android using Fragment

Reprinted from: http://blog.csdn.net/jiangxuqaz/article/details/51707031 Reference resources: http://stackoverflow.com/questions/16189088/overlapping-hidden-fragments-after-application-gets-killed-and-restored http://stackoverflow.com/questions/18274732/android-fragments-overlapping-issue?answertab=active#tab-top Fragment ov ...

Posted on Fri, 12 Jul 2019 16:51:51 -0700 by soul

Java Basic Tutorial - Thread State

Thread state JAVA defines six thread states: Thread.State public enum State { NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED; } Namely: New State ____________ NEW RUNNABLE Blocking state. BLOCKED Infinite Waiting State WAITING Sleeping state. TIMED_WAITING State of Death. TERMINATED Threads cannot run all the time ...

Posted on Fri, 12 Jul 2019 14:05:57 -0700 by satanclaus

audio and video elements

Previous remarksHTML5 adds two new media-related tags that allow developers to embed cross-browser audio and video content in web pages without relying on any plug-ins. These tags are <audio> and <video> and are not supported by IE8-browser. Video files, for example, contain audio tracks, video tracks, and other metadata (cover ...

Posted on Thu, 11 Jul 2019 18:05:45 -0700 by Plakhotnik

VI. Intent and Active Details

1. Several details in the Android Manifest file Conclusion: (1) An application can create multiple desktop icons (2) Method of creating shortcut icons: <intent-filter> // Application Entry <action android:name="android.intent.action.MAIN" /> // starter <category android:name="android.intent.category.LAUNCHE ...

Posted on Mon, 08 Jul 2019 17:38:37 -0700 by upit

[Front End] H5 Page to check whether app is installed or not

Recently, companies need to optimize the sharing process, one of which is that front-end H5 detects whether the application is installed to make different judgments (download or jump directly to app). The principle is simple: create an iframe to open uri. If you open the app successfully and enter the background, the switch back time will excee ...

Posted on Sun, 07 Jul 2019 18:55:46 -0700 by Cerebral Cow

Android's Flexbox Layout

In the past, we have to achieve a mobile layout, which is rather cumbersome. Google has an open source project called Flexbox Layout. I believe everyone is familiar with it. Now let's learn the basic knowledge of Flexbox Layout and deepen our understanding through a case study. If you are familiar with Flexbox Layout, please ignore this article ...

Posted on Sun, 07 Jul 2019 17:06:32 -0700 by object

token verification implementation

In mobile development, there must be some problems such as how to access the background API, how to control access privileges, and how to ensure the security of the system.Introduce an example of my recent mobile access back-end API. The example is very rough, but basically implements the demo with token auth as the core. In the process of demo ...

Posted on Sun, 07 Jul 2019 15:09:52 -0700 by jnoun