Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
vbnet
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
cobol
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
rust-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged swift
41,445
questions
53,992
answers
573
users
Recent questions tagged swift
2
answers
101
views
How to insert an element in a set with Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-set
1
answer
105
views
How to convert binary digits to a byte array in Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-binary
swift-byte-array
1
answer
98
views
How to check if floating point is NaN in Swift
asked
Aug 4, 2025
by
avibootz
swift
swift-nan
swift-floating-point
1
answer
105
views
How to calculate power for large numbers in Swift
asked
Aug 2, 2025
by
avibootz
swift
swift-power
1
answer
86
views
How to sum the digits of the number 2^N in Swift
asked
Aug 2, 2025
by
avibootz
swift
swift-power-digits-sum
1
answer
93
views
How to declare a function argument that can accept any type in Swift
asked
Aug 1, 2025
by
avibootz
swift
swift-argument
1
answer
99
views
How to get the lower 8 bits of an int in Swift
asked
Jul 31, 2025
by
avibootz
swift
swift-bits
1
answer
97
views
How to set specific bits in a char with Swift
asked
Jul 31, 2025
by
avibootz
swift
swift-bits
1
answer
90
views
How to find the prime factors of a number in Swift
asked
Jul 29, 2025
by
avibootz
swift
swift-prime
1
answer
83
views
How to extract a float from a string in Swift
asked
Jul 29, 2025
by
avibootz
swift
swift-string
swift-extract
1
answer
90
views
How to extract multiple floats from a string of floats in Swift
asked
Jul 28, 2025
by
avibootz
swift
swift-string
1
answer
95
views
How to create a string with a repeated character N times in Swift
asked
Jul 28, 2025
by
avibootz
swift
swift-string
1
answer
111
views
How to check if an integer contains an even or odd number of bits set in Swift
asked
Jul 27, 2025
by
avibootz
swift
swift-bits
1
answer
76
views
How to find the greatest product of 3 adjacent numbers in the same (any) direction in a grid with Swift
asked
Jul 26, 2025
by
avibootz
swift
swift-grid
1
answer
104
views
How to remove leading and trailing whitespaces from a string in Swift
asked
Jul 26, 2025
by
avibootz
swift
swift-string
1
answer
77
views
How to find the sum of all the primes below 10000 (ten thousand) in Swift
asked
Jul 26, 2025
by
avibootz
swift
swift-prime
1
answer
97
views
How to find pythagorean triplet for which a + b + c = 1000 in Swift
asked
Jul 25, 2025
by
avibootz
swift
swift-pythagorean-triplet
1
answer
93
views
How to check if an array contains the Pythagorean triplet numbers (a*a+b*b=c*c) in Swift
asked
Jul 25, 2025
by
avibootz
swift
swift-pythagorean-triplet
1
answer
82
views
How to check if two integers have opposite signs in Swift
asked
Jul 24, 2025
by
avibootz
swift
swift-sign
1
answer
94
views
How to replace multiple consecutive question marks (?) with a single question mark in Swift
asked
Jul 24, 2025
by
avibootz
swift
swift-replace
1
answer
107
views
How to count the trailing zeros in a binary number using Swift
asked
Jul 23, 2025
by
avibootz
swift
swift-binary
1
answer
91
views
How to format time hours-minutes-seconds in Swift
asked
Jul 22, 2025
by
avibootz
swift
swift-time
2
answers
118
views
How to split a string with multiple separators in Swift
asked
Jul 21, 2025
by
avibootz
swift
swift-string
1
answer
95
views
How to replace the first occurrence of a substring in a string with Swift
asked
Jul 21, 2025
by
avibootz
swift
swift-substring
1
answer
89
views
How to count backwards (Print the numbers N, N - 1, ..., 0 (included)) in Swift
asked
Jul 20, 2025
by
avibootz
swift
swift-loop
1
answer
102
views
How to match a substring within 2 square brackets using RegEx in Swift
asked
Jul 19, 2025
by
avibootz
swift
swift-string
swift-regex
1
answer
99
views
How to convert binary string to integer in Swift
asked
Jul 18, 2025
by
avibootz
swift
swift-binary
swift-string
1
answer
110
views
How to remove stop words from a string in Swift
asked
Jul 18, 2025
by
avibootz
swift
swift-string
1
answer
83
views
How to pick a random value from a map in Swift
asked
Jul 17, 2025
by
avibootz
swift
swift-map
1
answer
91
views
How to find the 100001 prime number in Swift
asked
Jul 16, 2025
by
avibootz
swift
swift-prime
1
answer
106
views
How to extract a file name from a path, replace whitespaces, and make it lowercase using RegEx in Swift
asked
Jul 16, 2025
by
avibootz
swift
swift-regex
1
answer
108
views
How to convert multiple <br/> tags to a single <br/> tag using RegEx in Swift
asked
Jul 15, 2025
by
avibootz
swift
swift-regex
1
answer
88
views
How to assign multiple values to multiple variables in one line with Swift
asked
Jul 14, 2025
by
avibootz
swift
swift-variable
1
answer
106
views
How to print the distinct elements of an array in Swift
asked
Jul 13, 2025
by
avibootz
swift
swift-array
1
answer
78
views
How to convert byte array to string in swift
asked
Jul 12, 2025
by
avibootz
swift
swift-byte-array
1
answer
93
views
How to XOR byte arrays in Swift
asked
Jul 12, 2025
by
avibootz
swift
swift-xor
1
answer
83
views
How to use bitwise XOR in Swift
asked
Jul 11, 2025
by
avibootz
swift
swift-xor
1
answer
95
views
How to check if a string includes $sometext$ without numbers in Swift
asked
Jul 11, 2025
by
avibootz
swift
swift-string
1
answer
82
views
How to encode and decode a string to base64 in Swift
asked
Jul 10, 2025
by
avibootz
swift
swift-encode
swift-decode
swift-base64
1
answer
103
views
How to remove the letters from word1 if they do not exist in word2 with Swift
asked
Jul 10, 2025
by
avibootz
swift
swift-string
1
answer
92
views
How to remove the letters from word1 if they exist in word2 with Swift
asked
Jul 9, 2025
by
avibootz
swift
swift-string
1
answer
95
views
How to check if an array of bytes is a valid UTF-8 string in Swift
asked
Jul 8, 2025
by
avibootz
swift
swift-utf8
1
answer
114
views
How to get intersection of two strings in Swift
asked
Jul 7, 2025
by
avibootz
swift
swift-string
1
answer
107
views
How to pad a string on both sides in Swift
asked
Jul 6, 2025
by
avibootz
swift
swift-string
1
answer
105
views
How to change all elements of row i and column j in a binary matrix to 0 if cell[i, j] is 0 in Swift
asked
Jul 5, 2025
by
avibootz
swift
swift-matrix
1
answer
109
views
How to pad a string on the left in Swift
asked
Jul 4, 2025
by
avibootz
swift
swift-string
2
answers
131
views
How to pad a string on the right in Swift
asked
Jul 4, 2025
by
avibootz
swift
swift-string
1
answer
93
views
How to sum two binary strings in Swift
asked
Jul 3, 2025
by
avibootz
swift
swift-string
1
answer
127
views
How to increment an integer represented as an integer array of digits by one in Swift
asked
Jul 2, 2025
by
avibootz
swift
swift-array
1
answer
89
views
How to use switch statement with strings in Swift
asked
Jul 1, 2025
by
avibootz
swift
swift-switch
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
18
next »
...