Block of communication between iOS development ———— objects

First, Block The concept of:Nickname: code snippets, blocks, closures, is the Apple company added to OC in the language. function: Saves a piece of code while the program is running, and this code can be passed. application: Used for communication

Android Auto Update

1. In the background to maintain an Android version number, every time you enter the app, on the Welcome screen, go to query the latest version number. Compare with the current version of the app.2. Place the latest app (the latest version number)

Nsnotification of iOS development ———— communication methods

Nsnotification is notification, you can implement an object to send notifications, multiple objects receive notifications.Work Flow:Add a notification hub (singleton) to the class that needs to send notifications.Send a notification in the class

Android Print Log on screen

Android development needs to quickly locate the problem, print log on the Android screen, is a good channelBasic idea: Start Logservice read the specified log, use WindowManager to display on the screenDirectly on the codepublic class Logservice

Android defines the global log print log and displays information about the caller

Public classlogutils{private static Final BooleanVERBOSE=true;private static Final BooleanDEBUG=true;private static Final BooleanINFO=true;private static Final BooleanWARN=true;private static Final BooleanERROR=true;private static

Android comes with drawerlayout sliding menu

Inspired by Slidingmenu Android adds Drawerlayout to implement the swipe menuDrawerlayout is inherited from the ViewGroup, where you can place the child view. Drawerlayout the main content area and menu areaUse the following method1. Same as the

Tips for troubleshooting pages in iOS (very common)

1. Why does the page lag?In the development we often encounter the layout of the more complex cells, when sliding will lead to the interface is not smooth, the phenomenon of lag, this is due to CPU computing and GPU rendering, not in time to

Basic view of iOS development--uibutton

A button is the most common UI control that inherits the Uicontrol base class, which, by default, belongs to the active control, which interacts with the user and fires the appropriate event-handling method.The following examples are several

Android soft Keyboard Auto Eject and close

When we write modification information or search, change the password and other interface, the main purpose of the user to enter this interface is to input modify/find some information, in order to user experience should automatically eject the soft

Android image compression

For a long time did not write a blog, recently busy graduation. In fact, I have always wanted to write a picture of the compression of the blog, blogging is actually to tidy up the knowledge and ideas I have learned as a record.Image compression for

Using JNI under Android

In the previous blog, the use of Java to develop Android applications, this blog will introduce Java by using JNI call C language to do developmentTo introduce JNI in a more graphic form, first look at the following image, which represents the

iOS Development Learning-xcode7 real-Machine debugging-2

Using XCode7 for real machine commissioningThe first step: the establishment of engineering God horse don't talk, here choose Xcode->preferencesThe second step: Add account, is the Apple ID click + Number, after verification success as follows:Then

06Android learning from zero single row of fragment

06Android learning from zero single row of fragmentThis is the last part of Android Basic learning, after this part of the learning is completed, will not be updated in the "Android learning from zero single row" series blog, in this section after

Android layoutanimation Use

I. OverviewLet's look at the use of layoutanimation today.Two. ImplementCreate a new animation filelayoutAnimation xmlns:android="http://schemas.android.com/apk/res/android" android:delay="30%" android:animationOrder="random"

Learn about Android Radio

I. Introduction of the broadcasting mechanismEach application in the 1.Android can register and listen for broadcasts of interest to them. These broadcasts can be either system or from other programs.2. Type of broadcast: Orderly broadcast:

Java Basics Annotations implementation in Android

The code for the activity to be posted first:@ContentView(R.layout.activity_main) Public class mainactivity extends appcompatactivity { @ViewInject(R.id.text_view)PrivateTextView TextView;@OnClick(R.id.text_view)Private void OnClick(View view)

Android implements one-click Switch app theme colors (ii)

When it comes to the theme color of the one-click Switch app, it's also possible to continue to talk about how to implement some of the app's icons to change the color of the icon as you move the theme color of the app. For example, the application

Android Chinese Api,debug Signing certificate expires (expiry of the Debug Certificate)

In debug mode, The key is valid for 365 days, and if it expires, the compilation will go Wrong.In order to deal with this problem, you can delete debug.keystore this file. It is located in:(1) OS X / Linux : ~/.android/ (2) Windowsxp: C:\Documents

Mutual calls between Android and the Web

This article simply explains the simple interaction between Android and the Web.1:android displaying Web pages: using Android's webview controls to show Web pages2:web Web page calls the Android method: use annotations to expose the methods of

Android Spinner Display-week Span list

1. Get a list of week spans call directly getweeklist (0) This method can be used to get the week list/*** Get the Sunday issue list */public StaticArrayListString> Getweeklist (intStartid) {ArrayListString> list =NewarraylistString> ();DateToday =

Total Pages: 5220 1 .... 3327 3328 3329 3330 3331 .... 5220 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.