Category:Swift
Swift
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using Swift.
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Compiled (machine code) |
---|---|
Garbage collected: | Reference counting |
Parameter passing methods: | By reference, By value |
Type safety: | Safe |
Type strength: | Strong |
Type compatibility: | Nominative |
Type checking: | Dynamic, Static |
See Also: |
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.
Pages in category "Swift"
The following 200 pages are in this category, out of 613 total.
(previous page) (next page)P
- Parsing/Shunting-yard algorithm
- Partition an integer x into n primes
- Partition function P
- Pascal's triangle
- Password generator
- Pathological floating point problems
- Peaceful chess queen armies
- Pell's equation
- Percentage difference between images
- Percolation/Bond percolation
- Perfect numbers
- Perfect shuffle
- Perfect totient numbers
- Perlin noise
- Permutations
- Permutations by swapping
- Permuted multiples
- Pernicious numbers
- Phrase reversals
- Pi
- Pick random element
- Pierpont primes
- Play recorded sounds
- Playing cards
- Polymorphic copy
- Polymorphism
- Polynomial long division
- Polynomial regression
- Population count
- Power set
- Price fraction
- Primality by trial division
- Primality by Wilson's theorem
- Prime decomposition
- Prime triangle
- Prime words
- Priority queue
- Problem of Apollonius
- Proper divisors
- Pseudo-random numbers/Splitmix64
- Pseudo-random numbers/Xorshift star
- Pythagorean quadruples
- Pythagorean triples
R
- Railway circuit
- Ramer-Douglas-Peucker line simplification
- Range extraction
- Read entire file
- Real constants and functions
- Reduced row echelon form
- Regular expressions
- Remove duplicate elements
- Remove vowels from a string
- Rep-string
- Repeat
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse words in a string
- Rhonda numbers
- RIPEMD-160
- Rock-paper-scissors
- Roman numerals/Decode
- Roman numerals/Encode
- Rot-13
- Round-robin tournament schedule
- Run-length encoding
- Runge-Kutta method
S
- Safe addition
- Safe primes and unsafe primes
- Sandbox
- Sattolo cycle
- Search a list
- Search a list of records
- Self-describing numbers
- Semiprime
- Semordnilap
- Send an unknown method call
- Sequence of primes by trial division
- Sequence of primorial primes
- Sequence: smallest number greater than previous term with exactly n divisors
- Sequence: smallest number with exactly n divisors
- Set
- Shoelace formula for polygonal area
- Short-circuit evaluation
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Singleton
- Singly-linked list/Element definition
- Sleep
- Sleeping Beauty problem
- Smarandache prime-digital sequence
- Smith numbers
- Soloway's recurring rainfall
- Sort a list of object identifiers
- Sort an array of composite structures
- Sort an integer array
- Sort disjoint sublist
- Sort numbers lexicographically
- Sort three variables
- Sort using a custom comparator
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting Algorithms/Circle Sort
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Cocktail sort with shifting bounds
- Sorting algorithms/Comb sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Shell sort
- Sorting algorithms/Sleep sort
- Sorting algorithms/Stooge sort
- Special divisors
- Speech synthesis
- Spelling of ordinal numbers
- Split a character string based on change of character
- Square but not cube
- Square-free integers
- Stable marriage problem
- Stack
- Stair-climbing puzzle
- Stern-Brocot sequence
- Strange unique prime triplets
- Strassen's algorithm
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip a set of characters from a string
- Strip block comments
- Strong and weak primes
- Subleq
- Substring
- Substring/Top and tail
- Sudan function
- 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
- Super-d numbers
- Super-Poulet numbers
- Sutherland-Hodgman polygon clipping
- Sylvester's sequence
- Symmetric difference
- Synchronous concurrency
- System time
T
- Take notes on the command line
- Tau function
- Tau number
- Taxicab numbers
- Teacup rim text
- Temperature conversion
- Terminal control/Preserve screen
- Test a function
- Text between
- Text processing/1
- Textonyms
- The Twelve Days of Christmas
- Thiele's interpolation formula
- Tic-tac-toe
- Time a function
- Tokenize a string
- Tokenize a string with escaping
- Top rank per group
- Topological sort
- Towers of Hanoi
- Trabb Pardo–Knuth algorithm
- Tree traversal
- Truncatable primes
- Two identical strings