摘要:
// Playground - noun: a place where people can playimport Cocoavar str = "Hello, playground"var dic:Dictionary=[1:"Name",2:"Age"]for (id,name) in dic{... 阅读全文
摘要:
//// SwiftDemo.swift// SwifyDemo//import Foundationclass TonySwiftModel{ var numberOfDides:Int=0 var name:String // 构造函数 init(name:String){ se... 阅读全文
摘要:
// Playground - noun: a place where people can playimport Cocoavar str = "Hello, playground"// 定义常量let schoolNum:String="罗子山中心小学"// 定义变量var age:Int=19... 阅读全文
摘要:
asihttprequest 为第三方数据请求,一下为get 和post 两种请求。Get: NSString *loginName=@"Tony"; NSString *pwd=@"123"; NSString *postURL=[NSString stringWithFormat:@"htt... 阅读全文