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)A
- A+B
- ABC problem
- ABC words
- Abstract type
- Abundant odd numbers
- Abundant, deficient and perfect number classifications
- Accumulator factory
- Ackermann function
- Active object
- Add a variable to a class instance at runtime
- Additive primes
- Address of a variable
- Air mass
- AKS test for primes
- Algebraic data types
- Align columns
- Aliquot sequence classifications
- Almost prime
- Alternade words
- Amicable pairs
- Anadromes
- Anagrams
- Angle difference between two bearings
- Angles (geometric), normalization and conversion
- Anonymous recursion
- Anti-primes
- Append a record to the end of a text file
- Apply a callback to an array
- Approximate equality
- Arithmetic-geometric mean
- Arithmetic/Complex
- Arithmetic/Integer
- Arithmetic/Rational
- Array concatenation
- Array length
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Associative array/Merging
- Atomic updates
- Attractive numbers
- Averages/Arithmetic mean
- Averages/Mean angle
- Averages/Mean time of day
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average
B
- Babbage problem
- Balanced brackets
- Banker's algorithm
- Barnsley fern
- Base64 decode data
- Bell numbers
- Benford's law
- Bernoulli numbers
- Binary digits
- Binary search
- Bioinformatics/base count
- Bioinformatics/Sequence mutation
- Bitwise operations
- Boolean values
- Box the compass
- Break OO privacy
- Brilliant numbers
- Bulls and cows
- Burrows–Wheeler transform
C
- Caesar cipher
- Calculating the value of e
- Calendar
- Call a foreign-language function
- Call a function
- Call an object method
- Canonicalize CIDR
- Carmichael 3 strong pseudoprimes
- Cartesian product of two or more lists
- Case-sensitivity of identifiers
- Catalan numbers
- Catamorphism
- Centre and radius of a circle passing through 3 points in a plane
- Change e letters to i in words
- Character codes
- Chebyshev coefficients
- Check output device is a terminal
- Chemical calculator
- Cheryl's birthday
- Chinese remainder theorem
- Cholesky decomposition
- Chowla numbers
- 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
- Compare length of two strings
- Compound data type
- Concurrent computing
- Constrained genericity
- Constrained random points on a circle
- Continued fraction
- Convert seconds to compound duration
- Convex hull
- Conway's Game of Life
- Copy a string
- Count in factors
- Count in octal
- Count occurrences of a substring
- Count the coins
- Cousin primes
- CRC-32
- Create a two-dimensional array at runtime
- Cumulative standard deviation
- Currency
- Currying
- CUSIP
D
- Date format
- Date manipulation
- Day of the week
- Days between dates
- Deal cards for FreeCell
- Deconvolution/1D
- Define a primitive data type
- Delegates
- Deming's funnel
- Department numbers
- Determine if a string is collapsible
- Determine if a string is numeric
- Determine if only one instance is running
- Dijkstra's algorithm
- Discordian date
- Documentation
- Dot product
- Doubly-linked list/Definition
- Doubly-linked list/Element definition
- Doubly-linked list/Element insertion
- Draw a sphere
- Dutch national flag problem
E
- Egyptian division
- Emirp primes
- Empty program
- Empty string
- Enforced immutability
- Entropy
- Enumerations
- Environment variables
- Equilibrium index
- Esthetic numbers
- Ethiopian multiplication
- Euclidean rhythm
- Euler method
- Euler's sum of powers conjecture
- Evaluate binomial coefficients
- Even or odd
- Evolutionary algorithm
- Exceptions
- Exceptions/Catch an exception thrown in a nested call
- Execute a Markov algorithm
- Execute Brain****
- Exponentiation operator
- Exponentiation order
- Extensible prime generator
- Extra primes
- Extreme floating point values
F
- Factorial
- Factorions
- Factors of a Mersenne number
- Factors of an integer
- Farey sequence
- Fast Fourier transform
- Feigenbaum constant calculation
- Fibonacci sequence
- Fibonacci word
- Filter
- Find common directory path
- Find largest left truncatable prime in a given base
- Find limit of recursion
- Find palindromic numbers in both binary and ternary bases
- Find prime numbers of the form n*n*n+2
- Find the intersection of two lines
- Find the last Sunday of each month
- Find words which contains all the vowels
- Find words which contains more than 3 e vowels
- Find words whose first and last three letters are equal
- Find words with alternating vowels and consonants
- First power of 2 that has leading decimal digits of 12