-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49ff12e
commit eb57c36
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Cheat Sheet | ||
|
||
## Pull to refresh | ||
|
||
* scroll view buggy, during development viewcontroller set simulated size to free from, when finish development, set simulated size to fixed | ||
* https://stackoverflow.com/a/27547324 | ||
|
||
## Color | ||
|
||
```swift | ||
|
||
// If color code is: rgb(255, 204, 0) | ||
|
||
UIColor(red: 255/255, green: 204/255, blue: 0/255, alpha: 1.0) /* #ffcc00 */ | ||
|
||
``` | ||
|
||
[Swift UIColor Picker](https://www.ralfebert.de/ios-examples/uikit/swift-uicolor-picker/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters