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
145
views
How to remove parentheses and the text inside them from a string in Swift
asked
Jun 1
by
avibootz
swift
swift-remove-parentheses-and-text-from-a-string
remove-parentheses-and-text-from-a-string
1
answer
157
views
How to find the day of the week on any given date in Swift
asked
May 31
by
avibootz
swift
swift-date
swift-find-day-of-week-any-given-date
find-day-of-week-any-given-date
1
answer
142
views
How to convert only the date without time to a string in Swift
asked
May 31
by
avibootz
swift
swift-convert-only-date-without-time-to-string
convert-only-date-without-time-to-string
1
answer
137
views
How to calculate % change from X to Y in Swift
asked
May 29
by
avibootz
swift
swift-calculate-percent-change-from-x-to-y
calculate-percent-change-from-x-to-y
1
answer
157
views
How to calculate the number of days until Christmas from today in Swift
asked
May 29
by
avibootz
swift
swift-calculate-days-until-christmas
calculate-days-until-christmas
1
answer
163
views
How to measure function execution time in Swift
asked
May 28
by
avibootz
swift
swift-measure-function-execution-time
measure-function-execution-time
1
answer
206
views
How to print every month in a specified year that contains five full weekends (Fri, Sat, Sun) in Swift
asked
May 27
by
avibootz
swift
swift-every-month-in-specified-year-contains-five-full-weekends
every-month-in-specified-year-contains-five-full-weekends
3
answers
234
views
How to transpose a matrix (swap rows and columns) in Swift
asked
May 26
by
avibootz
swift
swift-transpose-matrix
transpose-matrix
1
answer
150
views
How to implement matrix multiplication in Swift
asked
May 25
by
avibootz
swift
swift-implement-matrix-multiplication
implement-matrix-multiplication
1
answer
152
views
How to find the dates of the last Sunday of each month of a given year in Swift
asked
May 24
by
avibootz
swift
swift-dates-of-last-sunday-each-month-given-year
dates-of-last-sunday-each-month-given-year
1
answer
152
views
How to find the dates of the last Fridays of each month of a given year in Swift
asked
May 23
by
avibootz
swift
swift-dates-of-last-fridays-each-month-given-year
dates-of-last-fridays-each-month-given-year
1
answer
214
views
How to find keyword matching between multiple text blocks in Swift
asked
May 22
by
avibootz
swift
swift-find-keyword-matching-between-multiple-text-blocks
find-keyword-matching-between-multiple-text-blocks
1
answer
140
views
How to sort the words in a string with Swift
asked
May 21
by
avibootz
swift
swift-sort-words-string
sort-words-string
1
answer
140
views
How to use the DateFormatter patterns in Swift
asked
May 21
by
avibootz
swift
swift-use-dateformatter-patterns
use-dateformatter-patterns
1
answer
144
views
How to format a date using different formats in Swift
asked
May 20
by
avibootz
swift
swift-format-date-different-formats
format-date-different-formats
1
answer
149
views
How to convert seconds into weeks, days, hours, minutes, and seconds in Swift
asked
May 20
by
avibootz
swift
swift-seconds-into-weeks-days-hours-minutes-seconds
seconds-into-weeks-days-hours-minutes-seconds
1
answer
141
views
How to sort a list of files by name, extension, dates, and size in Swift
asked
May 17
by
avibootz
swift
swift-sort-list-files-by-name-extension-dates-size
sort-list-files-by-name-extension-dates-size
1
answer
151
views
How to create a list of random file names, including extension, dates, and file size in Swift
asked
May 16
by
avibootz
swift
swift-file
swift-list-random-file-names-extension-dates-size
list-random-file-names-extension-dates-size
1
answer
155
views
How to create a list of random dates in Swift
asked
May 16
by
avibootz
swift
swift-create-list-random-dates
create-list-random-dates
1
answer
144
views
How to compress and decompress repeated string characters by storing the repeated length (RLE) in Swift
asked
May 14
by
avibootz
swift
swift-compress-decompress-repeated-string-characters
compress-decompress-repeated-string-characters
1
answer
134
views
How to calculate the 100th term of the sequence 8, 64, 80, 136, 152 in Swift
asked
May 12
by
avibootz
swift
swift-calculate-100th-term-of-sequence-8-64-80-136-152
calculate-100th-term-of-sequence-8-64-80-136-152
1
answer
157
views
How to convert an array of multi‑digit numbers to a number in Swift
asked
May 11
by
avibootz
swift
swift-array-multi-digit-numbers-to-number
array-multi-digit-numbers-to-number
1
answer
176
views
How to get accurate ticks from a timer (high‑resolution timer) in Swift
asked
May 9
by
avibootz
swift
swift-accurate-ticks-timer
accurate-ticks-timer
1
answer
172
views
How to create a sorted unique list from a matrix in Swift
asked
May 7
by
avibootz
swift
swift-sorted-unique-array-from-matrix
sorted-unique-array-from-matrix
1
answer
165
views
How to create a common sorted unique array from 3 integer arrays in Swift
asked
May 6
by
avibootz
swift
swift-common-sorted-unique-array-from-arrays
common-sorted-unique-array-from-arrays
1
answer
172
views
How to convert an integer into its written‑out English words in Swift
asked
May 5
by
avibootz
swift
swift-convert-integer-english-words
convert-integer-english-words
1
answer
161
views
How to calculate all the less than 500 additive prime numbers in Swift
asked
May 4
by
avibootz
swift
swift-calculate-additive-prime
calculate-additive-prime
1
answer
146
views
How to define a terabyte constant in Swift
asked
May 3
by
avibootz
swift
swift-terabyte-constant
terabyte-constant
1
answer
152
views
How to define an exabyte constant in Swift
asked
May 3
by
avibootz
swift
swift-exabyte-constant
exabyte-constant
1
answer
183
views
How to define a petabyte constant in Swift
asked
May 3
by
avibootz
swift
swift-petabyte-constant
petabyte-constant
1
answer
158
views
How to use math functions and constants in Swift
asked
Apr 30
by
avibootz
swift
swift-math-functions-constants
math-functions-constants
6
answers
374
views
How to create a function with an optional parameter in Swift
asked
Apr 29
by
avibootz
swift
swift-function-optional-parameter
function-optional-parameter
1
answer
161
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in Swift
asked
Apr 27
by
avibootz
swift
swift-decode-leet-speak
decode-leet-speak
1
answer
149
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in Swift
asked
Apr 27
by
avibootz
swift
swift-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
159
views
How to express a decimal number as a fixed-length string with leading zeros in Swift
asked
Apr 26
by
avibootz
swift
swift-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
151
views
How to create an enumeration of constants with and without explicit values in Swift
asked
Apr 26
by
avibootz
swift
swift-create-enumeration-with-without-values
create-enumeration-with-without-values
1
answer
161
views
How to compact a sparse matrix in Swift
asked
Apr 24
by
avibootz
swift
swift-compact-sparse-matrix
compact-sparse-matrix
1
answer
182
views
How to search for a word in a grid of characters with Swift
asked
Apr 23
by
avibootz
swift
swift-search
swift-grid
swift-search-word-grid-characters
search-word-grid-characters
2
answers
205
views
How to create a generic method in Swift
asked
Apr 22
by
avibootz
swift
swift-create-generic-method
create-generic-method
1
answer
173
views
How to localize date format in Swift
asked
Apr 20
by
avibootz
swift
swift-localize-date-format
localize-date-format
1
answer
151
views
How to get the number of days needed to wait after a day (a[i]) gets warmer given an array of temperatures in Swift
asked
Apr 18
by
avibootz
swift
swift-daily-temperatures-days-wait-gets-warmer
daily-temperatures-days-wait-gets-warmer
1
answer
160
views
How to check if a string is title case in Swift
asked
Apr 17
by
avibootz
swift
swift-check-string-title-case
check-string-title-case
6
answers
381
views
How to copy a string in Swift
asked
Apr 17
by
avibootz
swift
swift-copy-string
copy-string
1
answer
178
views
How to represent the Boolean "true" and "false" in Swift
asked
Apr 15
by
avibootz
swift
swift-represent-boolean-true-false
represent-boolean-true-false
1
answer
175
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in Swift
asked
Apr 13
by
avibootz
swift
swift-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
165
views
How to convert a decimal to a double in Swift
asked
Apr 12
by
avibootz
swift
swift-convert-decimal-double
convert-decimal-double
2
answers
194
views
How to convert a decimal string to a double in Swift
asked
Apr 12
by
avibootz
swift
swift-convert-decimal-string-double
convert-decimal-string-double
1
answer
162
views
How to convert a float to a double in Swift
asked
Apr 12
by
avibootz
swift
swift-convert-float-double
convert-float-double
3
answers
258
views
How to create an infinite loop in Swift
asked
Apr 11
by
avibootz
swift
swift-create-infinite-loop
create-infinite-loop
1
answer
166
views
How to add a new interval into a sorted array of non‑overlapping intervals in Swift
asked
Apr 9
by
avibootz
swift
swift-add-interval-into-sorted-array-non-overlapping-intervals
add-interval-into-sorted-array-non-overlapping-intervals
Page:
« prev
1
2
3
4
5
6
7
8
9
...
21
next »
...