This file contains hidden or 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
| // for set unsafe area background color "1" | |
| extension UIApplication { | |
| var statusBarView: UIView? { | |
| return value(forKey: "statusBar") as? UIView | |
| } | |
| } |
This file contains hidden or 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
| import UIKit | |
| import Kingfisher | |
| class ViewPictureViewController: UIViewController { | |
| @IBOutlet weak var imgView: UIImageView! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| let url = URL(string: "hhtp://googleImage.com/find") | |
This file contains hidden or 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
| // Replace String " " <- empty space Into "+OR+" <- Character | |
| class TestBytesViewConroller: UIViewController { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| let text = "This is a string" | |
| let slashString = text.replacingOccurrences(of: " ", with: "+OR+") | |
| print(slashString) | |
| } |
This file contains hidden or 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
| // | |
| // PopUpViewController.swift | |
| // | |
| // Created by Jerry on 28/03/18. | |
| // Copyright © 2018 Jerry. All rights reserved. | |
| // | |
| import UIKit | |
| import WebKit |
This file contains hidden or 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
| / | |
| // ViewController.swift | |
| // For Test Part 4 | |
| // | |
| // Created by Jeri P.M on 10/09/18. | |
| // Copyright © 2018 Jeri P.M . All rights reserved. | |
| // | |
| import UIKit |
NewerOlder