What do you want to save?
Add Code snippet
New code examples in category Swift
-
-
Awgiedawgie 2022-02-01 14:26:53
swift + data to string
let str = String(decoding: data, as: UTF8.self) Add solution -
Phoenix Logan 2022-01-31 09:15:57
Prime number or not program in swift basic programs
var value=0var n = 10var i = 2for i in 2 ... n-1{ if(n%i==0) { value = 1; break; }}if(value==1){ print("\(n)" + &q... Add solution -
Awgiedawgie 2022-01-31 06:20:12
go to view controller programmatically swift
let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil) let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController self.present(nextViewController, animated:true, com... Add solution