Category:Swift
Appearance
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)F
G
- Gapful numbers
- Gaussian elimination
- General FizzBuzz
- Generate Chess960 starting position
- Generate lower case ASCII alphabet
- Generate random numbers without repeating a value
- Generator/Exponential
- Generic swap
- Geohash
- Get system command output
- Gray code
- Greatest common divisor
- Greatest element of a list
- Greatest subsequential sum
- Guess the number
- Guess the number/With feedback
- Guess the number/With feedback (player)
H
- Hailstone sequence
- Halt and catch fire
- Handle a signal
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Hash join
- Haversine formula
- 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 Q sequence
- Hofstadter-Conway $10,000 sequence
- Horner's rule for polynomial evaluation
- Hostname
- HTTP
- HTTPS
- Huffman coding
- Hunt the Wumpus
I
J
K
L
- Lah numbers
- Langton's ant
- Largest proper divisor of n
- Last Friday of each month
- Leap year
- Least common multiple
- Left factorials
- Legendre prime counting function
- Leonardo numbers
- Letter frequency
- Levenshtein distance
- Line circle intersection
- Linear congruential generator
- List comprehensions
- Literals/Floating point
- Literals/Integer
- Literals/String
- Logical operations
- Long primes
- Long year
- Longest common prefix
- Longest common subsequence
- Longest common substring
- 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
- Lychrel numbers
- LZW compression
M
- Machine code
- Magic squares of odd order
- Magnanimous numbers
- Man or boy test
- Mandelbrot set
- Map range
- Markov chain text generator
- Matrix multiplication
- Matrix transposition
- Maze generation
- Maze solving
- McNuggets problem
- MD5/Implementation
- Menu
- Mertens function
- Mian-Chowla sequence
- Middle three digits
- Miller–Rabin primality test
- Minimal steps down to 1
- Minimum multiple of m where digital sum equals m
- Modular arithmetic
- Modular exponentiation
- Modular inverse
- Modulinos
- Monads/List monad
- Monads/Maybe monad
- Monte Carlo methods
- Monty Hall problem
- Motzkin numbers
- Move-to-front algorithm
- Multifactorial
- Multiple distinct objects
- Multiplication tables
- Multisplit
- Munchausen numbers
- Mutual recursion
N
- N'th
- N-body problem
- N-queens problem
- N-smooth numbers
- Named parameters
- Narcissist
- Narcissistic decimal number
- Native shebang
- Nested function
- Nim game
- Nimber arithmetic
- Non-decimal radices/Convert
- Nonoblock
- Nth root
- Null object
- Number names
- Numbers with equal rises and falls
- Numeric error propagation
- Numerical integration