Posts by Daniel Faria Sampaio • 74 points
5 posts
-
0
votes5
answers691
viewsA: How to delete a deleted Github repository?
You can start a new Github repository from scratch under another name. After past the days when the deleted repository gets "backed up" you rename Github repository. Remote Urls do not necessarily…
githubanswered Daniel Faria Sampaio 74 -
0
votes2
answers143
viewsA: Why is the result of this code going to be 30?
In the Xcode, you can use a sandbox of Swift called Playground. In it you can enter almost any code in Swift and see details about its execution easily and quickly. I use it a lot to test codes that…
swiftanswered Daniel Faria Sampaio 74 -
1
votes2
answers263
viewsA: Save object to a Swift(IOS) session
To save custom objects to NSUserDefaults you need to get the class of that object to implement the protocolon NSCoding. class Aluno: Mappable, NSCoding { // código aqui } In implementing this…
-
1
votes2
answers348
viewsA: Keyboard up before view up
I made an example using Swift, but the footprint is more or less the same. You can also choose to animate the Uiviewcontroller view as a whole as follows: Attributes: @IBOutlet weak var search:…
-
3
votes2
answers1580
viewsA: Security in login system
Storing Passwords in the Database It is recommended that when storing passwords in the database, you do not do so in order to store them as text-Plain (or plain text). One way to save them would be…