I have been trying to test IOS development for a long time. Due to the development environment restrictions, I have been confined to theories and virtual machines. Recently, I have started my MacBook Pro and I have come to try it. I have also learned it now, if any, please correct me.
IOS development requires mac OS X and an iPhone, which can be developed in a windows operating system. You need to install
Ios learning Summary (1), ios learning Summary
Original article address
Download and open xcode.
Create a new project, as shown in:
Click Create a new Xcode project, select Application under ios, and click Single View Application to Create our first project. :
After creating a project, we will compile our first
variable does not need to be strongly referenced, use assign and weak can, for example some delegate, otherwise use strongThe base type can only use Assign,assigin for non-OC objects, whereas weak must be used for OC objectsblock and weak differences__block can be used in either ARC or MRC mode, can be decorated with objects, and can also be decorated with basic data types.__weak can only be used in Arc mode, can only be decorated with objects (nsstring), and cannot be decorated with basic data
[IPhone advanced] XMPP-based IOS chat client (IOS client 1), iPhone exmpp
After introducing the server, we will focus on writing our own IOS client program.
Let's take a look at what we have done
First download the xmppframework framework.
Click ZIP to download
Next, use Xcode to create a project
Drag the followin
IOS development-project knowledge sharing and experience accumulation (1), ios development
Recently, when I was working on a project, I used Storyboard to adapt to the screen quickly. After adding constraints, I found a problem (this problem will be shown in common cases below ); there is no problem on a screen of 4.7 or even greater, such as (4.7 screen ):
Howev
the global symbol table, you do not need to prefix their names
Use extern in the header file to declare the global variable and define its value in the relevant implementation file
This constant is to appear in the global symbol table, so the name should be separated, usually prefixed with the class name associated with it.
5th use enumerations to represent States, options, status codes
Points
An enumeration should be use
.
To run the iOS app on Iossimulator, review theiOS Tutorial: Preparing Your development environment on a Windows PC to complete the RAD Studio IDE configuration.
To run your iOS app on iOS device, use these steps to complete the configuration of your Mac. Note that you can perform these steps after you have tested the application on
Original addressDownload and open Xcode.Then create a new project, as shown in:Click Create a new Xcode project, then select Application under iOS and click Single View application to build our first project. :After the project is created, let's write our first iOS project.Locate the APPDELEGATE.M file, and first add the following under "#import " AppDelegate.h "":
#import "ViewController.h
Regular Expression practice in iOS development (1), ios Regular ExpressionRequirement Abstraction:
Now there is a string
{"State": 200, "error": "Logon successful! "," Json ": {" auid ":" 402888f54c12441e014c1246bdf90003 "}} Now we need to extract the content string after the auid, that is402888f54c12441e014c1246bdf90003 Analysis:
Before learning regular expressi
IOS cainiao growth notes (3)-Stanford Open Course (1), ios StanfordI. layer-4 Structure of iOS
1. Core OS
It is a Darwin written by FreeBSD and Mach, and is a Unix core that is open source and complies with POSIX standards. This layer includes or provides some basic functio
IOS block programming guide 1 Introduction, ios programming guideIntroduction (Introduction)
Block objects are a C-level syntactic and runtime feature. they are similar to standard C functions, but in addition to executable code they may also contain variable bindings to automatic IC (stack) or managed (heap) memory. A block can therefore maintain a set of state
IOS data persistence (1): ios data
1. What is data persistence?
Data Persistence and permanent storage of data save the data in the hard disk, close the program, release the memory, re-open the program, you can continue to access the previously stored data.
Ii. Data Persistence
Common Data Persistence methods includ
IOS development-Stage 3-Sina Weibo (1) documentation, stage 3 of ios
0 https://itunes.apple.com/cn/app/you-dao-ci-dian/id491854842? Mt = 12 id1_54842 this is also called the Apple ID, which is different from the apple id used for downloading an AppStore (the account used for downloading)
Register Sina mail
Register Sina Weibo
Open Platform becomes a developer
R
"iOS development". H,.m,.mm,.cpp and other differencesFile differences:. h: Header file. Header files contain declarations of classes, types, functions, and constants.. m: Source code files. This is a typical source code file extension that can contain objective-c and C code.. MM: Source code files. Source code files with this extension can contain C + + code in addition to the OBJECTIVE-C and C code. This extension is only used when you really need t
emule Resources, please use emule/amule or thunder download:x86[Url=[Red Hat Enterprise. LINUX.5]. Tlf-soft-redhat.enterprise.linux.5.update.1-xiso.iso (2.78 GB)]redhat.enterprise.linux.5.update.1.iso[/url][Url=[Red Hat Enterprise. LINUX.
IOS multi-thread management
/*
Not a technical Article, but a way to record your daily learning
---------------------------- The journey of programmers is the sea of stars
*/
[1] what is multithreading?
Before multithreading, many people confuse processes, threads, Asynchronization, synchronization, serial, and concurrency. The concept obfuscation is very serious, and even when some third-party class lib
First, the phenomenon
1. See if a process exists
Ps-ef | Grep-v ' grep ' |grep-e ' Shell/cron/bonus/cash '
www 2624 1 0 Oct24? 00:00:35/usr/local/bin/php/data1/www/htdocs/hb.e.weibo.com/v2/www/htdocs/index.php--uri=shell/cron/bonus/cash- -get=proc_num=1proc_total=1--post=
2. View process creation time
Ps-p 2624-o Lstart
Started
Sat OCT 24 22:20:03 2015
3. View
IOS boot page implementation (1), ios boot implementation
At present, most apps will have boot pages at startup. Today we will introduce you to a more intuitive and fast implementation of boot pages.
The final result is a full-screen boot page with UIPageControl at the bottom of the page to indicate which pages the current Boot page is
Two UI controls are used.
Init is one of the most indispensable programs in Linux system operation. Init process, which is a user-level process initiated by the kernel. The kernel will find it in several places in the past that used Init, and its correct location (for Linux systems) is/sbin/init. If the kernel cannot find Init, it will try to run/bin/sh, and if it fails, the boot of the system will fail.Linux 7 RunLevel (0: shutdown, shutdown mode,1: single-user mode,2: Multi-
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.