1. Network
2. Multithreading
3. Various graphics
4. Animations
5. Object-oriented database
Preconditions:
1.cs106 A and B or cs106x
2.cs107 or CS108 better
3.CS110 is better.
Familiarity with object-oriented programming
Message instance variables parent and child classes
IOS7 is fully object-oriented and its entire structure and design are object-oriented
One project per week at the end of a job
Hope that the students have more programming experience
What is there in iOS?
Core OS, Core Service, Media, Cocoa Touch (Application layer: Includes buttons and switches)
BSD Unix (sockets, files, permissions There are some things that are especially useful for mobile devices such as: power management, keychain access for security management Bonjour This is a kind of network)
Array dictionary string signal GPS multi-threaded operation
Video and video editing 3D effects
button slider text box fade fade in map package put an entire page into I's app MAC OS X
Cocoa, MAC OS X
How to look at them from a development perspective
Tools
Xcode 5 (MAC APP Store)
Laguage
Object-c
Frameworks
Dozens of X
Foundation framework, all core services are here (numbers, dictionaries)
UIKit (Button Interactive bar These things are right here)
Core Data (This is an object-oriented database)
Core Motion (This is a gyroscope and accelerometer)
Map Kit (MAPS)
Design Structure
MVC (model, attempt, controller)
The model is independent of the UI
Assigning matching Games
Give some cards on the screen
The concept of the radio is to understand that the controller needs to know the model changes, and the model uses this concept to broadcast information to anyone interested in the implementation of this function in iOS called notifications. The controller then receives information from the station. When the controller discovers the model changes, it communicates with the model, allowing the model to change the unique to it.
Multi-MVC, through the calendar to show. Year view, Month view, Day view
C can do things objective-c can do
Each class in Objective-c has a header file Card.h
NSObject can be said to be the root class of all classes in iOS
@import Foundation;//need to import the parent class, otherwise the OBJECTIVE-C compiler will not know what your parent class is, and you will be able to use all the public classes inside the foundation
@interface Card:nsobject
@property (strong) NSString *contents;
@property (strong,nonatomic) NSString *contents;
@end
Each class in objective-c has an implementation file CARD.M
#import "Card.h"
@interface Card ()
@end
@implementation Card
@end
Card.h is a public API
CARD.M is a private API and all of your implementations
Nil pointer
Setter
Getter