IOS developer traverses the attributes of the Model class and uses Runtime to assign values to the Model class. iosmodel
In the previous blog "assign values to Model classes using Runtime for iOS development", we introduced how to assign values to
Enterprise Certificate publishes an app to qiniu cloud service, and enterprise certificate app niuyun
--- Restore content start ---
I recently published an app for enterprise certificates, from applying for enterprise certificates to publishing test
The iOS XMPP Communication Protocol provides a graphical and intuitive experience.
For the first time, I did not know how to write something useful, so I 'd like to share my recent research!
It is about the implementation of the
IOS KVC supplement and instanceHow does KVC supplement and instance get value and modify value --> How
-(Void) setValue :( id) value forKey :( NSString *) key-(id) valueForKey :( NSString *) key // uses the key as the identifier to obtain the
IOS-read plist files
// UI-city list
//
// Created by jzq_macon 15/7/30.
// Copyright (c) jzq_mac. All rights reserved.
//
# Import ViewController. h
# Import DetailViewController. h
@ Interface ViewController ()
{
NSArray *
IOS design pattern-Observer Pattern
Observer mode:
Defines a one-to-many dependency between objects. When the status of an object changes, all objects dependent on it are notified and automatically updated.
When to use observer Mode
(1): changing
Send UDP broadcast and receive data in ios developmentWith asyncUdpSocket, the server responds after receiving the broadcast, and then starts communication.
-(Void) init {
AsyncUdpSocket * socket = [[AsyncUdpSocketalloc] initWithDelegate:
IOS KVC OverviewThe basic concept of KVCKVC --> WhatKVC is a way to indirectly change the object state (or attribute value:Key-value codingKVC for short. the main essential feature is that a string is used to identify the property variables of an
Autolayout (Elementary) and iosautolayout for screen adaptation in iOS
This is the second blog. Come and come. Hi, today we are talking about iOS screen adaptation. as APPLE launches more and more mobile phones, the screen size is also increasing,
IOS development check and updateIOS development check and update
# Pragma mark-check for updates
- (
void
)checkUpdateWithAPPID:(
NSString
*)APPID
{
// Obtain the current application version
NSDictionary
*appInfo =
The array caused by searchDisplayController is out of bounds and the array is out of bounds.
When [searchDisplayController. searchResultsTableView setSeparatorStyle: UITableViewCellSeparatorStyleNone ],
The error message is as follows:
Terminating
Use swift to implement an automatic recorder and swift to implement the recorderBasic Introduction
The difference between automatic recording and general recording is that you do not need to press the recording like that-you can just stop it.
UIWindow-WindowLevel, windowlevel
WindowLevel is an attribute of UIWindow. There are three types of systems defined.
UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal;UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert;UIKIT_EXTERN const
Deadlock and deadlock
Example: A standard deadlock
-(Void) viewDidLoad {[super viewDidLoad]; dispatch_sync (dispatch_get_main_queue (), ^ {});}
Dispatch_sync (queue, block) does two things
Add the block to the queue;
The call thread is
Objective-C Knowledge Summary (4), objective-c Knowledge Summary
ARC (automatic reference counting) Mechanism
Determine if it is an ARC Mechanism
Retain release autorelease retainCount cannot be used in the ARC Mechanism
[Super dealloc] cannot be
UI control for swift Learning (1): ui control for swift Learning
//
// ViewController. swift
// Test
//
// Created by chuangqu on 15/7/23.
// Copyright (c) 2015 theway. All rights reserved.
//
Import UIKit
Class ViewController: UIViewController {
The iOS source code project of hamster games, and the ios source code of hamster games
Game source code: the game is a multi-level cocos2d-based iPad mouse game source code, which is also a high-quality mouse game source code, can have a gradually
About iOS7-8 systems UITabBarController, uitabbarcontroller
IOS9 is coming soon. The UITabBarController of the system recently used for the project. Let's just mark the problem.
The default UITabBarController can be set using storyboard.
The
IOS-JS interaction (WebViewJavascriptBridge), iosjsbridge//// ViewController. m// JSAndIOS Interaction//// Created by apple on 15/7/31.// Copyright (c) 2015 tqh. All rights reserved.//# Import "ViewController. h"# Import "WebViewJavascriptBridge. h"@
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.