UINavigationController and UITabbarController
Although the two central view controllers have been written in hand before, we still use SB to create more controllers. Recently, we have found some problems. Now let's summarize them.
1. Change the
Detailed description of MVC and MVVM modes in iOS developmentIn iOS, Model-View-Controller divides software systems into three parts: Model, View, and Controller.Model: What is your application essentially (but not how it is displayed) Controller:
[Study Notes] [OC language] polymorphism, learning notes oc Polymorphism
1. Basic concepts of PolymorphismMultiple forms of a certain type of thingOC object with Polymorphism
2. embodiment of PolymorphismPerson * p = [Student new];P-> age = 100;[P
Ios: Modify the background color of NavigationController
During ios development, we often need to modify the background color of NavigationController. When using [self. navigationController. when navigationBar setBackgroundColor: [UIColor
OC Syntax: KVC and KVO, ockvckvo
1. Key-Value Coding (KVC)
KVC refers to NSKeyValueCoding, an informal Protocol that provides a mechanism to indirectly access object attributes. KVO is one of the key technologies based on KVC.
An object has certain
Stop interaction in IOS-UIView
UIView stop interaction (no focus ):Set userInteractionEnabled = NO to get the interaction settings YES.It can be applied to custom controls such as UIButton and UITextField.
[editButton
Select an item from the drop-down list.
Click the buttons in the menu on the right, and select one from the pop-up list. Respond to the corresponding event and display the text in the menu on the right. The drop-down effect is LMDropdownView, you
Use of Reveal, use of Reveal
First, download the Reveal tool.
Reveal: http://revealapp.com/download.
The Download page is shown in. Select the Download Trail blue button to Download the file:
2. Create a new project as a Demo for Reveal
IOS learning 17th days of notes (operations on files in OC), ios 17th days
Knowledge points of IOS Learning (oc language)
I. Singleton Mode
1) Singleton is a programming idea. A design model is language-independent. In applications that use
IOS learning 20th-day notes (memory management in OC), iosoc
Knowledge points of IOS Learning (oc language)
1. Memory Management in OC1) concept: the memory management object is all objects that inherit NSObject and is invalid for basic data (such
Temple, temple Database
-XML property list (plist) Archiving-Preference (Preference setting)-NSKeyedArchiver archiving (NSCoding)-SQLite3-Core Data Summary: Common Data Storage Methods for IOS apps-XML property list (plist) archive-Preference
Common Properties and methods of UIView for iPone Application DevelopmentIPone Application Development UIView common attributes and Methods common attributes alpha view transparency 0.0f-1.0f backgroundColor view background color set of subviews
IOS UITableView table view scroll hide UINavigationController navigation bar
UITableView inherits from UIScrollViewTherefore, the proxy method of UIScrollView is also applicable to UITableView.To hide the navigation bar, follow these steps:
Self.
IOS multi-thread shell picking ------ operating giant ProgrammingBasic multi-thread implementation solution: pthread-NSThread-GCD-NSOperation Pthread multi-platform, can be transplanted to C language, requires programmers to manage lifecycle
IOS dispatch_sync (dispatch_get_main_queue (), ^ {}); cause of deadlock
1:
-(Void) viewDidLoad {
// Dispatch_sync (dispatch_get_main_queue (), ^ {// NSLog (@ 3 );// Cause of deadlock// 1: dispatch_sync is waiting for the block statement to be
NSOperation for iOS multi-thread programming
There are two NSOperation methods:
1>. NSInvocationOperation: creates an operation and points it to the executed code segment with selecter.
2>. NSBlockOperation: Create an operation and place the
Variable parameters in iOS Processing Method# Variable parameters in iOS Processing Methods
I recently wroteCustom dialog boxTo simulate the implementation of the system's UIAlertView.Variable parametersI encountered a small problem, So Google wrote
IOS 05 UIScrollView
The screen size of a mobile device is extremely limited, so the content displayed directly in front of a mobile user is quite limited.
When there is a large amount of content displayed in the exhibition, when the screen is
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