true
Swift is a general purpose, multi-paradigm, systems programming language developed by Apple Inc. originally for Apple platforms. Linux support was added when open source Swift was released. It runs on the Objective-C runtime on Darwin and is mainly used with the Cocoa API. It was announced at WWDC 2014.
Tasks
- 24 game
- 24 game/Solve
- 9 billion names of God the integer
- A+B
- ABC Problem
- AKS test for primes
- Abundant, deficient and perfect number classifications
- Accumulator factory
- Ackermann function
- Active object
- Add a variable to a class instance at runtime
- Address of a variable
- Amicable pairs
- Anagrams
- Angle difference between two bearings
- Anonymous recursion
- Apply a callback to an array
- Arithmetic-geometric mean
- Arithmetic/Complex
- Arithmetic/Integer
- Array concatenation
- Array length
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Atomic updates
- Averages/Arithmetic mean
- Averages/Mode
- Babbage problem
- Balanced brackets
- Barnsley fern
- Benford's law
- Binary digits
- Binary search
- Bitwise operations
- Boolean values
- Break OO privacy
- Bulls and cows
- CRC-32
- CUSIP
- Caesar cipher
- Calculating the value of e
- Call a foreign-language function
- Call a function
- Call an object method
- Cartesian product of two or more lists
- Case-sensitivity of identifiers
- Catalan numbers
- Catamorphism
- Character codes
- Chinese remainder theorem
- Cholesky decomposition
- Church Numerals
- Circles of given radius through two points
- Classes
- Closest-pair problem
- Closures/Value capture
- Combinations
- Combinations and permutations
- Combinations with repetitions
- Comma quibbling
- Command-line arguments
- Commatizing numbers
- Comments
- Compound data type
- Concurrent computing
- Constrained genericity
- Copy a string
- Count in octal
- Count the coins
- Create a two-dimensional array at runtime
- Cumulative standard deviation
- Currency
- Currying
- Date format
- Day of the week
- Delegates
- Department Numbers
- Determine if a string is numeric
- Determine if only one instance is running
- Documentation
- Dot product
- Draw a sphere
- Empty program
- Empty string
- Enforced immutability
- Entropy
- Enumerations
- Ethiopian multiplication
- Even or odd
- Evolutionary algorithm
- Exceptions
- Exceptions/Catch an exception thrown in a nested call
- Execute Brainfuck
- Execute a Markov algorithm
- Exponentiation operator
- Extensible prime generator
- Extreme floating point values
- Factorial
- Factors of an integer
- Farey sequence
- Fibonacci sequence
- Filter
- Find common directory path
- Find largest left truncatable prime in a given base
- Find limit of recursion
- Find the intersection of two lines
- Find the last Sunday of each month
- First-class functions
- FizzBuzz
- Flatten a list
- Flipping bits game
- Forward difference
- Fractal tree
- Function composition
- Function definition
- Generate lower case ASCII alphabet
- Generator/Exponential
- Generic swap
- Get system command output
- Greatest common divisor
- Greatest element of a list
- Guess the number
- Guess the number/With feedback
- Guess the number/With feedback (player)
- HTTP
- HTTPS
- Hailstone sequence
- Handle a signal
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Haversine formula
- Hello world!
- Hello world/Graphical
- Hello world/Line printer
- Hello world/Newbie
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Heronian triangles
- Higher-order functions
- History variables
- Hofstadter-Conway $10,000 sequence
- Horner's rule for polynomial evaluation
- Hostname
- Huffman coding
- I before E except after C
- Identity matrix
- Increment a numerical string
- Infinity
- Inheritance/Multiple
- Inheritance/Single
- Integer comparison
- Integer overflow
- Integer sequence
- Inverted syntax
- Iterated digits squaring
- JSON
- Jaro distance
- Jensen's Device
- Jewels and Stones
- JortSort
- Josephus problem
- Kernighans large earthquake problem
- Knapsack problem/0-1
- Knight's tour
- Knuth shuffle
- Knuth's algorithm S
- Kosaraju
- LZW compression
- Langton's ant
- Last Friday of each month
- Leap year
- Least common multiple
- Letter frequency
- Levenshtein distance
- Linear congruential generator
- Literals/Floating point
- Literals/Integer
- Literals/String
- Logical operations
- Longest Common Substring
- Longest common subsequence
- Longest increasing subsequence
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Lucas-Lehmer test
- Lucky and even lucky numbers
- Luhn test of credit card numbers
- MD5/Implementation
- Machine code
- Magic squares of odd order
- Man or boy test
- Map range
- Markov chain text generator
- Matrix multiplication
- Matrix transposition
- Maze generation
- McNuggets Problem
- Mian-Chowla sequence
- Middle three digits
- Miller–Rabin primality test
- Modulinos
- Monte Carlo methods
- Monty Hall problem
- Move-to-front algorithm
- Multifactorial
- Multiple distinct objects
- Munchausen numbers
- Mutual recursion
- N'th
- N-body problem
- N-queens problem
- Named parameters
- Narcissist
- Native shebang
- Nested function
- Non-decimal radices/Convert
- Null object
- Number names
- Numerical integration
- One of n lines in a file
- OpenWebNet Password
- Optional parameters
- Orbital elements
- Order disjoint list items
- Order two numerical lists
- Ordered words
- Palindrome detection
- Pangram checker
- Parametric polymorphism
- Parsing/RPN calculator algorithm
- Parsing/Shunting-yard algorithm
- Pascal's triangle
- Password generator
- Pattern matching
- Percentage difference between images
- Percolation/Bond percolation
- Perfect numbers
- Perfect totient numbers
- Permutations
- Phrase reversals
- Pick random element
- Play recorded sounds
- Playing cards
- Polymorphic copy
- Polymorphism
- Population count
- Power set
- Primality by trial division
- Prime decomposition
- Priority queue
- Problem of Apollonius
- Proper divisors
- Pythagorean quadruples
- Pythagorean triples
- Quaternion type
- Quickselect algorithm
- Quine
- RIPEMD-160
- Range extraction
- Real constants and functions
- Reduced row echelon form
- Regular expressions
- Remove duplicate elements
- Rep-string
- Repeat
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse words in a string
- Rock-paper-scissors
- Roman numerals/Decode
- Roman numerals/Encode
- Rot-13
- Run-length encoding
- Runge-Kutta method
- Safe addition
- Sattolo cycle
- Search a list
- Semiprime
- Sequence of primes by trial division
- Set
- Shoelace formula for polygonal area
- Short-circuit evaluation
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Singleton
- Singly-linked list/Element definition
- Sleep
- Sort a list of object identifiers
- Sort an integer array
- Sort disjoint sublist
- Sort using a custom comparator
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Shell sort
- Sorting algorithms/Sleep sort
- Sorting algorithms/Stooge sort
- Speech synthesis
- Stable marriage problem
- Stack
- Stair-climbing puzzle
- Stern-Brocot sequence
- String append
- String case
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip a set of characters from a string
- Subleq
- Substring
- Substring/Top and tail
- Sudoku
- Sum and product of an array
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of a series
- Sum of squares
- Symmetric difference
- Synchronous concurrency
- System time
- Take notes on the command line
- Temperature conversion
- Test a function
- Text between
- The Twelve Days of Christmas
- Tic-tac-toe
- Tokenize a string
- Top rank per group
- Trabb Pardo–Knuth algorithm
- Twelve statements
- URL decoding
- UTF-8 encode and decode
- Unicode variable names
- Vampire number
- Van der Corput sequence
- Variable size/Get
- Variables
- Variadic function
- Vigenère cipher
- Walk a directory/Recursively
- Xiaolin Wu's line algorithm
- Y combinator
- Zero to the zero power