9 Notes for me in Desember Swift 4.2
Note: December-2018 1. Set image opacity in programmatically -- imageView.alpha = 0.5 // 50% opacity -- imageView.alpha = 0 // 0% opacity - completely transparent -- ima…
Read more →Build logs, short notes, and the things I work out in public before they turn into articles.
Note: December-2018 1. Set image opacity in programmatically -- imageView.alpha = 0.5 // 50% opacity -- imageView.alpha = 0 // 0% opacity - completely transparent -- ima…
Read more →Note: November-2018 1. Selection color for selected in tableView and collectView -- " cell. selectionStyle = UITableViewCellSelectionStyle.none " -- that cod…
Read more →
when my iPhone fell caused an error touch screen, if I touch in the screen random freezing not accurate, and I try to fix it with several ways. finally, fix it use a se…
Read more →In my mind, I ask How to create a gradient in background viewControler, and finally I found the answer check this. you can see full in https://www.youtube.com/watch?v=3g…
Read more →In Use " info[UIImagePickerControllerOriginalImage] as? UIImage " => ".camera" Specifies the original, uncropped image selected by the user. The v…
Read more →If you have a problem in the code convert video and rename the video , look this error and solution. - Error Domain=AVFoundation Error Domain Code=-11823 "Cannot S…
Read more →This below example how to replace data You need to loop, looking to see what the range of the substring var s = "The Pep Boys are §§§, §§§, and §§§." var arr …
Read more →if you are looking for a way to fix a bug like "string regex delete use character swift 4", maybe this code can help you. source: https://stackoverflow.com/que…
Read more →This time I tried to make UILabel part of a bold text, using func so that many other UILabels can be used. import UIKit class MentionHalfBoldViewController: UIViewContro…
Read more →
link GitHub https://github.com/andresilvagomez/Localize You can use Cocoapod or Carthage, for install cek link github Localize, this time I try localize use xib file. l…
Read more →
I want to disable tint color image in button, and I try some method like let btnImage = myImage.withRenderingMode(.alwaysTemplate) myButton.setImage(stencil, for: .no…
Read more →
Create new album use UIImagePickerController to take a photo by camera of iPhone, must setting info.plist or use source code <key> NSCameraUsageDescription </key&g…
Read more →
My Favorite Quote: One becomes a beginner after 1,000 days of training. One becomes a master after 10,000 days of practice On this blog all are problems that I have enco…
Read more →
I have problem "how to setting spotlight mac can't find all application in mac" that key word i search in google, in my mac can't find apps in spotligh…
Read more →
1. download in github https://github.com/nicklockwood/SwiftFormat , or can be download tag https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.4 2. open -> Sw…
Read more →
I have a problem if using UITabBarController, center button icon in hold touch an swipe icon make size small, If you have the same problem you can solve like this below i…
Read more →
This time I share code in swift 4 how to split your string into an index and use that in textField, try this code below maybe can help you. Buy me a coffee
Read more →