Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-graduan committed Oct 17, 2019
1 parent 49ff12e commit eb57c36
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions xcode/cheat_sheet.md
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/)
4 changes: 3 additions & 1 deletion xcode/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
* [HOW TO AUTO ADJUST UISCROLLVIEW WHEN KEYBOARD IS UP (SWIFT-4, XCODE-9)
](https://www.youtube.com/watch?v=D3sxanj3vd8)

https://stackoverflow.com/questions/24089999/how-do-you-create-a-swift-date-object
## Date

* [How do you create a swift Date object](https://stackoverflow.com/questions/24089999/how-do-you-create-a-swift-date-object)

0 comments on commit eb57c36

Please sign in to comment.