Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{{language|Objective-C
|exec=machine
|strength=weak
|express=explicit
|checking=static
|parampass=value
|gc=allowed
|site=http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
|LCT=yes}}{{language programming paradigm|Object-oriented}}
[[wp:Objective-C|Objective-C]] is an [[object-oriented]] superset of the [[derived from::compatible with::C]] language. It mostly copies the message passing system from [[derived from::Smalltalk]]. It was popularized by NeXT, and then again by [[Apple Inc]] with [[Mac OS X]] and [[iOS]] to implement the [[Cocoa]] frameworks. Its main reference implementation is within the [[gcc]] compiler, maintained mostly by Apple.
As of October 2011, with the release of [http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_2.html#//apple_ref/doc/uid/00200-SW1 XCode 4.2], Apple switched from [[gcc]] to [[wp:Clang|Clang]] as its default compiler. [[wp:Clang|Clang]]/[[wp:LLVM|LLVM]] offers competitive execution times, better compile times, improved error messages, and supports a simpler alternative syntax for expressing NSArray & NSDictionary literals and indexing. In the same release Apple also introduced automatic reference counting (ARC) which eliminates the need to manually release/retain memory. With ARC the compiler reports an error any time it encounters a call to release, autorelease, retain, or dealloc.
The release of Xcode 4.4 (4.5 for iOS) added [http://clang.llvm.org/docs/ObjectiveCLiterals.html syntax to specify literals] for <code>NSArray</code>, <code>NSDictionary</code>, <code>NSNumber</code>, and <code>NSString</code>, as well as subscript syntax to access elements of <code>NSArray</code> and <code>NSDictionary</code>.
Unless otherwise stated, Objective-C code samples will assume that they are compiled with ARC enabled, and that the compiler supports Objective-C literals and Blocks.
For details of how to compile and run examples of Rosetta Code tasks written in Objective C under Linux or Windows see [http://www.gnu.org/software/gnustep/ GNUstep]
<br clear=right>

View file

@ -0,0 +1,2 @@
---
from: http://rosettacode.org/wiki/Category:Objective-C

1
Lang/Objective-C/100-doors Symbolic link
View file

@ -0,0 +1 @@
../../Task/100-doors/Objective-C

View file

@ -0,0 +1 @@
../../Task/99-bottles-of-beer/Objective-C

1
Lang/Objective-C/AVL-tree Symbolic link
View file

@ -0,0 +1 @@
../../Task/AVL-tree/Objective-C

View file

@ -0,0 +1 @@
../../Task/Accumulator-factory/Objective-C

View file

@ -0,0 +1 @@
../../Task/Add-a-variable-to-a-class-instance-at-runtime/Objective-C

View file

@ -0,0 +1 @@
../../Task/Anonymous-recursion/Objective-C

View file

@ -0,0 +1 @@
../../Task/Array-concatenation/Objective-C

1
Lang/Objective-C/Arrays Symbolic link
View file

@ -0,0 +1 @@
../../Task/Arrays/Objective-C

1
Lang/Objective-C/Assertions Symbolic link
View file

@ -0,0 +1 @@
../../Task/Assertions/Objective-C

View file

@ -0,0 +1 @@
../../Task/Associative-array-Creation/Objective-C

View file

@ -0,0 +1 @@
../../Task/Associative-array-Iteration/Objective-C

View file

@ -0,0 +1 @@
../../Task/Associative-array-Merging/Objective-C

View file

@ -0,0 +1 @@
../../Task/Averages-Mode/Objective-C

View file

@ -0,0 +1 @@
../../Task/Averages-Simple-moving-average/Objective-C

View file

@ -0,0 +1 @@
../../Task/Bin-given-limits/Objective-C

View file

@ -0,0 +1 @@
../../Task/Binary-search/Objective-C

View file

@ -0,0 +1 @@
../../Task/Break-OO-privacy/Objective-C

View file

@ -0,0 +1 @@
../../Task/Call-an-object-method/Objective-C

View file

@ -0,0 +1 @@
../../Task/Check-that-file-exists/Objective-C

1
Lang/Objective-C/Classes Symbolic link
View file

@ -0,0 +1 @@
../../Task/Classes/Objective-C

View file

@ -0,0 +1 @@
../../Task/Closures-Value-capture/Objective-C

View file

@ -0,0 +1 @@
../../Task/Collections/Objective-C

View file

@ -0,0 +1 @@
../../Task/Command-line-arguments/Objective-C

View file

@ -0,0 +1 @@
../../Task/Constrained-genericity/Objective-C

View file

@ -0,0 +1 @@
../../Task/Copy-a-string/Objective-C

View file

@ -0,0 +1 @@
../../Task/Count-occurrences-of-a-substring/Objective-C

View file

@ -0,0 +1 @@
../../Task/Create-a-file/Objective-C

View file

@ -0,0 +1 @@
../../Task/Create-a-two-dimensional-array-at-runtime/Objective-C

View file

@ -0,0 +1 @@
../../Task/Cumulative-standard-deviation/Objective-C

View file

@ -0,0 +1 @@
../../Task/Date-format/Objective-C

View file

@ -0,0 +1 @@
../../Task/Day-of-the-week/Objective-C

View file

@ -0,0 +1 @@
../../Task/Deal-cards-for-FreeCell/Objective-C

1
Lang/Objective-C/Delegates Symbolic link
View file

@ -0,0 +1 @@
../../Task/Delegates/Objective-C

View file

@ -0,0 +1 @@
../../Task/Delete-a-file/Objective-C

View file

@ -0,0 +1 @@
../../Task/Determine-if-a-string-is-numeric/Objective-C

View file

@ -0,0 +1 @@
../../Task/Distributed-programming/Objective-C

View file

@ -0,0 +1 @@
../../Task/Documentation/Objective-C

View file

@ -0,0 +1 @@
../../Task/Dot-product/Objective-C

View file

@ -0,0 +1 @@
../../Task/Empty-program/Objective-C

View file

@ -0,0 +1 @@
../../Task/Enumerations/Objective-C

View file

@ -0,0 +1 @@
../../Task/Environment-variables/Objective-C

View file

@ -0,0 +1 @@
../../Task/Ethiopian-multiplication/Objective-C

1
Lang/Objective-C/Exceptions Symbolic link
View file

@ -0,0 +1 @@
../../Task/Exceptions/Objective-C

View file

@ -0,0 +1 @@
../../Task/Exceptions-Catch-an-exception-thrown-in-a-nested-call/Objective-C

View file

@ -0,0 +1 @@
../../Task/Execute-a-system-command/Objective-C

View file

@ -0,0 +1 @@
../../Task/Fibonacci-sequence/Objective-C

View file

@ -0,0 +1 @@
../../Task/File-input-output/Objective-C

View file

@ -0,0 +1 @@
../../Task/File-modification-time/Objective-C

1
Lang/Objective-C/File-size Symbolic link
View file

@ -0,0 +1 @@
../../Task/File-size/Objective-C

1
Lang/Objective-C/Filter Symbolic link
View file

@ -0,0 +1 @@
../../Task/Filter/Objective-C

1
Lang/Objective-C/FizzBuzz Symbolic link
View file

@ -0,0 +1 @@
../../Task/FizzBuzz/Objective-C

View file

@ -0,0 +1 @@
../../Task/Flatten-a-list/Objective-C

View file

@ -0,0 +1 @@
../../Task/Formatted-numeric-output/Objective-C

View file

@ -0,0 +1 @@
../../Task/Function-composition/Objective-C

View file

@ -0,0 +1 @@
../../Task/Greatest-element-of-a-list/Objective-C

View file

@ -0,0 +1 @@
../../Task/Guess-the-number/Objective-C

View file

@ -0,0 +1 @@
../../Task/Guess-the-number-With-feedback-player-/Objective-C

1
Lang/Objective-C/HTTP Symbolic link
View file

@ -0,0 +1 @@
../../Task/HTTP/Objective-C

View file

@ -0,0 +1 @@
../../Task/Hash-from-two-arrays/Objective-C

View file

@ -0,0 +1 @@
../../Task/Haversine-formula/Objective-C

View file

@ -0,0 +1 @@
../../Task/Hello-world-Graphical/Objective-C

View file

@ -0,0 +1 @@
../../Task/Hello-world-Standard-error/Objective-C

View file

@ -0,0 +1 @@
../../Task/Hello-world-Text/Objective-C

View file

@ -0,0 +1 @@
../../Task/Horners-rule-for-polynomial-evaluation/Objective-C

View file

@ -0,0 +1 @@
../../Task/Host-introspection/Objective-C

1
Lang/Objective-C/Hostname Symbolic link
View file

@ -0,0 +1 @@
../../Task/Hostname/Objective-C

View file

@ -0,0 +1 @@
../../Task/Huffman-coding/Objective-C

View file

@ -0,0 +1 @@
../../Task/Increment-a-numerical-string/Objective-C

View file

@ -0,0 +1 @@
../../Task/Inheritance-Multiple/Objective-C

View file

@ -0,0 +1 @@
../../Task/Inheritance-Single/Objective-C

1
Lang/Objective-C/JSON Symbolic link
View file

@ -0,0 +1 @@
../../Task/JSON/Objective-C

View file

@ -0,0 +1 @@
../../Task/Knuth-shuffle/Objective-C

View file

@ -0,0 +1 @@
../../Task/Knuths-algorithm-S/Objective-C

View file

@ -0,0 +1 @@
../../Task/LZW-compression/Objective-C

View file

@ -0,0 +1 @@
../../Task/Letter-frequency/Objective-C

View file

@ -0,0 +1 @@
../../Task/Levenshtein-distance/Objective-C

View file

@ -0,0 +1 @@
../../Task/Literals-String/Objective-C

View file

@ -0,0 +1 @@
../../Task/Longest-increasing-subsequence/Objective-C

View file

@ -0,0 +1 @@
../../Task/Look-and-say-sequence/Objective-C

View file

@ -0,0 +1 @@
../../Task/Loops-Foreach/Objective-C

View file

@ -0,0 +1 @@
../../Task/Luhn-test-of-credit-card-numbers/Objective-C

1
Lang/Objective-C/MD5 Symbolic link
View file

@ -0,0 +1 @@
../../Task/MD5/Objective-C

View file

@ -0,0 +1 @@
../../Task/Man-or-boy-test/Objective-C

1
Lang/Objective-C/Mutex Symbolic link
View file

@ -0,0 +1 @@
../../Task/Mutex/Objective-C

View file

@ -0,0 +1 @@
../../Task/Mutual-recursion/Objective-C

View file

@ -0,0 +1 @@
../../Task/Named-parameters/Objective-C

View file

@ -0,0 +1 @@
../../Task/Nested-function/Objective-C

View file

@ -0,0 +1 @@
../../Task/Null-object/Objective-C

View file

@ -0,0 +1 @@
../../Task/Number-names/Objective-C

View file

@ -0,0 +1 @@
../../Task/Object-serialization/Objective-C

View file

@ -0,0 +1 @@
../../Task/Optional-parameters/Objective-C

View file

@ -0,0 +1 @@
../../Task/Parametric-polymorphism/Objective-C

View file

@ -0,0 +1 @@
../../Task/Polymorphic-copy/Objective-C

View file

@ -0,0 +1 @@
../../Task/Polymorphism/Objective-C

1
Lang/Objective-C/Power-set Symbolic link
View file

@ -0,0 +1 @@
../../Task/Power-set/Objective-C

View file

@ -0,0 +1 @@
../../Task/Priority-queue/Objective-C

View file

@ -0,0 +1 @@
../../Task/Program-name/Objective-C

View file

@ -0,0 +1 @@
../../Task/Range-extraction/Objective-C

Some files were not shown because too many files have changed in this diff Show more