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
| // NumberBeforeStringVC.swift | |
| // For Test Part 4 | |
| // | |
| // Created by Jeri PM on 05/10/18. | |
| // Copyright © 2018 Jeri PM. All rights reserved. | |
| // | |
| class NumberStringVC: UIViewController { | |
| @IBOutlet weak var texField: UITextField! | |
| @IBOutlet weak var texField1: UITextField! |
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
| // | |
| // CustomAlbum.swift | |
| // TestPart5 | |
| // | |
| // Created by Jeri Purnama on 10/10/18. | |
| // Copyright © 2018 jeriPm. All rights reserved. | |
| // | |
| import Foundation | |
| import Photos |
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 Photos | |
| import UIKit | |
| class ImageFolderViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { | |
| @IBOutlet weak var fotoImg: UIImageView! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| } | |
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 Int | |
| import UIKit | |
| class MentionHalfBoldViewController: UIViewController { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| let txt = "Lorem ipsum @[1484987415095898:274:Page Four] dolores" |
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 | |
| class EmojiReadViewController: UIViewController { | |
| @IBOutlet weak var labelAndroidToIOS: UILabel! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| var dataFromAndroid = "😊😁 loream ipsum qeqeura dafult" |
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 Alamofire | |
| import SwiftyJson | |
| import AVFoundation | |
| import UIKit | |
| class TestViewController: UIViewController, GalleryDelegate { | |
| @IBOutlet weak var imgView: UIImageView! | |
| var url: URL? | |
| let videoUrl = "https://api.example/video... " | |
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
| //Visit my blog http://scripttes.blogspot.com/ | |
| //IOS Template https://codecanyon.net/item/simple-qr-code-barcode-scanner-generate-ios-12-and-13/25018066 | |
| import Foundation | |
| import UIKit | |
| extension UIView { | |
| func setGradientBackground(colorOne: UIColor, colorTwo: UIColor) { | |
| let gradientLayer = CAGradientLayer() | |
| gradientLayer.frame = bounds |
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 Foundation | |
| import UIKit | |
| class CountTextField: UITextField, UITextFieldDelegate { | |
| lazy var countLabel: UILabel = { | |
| let label = UILabel(frame: CGRect(x: 0, y: 0, width: 20, height: 40)) | |
| label.font = UIFont.systemFont(ofSize: 12) | |
| label.textAlignment = .center | |
| label.textColor = #colorLiteral(red: 0.1098039216, green: 0.5176470588, blue: 0.8588235294, alpha: 1) | |
| label.text = "16" |
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
| // | |
| // MakeTransparentHoleOnOverlayView.swift | |
| // | |
| // Created by James Laurenstin on 2015-04-10. | |
| // Copyright (c) 2015 Aldo Group Inc. All rights reserved. | |
| // | |
| import UIKit | |
| class MakeTransparentHoleOnOverlayView: 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
| { | |
| "data": [ | |
| { | |
| "id": 1, | |
| "type": "instrumental", | |
| "title": "Guitar A", | |
| "image_name": "xxxxx.jpg", | |
| "isLock": false, | |
| "desc": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.", | |
| "song": [ |