We said that the first way to upload pictures is to transfer the pictures to the image stream to upload; Today we are going to introduce another approach. is to use the method of afnetworking in the use of URLs to upload the way. Concrete backstage
Block is added after iOS 4.0 and is heavily used in the new iOS API. Block is an anonymous piece of code that can be used as a parameter to another object and get the return value. In essence, block is similar to other ordinary variables, except
iOS two-dimensional code generation and sweep code
Now more and more applications to join the two-dimensional code-related business, in the iOS development market, many developers are using a third party sweep code and generate a two-dimensional
Objective
In iOS, you can use the system's built-in gesture recognition (Gesturerecognizer), or you can create your own gestures. Gesturerecognizer converts low-level to high-level execution behavior, the object you bind to the view, and when a
IOS keyword const, static, extern detail:
First, the preface
Reading other people's code (some excellent source) can always find some common keywords, with the accumulation of programming experience most still know what it means, but in terms of
Company project needs to develop a similar QQ, micro-letter Instant IM chat function, do real-time monitoring messages, need to use the technology is websocket.
Overview WebSocket:
1.1 Why do we need to websocket such a real-time communication
IOS Object Properties
Some properties of the OC object:
Retain,strong, Copy,weak,assign,readonly, ReadWrite, unsafe_unretained
Here are a few separate functions and differences:
retain, counter plus 1, (add a pointer to memory) corresponding to
In a project development process, the use of iOS to call the WebService interface, so take a short time to this aspect of the content for everyone to organize and share to everyone.
Method One: Using the WSDL2OBJC tool, turn the interface into an
One, the use of shortcut keys
The shortcut keys that you use frequently are as follows:New
Shift + CMD + N New Project
CMD + N New file
View
Option + cmd + ENTER to open assistant editor
CMD + carriage return Display main window
cmd + 0
The creation of the controllerDescription: The controller has three ways to create, described below.
One, the first way to create (using code to create directly)
1. Create an empty iOS project.
2. Add a controller class for your project.
3.
Playback of sound effects
First, a brief introduction
In simple terms, audio can be divided into 2 kinds
(1) Sound effects
Also known as "short audio", usually plays in the program 1-2 seconds long
Play a decorative effect in your application
IOS development-OC language (I) oc data type,-ococ
Share a set of materials learned during iOS development, and the next set is continuously updated:
OcData Type
Data Type: basic data type, pointer Data Type
Basic data types: numeric, numeric (char),
The iOS App Store is rejected by the Legal and iosappstorelegal
During the App Store mounting process, the reason for rejection reported by Apple found this problem:
Legal-5.1.5
Your app uses background location services but does not clarify the
Dyld loads Mach-O and dyld loads mach-o.
Refer to the following link for more technical tips: Alibaba Cloud blog
Preface
Recently, I checked how ObjC's runtime Implementation + load hook function implementation. This part of dyld's mechanism for
Understanding of iOS multi-thread programming locks and ios multi-thread programming
1. Examples of Mutual Exclusion
In a multi-threaded environment, no matter which function method can be executed simultaneously in multiple threads. However, when
IOS modular development solution (pure dry goods), ios dry goods
There are also some introductions on the iOS modular development solution online, but we seldom see the actual implementation in specific instances. I plan to write a system article to
IOS launch page advertisement XHLaunchAd, ios advertisement xhlaunchad
IOS launch page advertisement XHLaunchAdI. Preface:
1. Now more and more apps are inserting advertisements at startup. Because they are often used in projects, they specially
Precompiled header files and App development process compilation are added to the app development process.
Wait until the pre-compiled header file is added.
Xcode has created a template project for us. It's great! However, the problem is not
Tips for iOS development and tips for iOS developmentThe background color of the system navigationBar needs to be modified during code writing, at first, I used barTintColor to modify it, but I couldn't help it. When the system clicked the button,
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.