Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelbeek/swift-cheat-sheet
These are things I look up frequently or spent some time figuring out. I hope they help you too
https://github.com/samuelbeek/swift-cheat-sheet
Last synced: 4 days ago
JSON representation
These are things I look up frequently or spent some time figuring out. I hope they help you too
- Host: GitHub
- URL: https://github.com/samuelbeek/swift-cheat-sheet
- Owner: samuelbeek
- Created: 2015-02-09T15:09:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-09T15:15:04.000Z (almost 10 years ago)
- Last Synced: 2023-08-19T12:36:06.959Z (about 1 year ago)
- Language: Swift
- Size: 114 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Swift Cheat Sheet
These are things that I lookup frequently or solutions I spent some time on. I hope they can help you too. This file will grow as I continue to build in Swift. My goal with this is to create a living document that ties together a lot of the disparate Swift solutions out there as people begin to pick up speed on the language.
(listed in order of appearance)
* Creating background gradients
* Playing a sound with AVFoundation
* Editing the text of a UIButton
* Setting the value of a textField a variety of ways
* Removing the keyboard from the view
* Focusing on a textField and bringing up the keyboard
* Hiding the status bar at the top of the view (the one with the battery and clock)
* Getting the last value of a model from CoreData
* Better storage of objects in CoreData
* Keep the phone from going to sleep
* Dismiss keyboard when pressing return in a UITextView
* Set a maximum amount of characters in a UITextView
* Add a person to AddressBook
* Use HexColors codes for UIColor
* Setting and retrieving NSUserDefaults
* Create a NSAttributedString
* Make a Screenshot
* More to comeCreated and Curated by [@ZackShapiro](http://twitter.com/zackshapiro)
Additions by: [@SamuelBeek](http://twitter.com/samuelbeek)
_(Feel free to fork this and edit, update, remix, or create your own. Feedback and pull requests are welcome)_