標籤:有一個相同兩個不同。相同Written by Mattt Thompson on Dec 10th, 2012 Objective-C is a rapidly evolving language, in a way that you just don‘t see in established programming languages. ARC, object literals, subscripting, blocks: in the span
標籤:Book DescriptionWant to write iOS apps or desktop Mac applications? This introduction to programming and the Objective-C language is your first step on the journey from someone who uses apps to someone who writes them.Based on Big Nerd
標籤:NSMutableString可變字串的主要的操作是建立、增加、刪除、插入、替換代碼操作如下: 1 // 2 // main.m 3 // 03-NSMutableString 4 // 5 // Created by ma c on 15/8/17. 6 // Copyright (c) 2015年 bjsxt. All rights reserved. 7 // 8 9 #import <Foundation/Foundation.h>10 11 int
標籤:NSNumber基礎資料型別 (Elementary Data Type)封裝類://// main.m// 04-NSNumber//// Created by ma c on 15/8/17.// Copyright (c) 2015年 bjsxt. All rights reserved.// #import <Foundation/Foundation.h> int main(int argc,
標籤:1、類的定義:在Xcode中添加檔案,選擇Cocoa Class 或者Cocoa Touch Class輸入類名Person,並選擇父類為NSObject預設產生如下兩個檔案Person.h//// Person.h// ClassAndObject//// Created by Kenshin Cui on 14-2-1.// Copyright (c) 2014年 Kenshin Cui. All rights reserved.//#import