This link has been bookmarked by 295 people . It was first bookmarked on 25 Jul 2006, by Zhe sto.
-
23 Jan 14
-
12 Sep 13
-
30 Jul 13
-
05 Jul 13
-
20 Feb 13
-
10 Jan 13
-
27 Oct 12
-
(Math)
-
Categories are useful for creating private methods. Since Objective-C has no notion of private/protected/public methods like java does, one has to create categories that hide such functionality. The way this is done is by moving the private methods from your class's header (.h) file to the implementation file (.m). The following is a very brief example of what I mean.
-
If you made NSArrayChild pose for NSArray all your code would begin using the NSArrayChild instead of NSArray automatically.
-
poseAsClass:
-
[Fraction class]
-
A Protocol in Objective-C is identical in functionality to an interface in Java, or a purely virtual class in C++.
-
@protocol Printing
-
<Printing, NSCopying>
-
-(void) print {
-
<Printing>
-
-(void) print {
-
id <Printing>
-
id <NSCopying, Printing>
-
// test conformance
-
conformsToProtocol:
-
@protocol( NSCopying )
-
you use the id type with a restricted protocol
-
dynamically specify a type that requires multiple protocols, all with one variable.
-
@protocol to test for conformance of interfaces
-
@selector for testing an object's inheritance
-
[object retain]
-
[object release]
-
dealloc is then called.
-
dealloc
-
[super dealloc];
-
-
06 Sep 12
-
22 Aug 12
-
24 Apr 12
-
12 Mar 12
-
23 Feb 12
-
14 Feb 12
-
09 Dec 11
jan-erik gullholmBeginner's guide to Objective-C with practical coding examples that contrast Objective-C to other OOP languages like Java and C++
-
26 Nov 11
-
24 Oct 11
-
17 Oct 11
-
13 Oct 11
-
27 Sep 11
-
21 Sep 11
-
16 Sep 11
-
26 Aug 11
-
03 Aug 11
-
27 Jul 11
-
22 Jul 11
-
18 Jul 11
-
21 Jun 11
-
03 Jun 11
-
04 May 11
-
27 Apr 11
-
17 Apr 11
-
13 Apr 11
-
14 Mar 11
-
Mac OS X: Install XCode
-
-
10 Mar 11
-
07 Mar 11
-
06 Mar 11
-
05 Mar 11
-
20 Feb 11
-
10 Feb 11
-
07 Feb 11
-
10 Jan 11
-
08 Jan 11
-
12 Dec 10
scherlinglauraDo I need to read the entire history of C to move onto Objective-C?
-
04 Dec 10
-
17 Nov 10
-
15 Nov 10
-
12 Nov 10
-
11 Nov 10
-
10 Nov 10
-
07 Nov 10
-
02 Nov 10
-
29 Oct 10
-
17 Oct 10
-
07 Oct 10
-
01 Oct 10
-
20 Aug 10
-
12 Aug 10
-
06 Aug 10
-
04 Aug 10
-
02 Aug 10
-
19 Jul 10
-
04 Jul 10
-
19 Jun 10
Hyung-Joo LimObjective C에 대해 간략하게 샘플 코드와 함께 정리를 (좀) 잘 해뒀네요. ㅋㅋ http://www.otierney.net/objective-c.html
– Gidae Yeo (alones76) http://twitter.com/alones76/statuses/16550250556 -
16 Jun 10
-
14 Jun 10
-
09 Jun 10
-
11 May 10
-
04 May 10
-
29 Apr 10
Juan CajaGuía de iniciación para el lenguaje Objective-c. Ilustra con ejemplos cada una de sus partes y se hacen comparaciones con otros lenguajes más conocidos como C, C++ y Java.
-
18 Apr 10
-
12 Apr 10
Jeremy DarlingThis tutorial assumes you have some basic C knowledge, including C data types, what a function is, what a return value is, knowledge of pointers and basic memory management in C. If you haven't gotten this far, I highly suggest you pick up K and R's book, The C Programming Language. This is the book on C written by the writers of C.
-
06 Apr 10
morbecProgramming in Objective-C
-
02 Apr 10
-
02 Mar 10
dirtyaffairsGuía para principiantes sobre el lenguaje de programación Objective-C utilizado para desarrollar aplicaciones OS X / iPhone
Objective-C Coding Reference Tutorial Mac HowTo Xcode iPhone Guide
-
sourcerebelsGuía para principiantes sobre el lenguaje de programación Objective-C utilizado para desarrollar aplicaciones OS X / iPhone
Objective-C Reference Tutorial Mac HowTo Xcode iPhone Guide Developer-Resources
-
16 Feb 10
-
15 Feb 10
-
09 Feb 10
-
30 Jan 10
-
25 Jan 10
-
17 Jan 10
-
12 Jan 10
-
22 Dec 09
-
25 Nov 09
-
19 Nov 09
-
-
One unique aspect of Objective-C's interface system is how you specify types. Rather than specifying it like Java or C++ as: Printing *someVar = ( Printing * ) frac; for example, you use the id type with a restricted protocol: id <Printing> var = frac; This allows you to dynamically specify a type that requires multiple protocols, all with one variable. Such as: id <Printing, NSCopying> var = frac;
-
-
15 Nov 09
-
14 Nov 09
Riccardo PietrucciOttima miniguida objectivec
objective-c development cocoa programming tutorial mac reference objc osx apple
-
12 Nov 09
-
23 Oct 09
-
15 Oct 09
-
01 Oct 09
-
24 Sep 09
-
18 Sep 09
-
14 Sep 09
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.