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
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
ruby
html
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
cobol
java-string
c#-string
vbnet-string
python-string
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
add-n-weeks-to-current-date
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
integer-to-binary-leading-zeros
reverse-string-without-pecial-characters
all-dates-between-2-dates
first-repeated-character-string
Disclosure:
My content contains affiliate links.
Recent questions tagged swift
43,871
questions
57,242
answers
573
users
Recent questions tagged swift
1
answer
186
views
How to remove nil (null) from a dictionary in Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-dictionary
1
answer
199
views
How to replace elements in a dictionary in Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-dictionary
2
answers
223
views
How to add elements to a dictionary in Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-dictionary
2
answers
210
views
How to insert an element in a set with Swift
asked
Aug 5, 2025
by
avibootz
swift
swift-set
1
answer
199
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
195
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
215
views
How to calculate power for large numbers in Swift
asked
Aug 2, 2025
by
avibootz
swift
swift-power
1
answer
187
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
183
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
192
views
How to get the lower 8 bits of an int in Swift
asked
Jul 31, 2025
by
avibootz
swift
swift-bits
1
answer
190
views
How to set specific bits in a char with Swift
asked
Jul 31, 2025
by
avibootz
swift
swift-bits
1
answer
188
views
How to find the prime factors of a number in Swift
asked
Jul 29, 2025
by
avibootz
swift
swift-prime
1
answer
183
views
How to extract a float from a string in Swift
asked
Jul 29, 2025
by
avibootz
swift
swift-string
swift-extract
1
answer
202
views
How to extract multiple floats from a string of floats in Swift
asked
Jul 28, 2025
by
avibootz
swift
swift-string
1
answer
199
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
205
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
175
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
212
views
How to remove leading and trailing whitespaces from a string in Swift
asked
Jul 26, 2025
by
avibootz
swift
swift-string
1
answer
166
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
193
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
174
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
175
views
How to check if two integers have opposite signs in Swift
asked
Jul 24, 2025
by
avibootz
swift
swift-sign
1
answer
186
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
186
views
How to count the trailing zeros in a binary number using Swift
asked
Jul 23, 2025
by
avibootz
swift
swift-binary
1
answer
173
views
How to format time hours-minutes-seconds in Swift
asked
Jul 22, 2025
by
avibootz
swift
swift-time
2
answers
253
views
How to split a string with multiple separators in Swift
asked
Jul 21, 2025
by
avibootz
swift
swift-string
1
answer
192
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
193
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
207
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
197
views
How to convert binary string to integer in Swift
asked
Jul 18, 2025
by
avibootz
swift
swift-binary
swift-string
1
answer
213
views
How to remove stop words from a string in Swift
asked
Jul 18, 2025
by
avibootz
swift
swift-string
swift-remove-stop-words-string
remove-stop-words-string
1
answer
169
views
How to pick a random value from a map in Swift
asked
Jul 17, 2025
by
avibootz
swift
swift-map
1
answer
172
views
How to find the 100001 prime number in Swift
asked
Jul 16, 2025
by
avibootz
swift
swift-prime
1
answer
217
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
189
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
200
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
207
views
How to print the distinct elements of an array in Swift
asked
Jul 13, 2025
by
avibootz
swift
swift-array
1
answer
177
views
How to convert byte array to string in swift
asked
Jul 12, 2025
by
avibootz
swift
swift-byte-array
1
answer
189
views
How to XOR byte arrays in Swift
asked
Jul 12, 2025
by
avibootz
swift
swift-xor
1
answer
169
views
How to use bitwise XOR in Swift
asked
Jul 11, 2025
by
avibootz
swift
swift-xor
1
answer
196
views
How to check if a string includes $sometext$ without numbers in Swift
asked
Jul 11, 2025
by
avibootz
swift
swift-string
1
answer
165
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
206
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
203
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
184
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
232
views
How to get intersection of two strings in Swift
asked
Jul 7, 2025
by
avibootz
swift
swift-string
1
answer
210
views
How to pad a string on both sides in Swift
asked
Jul 6, 2025
by
avibootz
swift
swift-string
1
answer
211
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
211
views
How to pad a string on the left in Swift
asked
Jul 4, 2025
by
avibootz
swift
swift-string
2
answers
258
views
How to pad a string on the right in Swift
asked
Jul 4, 2025
by
avibootz
swift
swift-string
Page:
« prev
1
...
4
5
6
7
8
9
10
11
12
13
14
...
21
next »
...