归档于 ‘软件开发’ 分类

03
十一

Macidea出品:AppleScript教程-第六章

本章内容是:脚本流程控制和常规C语言,Basic语言之类的区别还是挺大的

阅读全文——共155字

09

Macidea出品:AppleScript教程-第五章

本文转自:www.macidea.com

阅读全文——共164字

05

Macidea出品:AppleScript教程-第四章

本章内容:

阅读全文——共117字

19

苹果开放App Store开发资源中心

苹果周五向iPhone注册开发者发出Email通知,宣布App Store Resource Center开发资源中心开张。

阅读全文——共288字

01

Macidea出品:AppleScript教程-第三章

本章目录

阅读全文——共198字

30

Macidea出品:AppleScript教程-第二章

第二章 快速上手AppleScript编辑器!

阅读全文——共323字

23

Macidea出品:AppleScript教程-第一章

第一章是Applescript的入门小常识,介绍了Automator。这个文件还包括了前言。1500余字

阅读全文——共247字

23

Protocol例子

@protocol Printing-(void)print;@end //// Book.h #import <Cocoa/Cocoa.h>#import "printing.h" @interface Book : NSObject <Printing> { NSString* bookname;} @property (retain) NSString* bookname; -(id)initWithBookname:(NSString*)name;@end //// Book.m #import "Book.h"  @implementation Book @synthesize bookname; -(void)print{ NSLog(@"%@", self.bookname);} -(id)initWithBookname:(NSString*)name{ self = [super init]; if(nil!=self){ self.bookname = name; } return self;} -(void)dealloc{ [bookname release]; [super dealloc];} @end //main.m #import <Foundation/Foundation.h>#import "Book.h" int main (int argc, const char * argv[]) {NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSString* bookname = [[NSString alloc]initWithFormat:@"Twilight"]; Book* book = [[Book alloc]initWithBookname:bookname]; [bookname release];  if([book conformsToProtocol:@protocol(Printing)]){ [book print]; }  [book release]; [pool drain]; return 0;}

17

Objective-C中的一些特殊的数据类型

在Objective-C中,有一些我们之前并不熟悉但是经常见到的数据类型,比如id、nil、Nil、SEL等等。在很多文章里,我们都见过这些数据类型的介绍,但是都没有说的太清楚。

阅读全文——共2063字

16

苹果电子书-Learn Objective–C on the Mac 2009

本书是2009发布的最新版苹果软件开发入门教材

阅读全文——共1444字

15

动态识别(Dynamic types)

这里有一些用于 Objective-C 动态识别的 methods(说明部分采中英并列,因为我觉得英文比较传神,中文怎么译都怪): -(BOOL) isKindOfClass: classObj is object a descendent or member of classObj 此对象是否是 classObj 的子孙或一员 -(BOOL) isMemberOfClass: classObj is object a member of classObj 此对象是否是 classObj 的一员 -(BOOL) respondsToSelector: selector does the object have a method named specifiec by the selector 此对象是否有叫做 selector 的 method +(BOOL) instancesRespondToSelector: selector does an object created by this class have the ability to respond to the specified selector 此对象是否是由有能力响应指定 selector 的对象所产生 -(id) performSelector: selector invoke the specified selector on the object 唤起此对象的指定 selector

05

Programming in Objective-C 2.0 (2nd Edition) (Developer’s Library)下载

Programming in Objective-C 2.0 (2nd Edition) (Developer’s Library)是一本完全给新手的书,全面介绍了Objective-C 2.0,而且无需任何编程经验都可以从该书起步,但英文要好哦

阅读全文——共995字

06
十二

苹果电子书:从C&C++过渡到Objective-C

对于已经熟悉C++的人来说,从事iPhone开发一开始就陷入过多的Objective-C的细节可能并非好事。 我们希望可以更加关注于iPhone开发特有的东西,快速上手。 下面这些内容可以帮助C++程序员快速获得Objective-C的基本知识,并开始编写和阅读iPhone程序

阅读全文——共192字

03
十二

苹果电子书:objective-c基础中文教程

本书是objective -c难得的中文教程,希望大家一起分享。读本书前提条件:要有c基础,,要不会一头雾水

阅读全文——共235字

03
十二

苹果电子书:Learn.Objective-C.on.The.Macintosh.2006

这本书将介绍Objecte-c基础,Objecte-c是c语言的超集合,并且在Mac OS X中大部分软件都使用此语言开发。

阅读全文——共256字

Page 1 of 11

    分类目录