The SEL can be understood as a function pointer in C language.
The SEL and ID, and class, are all data types in OC, as int and float. SEL variables can store selector data. @selector can be used to obtain the selector of a method.
SEL Afun =
introduction of Selector (selector)
A selector is a name used to select a method to execute for an object, or to replace the name of a unique identifier for that name when compiling the source code. A selector does not do anything by itself. It
Sometimes we develop apps that download files from the Web, such as PDF files.
When users need to view these files, we will provide some means to load these files.
Here's an example of how to use the Uidocumentinteractioncontroller class to
Programmers daily contact with the most is the object (their own initiative new) and bugs, and in the development of some debugging skills is very useful, today work encountered a bug made heart tired, at night to write a little of their own
First, click on this link to download the resource file, will EGORefreshTableHeaderView.h, egorefreshtableheaderview.m two files, and Enormego provided by the package of pictures dragged into your project.
Second, find your uitableviewcontroller. h
template for this method
-(UITableViewCell *) TableView: (UITableView *) TableView Cellforrowatindexpath: (Nsindexpath *) Indexpath
{
//cell identifier
// later table may have different styles of cell, distinguishing the style of the cell
for automatic layout and automatic adaptation of annotations, UI matching
Automatic layout auto Layout:auto Layout guide:introduction, if designers understand HTML and CSS will be easy to understand some, I also just understand the fur of HTML,
Custom Navigationbar
Functional requirements in the Navigationbar to add a search box, and its position to put forward a request, the system Titleview can not be satisfied, so consult the data, rewrite the TitleviewTitleView.h file, overriding
When you do the project, you will definitely encounter the display of circular pictures.
Use UIButton to display a circular picture, to facilitate the next click event, and through the set of rounded corners to achieve the purpose of the circular
In a project, you sometimes compare two objects for equality, but instead of having to be the same object, you compare the content.
NSObject provides a isequal to determine whether it is the same object. System NSString, Nsarray, etc., have been
For software development, debugging is the skill that must learn, the importance is self-evident. For debugging skills, basically can be migrated, that is, you previously on other platforms mastered a lot of debugging skills, many can also be used
Nsexception * Ex = [[nsexception alloc] initwithname: @ "exceptionname" // just for test reason: @ "XXX" userinfo: Nil]; // customnsexception * Ex = [[customnsexception alloc] initwithname: @ "customnsexceptionname" // just for test // reason: @
1. respondstoselector: SEL and performselector: withobject contain a parameter
2. If multiple parameters are required, you can use dictionary encapsulation for multiple parameters.
3. If you really need operation parameters, refer to the
I. Version
1. Bundle versions string, short --- cfbundle#versionstring
1.1 Release Version Number (three integers (1.0.0), corresponding to major version revisions, revision highlights, and maintenance)
1.2 version of the target project targets
1. Create a phonegap project myplugin
Environment
Xcode4.5.1
Phonegap2.1.0
2. Create an implementation in subclass under the plugin folder
//// MyPlugin.h// MyPGPlugin//// Created by kllmctrl on 12-10-29.////#import @interface MyPlugin :
Application Process for iOS developersIf you are a development team, you 'd better ask your colleagues if someone has obtained the development license before you plan to purchase IOS developer authorization, because a development license can
You don't have to worry about naming. You can directly use xcode4.3 to support visual operations. Drag it in and name it automatically. You don't need to consider the name. The icon is the same.Application icon
Icon.png (57x57)-homescreen icon on
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.