Posts by Pablo Ruan • 146 points
2 posts
-
1
votes2
answers514
viewsA: How to pass the value of a variable through a button to another class in Swift
If you do not use follow, you can pass the following way First on VC-B declare the variable that will receive the value. //VC-B class VC_B: UIViewController{ var Valor:String! override func…
-
2
votes2
answers96
viewsA: How to debug errors in Realm DB?
Usually this error occurs because you declare your Realm outside a thread and are using some property of it within a thread. Example let realm = try! Realm()…