Skip to content

Instantly share code, notes, and snippets.

View jerrypm's full-sized avatar
🎯
Focusing

Jerry <N.P> jerrypm

🎯
Focusing
View GitHub Profile
// for set unsafe area background color "1"
extension UIApplication {
var statusBarView: UIView? {
return value(forKey: "statusBar") as? UIView
}
}
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")
// 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)
}
//
// PopUpViewController.swift
//
// Created by Jerry on 28/03/18.
// Copyright © 2018 Jerry. All rights reserved.
//
import UIKit
import WebKit
/
// 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