IOS Study Notes 2015-03-20 OC-value type, 2015-03-20oc-
1. defined in Objective-C, we can use the numeric data types in c, such as int, float, and long. They are all basic data types, not objects. That is to say, messages cannot be sent to them.
In ios development, javascript calls the oc Code directly instead of modifying the url callback method.
In the previous ios project, you must use UIWebview to open a static page and
Call the relevant object-c code.
I. Previous methods for calling
ParseChat application source code for ios and parsechat source code for ios
ParseChat is a completely native iPhone application used to create real-time, text-based Parse chat rooms. Function: supports real-time chat between multiple devices,
IOS block programming guide 5 blocks and variablesBlocks and Variables (Block and variable)
This article describes the interaction between blocks and variables, including memory management.
This article describes the internal relationship between
IOS block programming guide 3 concepts OverviewConceptual Overview (Overview)
Block objects provide a way for you to create an ad hoc function body as an expression in C, and C-derived extensions ages such as Objective-C and C ++. in other versions
IOS-dynamically calculates the text width to define the frame size of the control ., Ios-frame
// Dynamically calculates the size occupied by the text based on the uploaded text content, text size, and maximum size.
-(CGSize)
Implement the Delegate method of UITableView and UIAlertView, and uitableviewdelegate
A UITableView Delegate party must follow the UITableViewDelegate Protocol
Cell. accessoryType = UITableViewCellAccessoryDisclosureIndicator;
# Pragma mark-proxy
ISO study notes, Study Notes
Objective -- C One keyword @ property defines the variable function @ synthesize to implement the Variable Function two function alloc allocation memory init initialization new replace the above two functions to allocate
IOS development network-Summary of network requests (HTTP Protocol) and ios Summary
IOS development network-Summary of network requests (HTTP Protocol)
1. Talk about the HTTP protocol (the complete communication process of the Protocol)
2.
Xmpp sort notes: Send image information and sound information, xmpp Image Information
The basic idea of sending images and audio files is:
First, convert the image into a binary file, and then encode the binary file with base64 encoding, and then
Analyze the call sequence and call sequence of all methods when the application starts.
The Startup Process of an application should include the creation of a proxy, the loading of the controller, and the loading of the controller view. There are
Basic knowledge about iOS UITableView
Open UIViewController. h
//
// RootViewController. h
// Lesson09TableView
//
// Created by Dubai on 14-9-26.
// Copyright (c) 2014 Dubai All rights reserved.
//
# Import
// Follow the proxy
@ Interface
IOS local push implementation, compatible with iOS 8
Code in AppDelegate. m
// AppDelegate. m medium-(BOOL) application :( UIApplication *) application didfinishlaunchingwitexceptions :( NSDictionary *) launchOptions {// process the problem that
Xmpp organizing notes: import and introduction to the xmppFramework framework, xmppxmppframework
To develop an xmpp project, we recommend that you import the framework as soon as the project is created to avoid unnecessary losses caused by some
Objective-c syntax (1), objective-c syntax
There is a certain c ++ or java Foundation. Once the oc syntax is passed, it is the same. In my opinion, the difficulty is the oc memory management. Even with the ARC, you also need to learn, because of
@ Class: What does a class mean?
Objective-C introduces the keyword @ class to tell the compiler: "This is a class, so I only need to reference it through pointers ". In this way, the compiler will "Calm down": it does not need more
Xcode6.1 simulator ios8.1 simulator cannot bring up the virtual keyboard and the virtual keyboard cannot switch Chinese Input solution, xcode6.1ios8.1
1. Solution to the failure to bring up a virtual keyboard
Simulator menu Hardware-> Keyboard->
Solve the problem that OBJC_CLASS _ $ _ MBProgressHUD cannot be referenced (reprinted), mbprogresshud
Undefined symbols for architecture i386:
"_ OBJC_CLASS _ $ _ MBProgressHUD", referenced from:
Objc-class-ref in ViewController. o
Ld: symbol (s)
IOS control -- viewWithTag of UIView :( int) findTag method description, viewwithtagfindtag
UIView has a viewWithTag :( int) findTag method. The call method is [MyView viewWithTag: integer]. This method returns the tag = findTag control. The ios
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