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 PlaygroundSupport | |
| class TestViewController : UIViewController { | |
| let btn: UIButton = { | |
| let b = UIButton() | |
| b.translatesAutoresizingMaskIntoConstraints = false | |
| b.setTitle("Tap Me", for: .normal) |
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
| // | |
| // AutoSizeTableViewCell.h | |
| // OCVeryTemp | |
| // | |
| // Created by Don Mag on 2/19/18. | |
| // | |
| #import <UIKit/UIKit.h> | |
| @interface AutoSizeTableViewCell : UITableViewCell |
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
| // | |
| // WithAlertTableViewController.m | |
| // OCVeryTemp | |
| // | |
| // Created by Don Mag on 2/19/18. | |
| // | |
| #import "WithAlertTableViewController.h" | |
| @interface WithAlertTableViewController () |
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
| // | |
| // FirstTabKBViewController.m | |
| // OCVeryTemp | |
| // | |
| // Created by Don Mag on 2/19/18. | |
| // | |
| #import "FirstTabKBViewController.h" | |
| @interface FirstTabKBViewController () |
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
| class C2ViewController: UIViewController { | |
| var myCustomAlertView = CustomAlertView() | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| if var topController = UIApplication.shared.delegate?.window??.rootViewController { | |
| while let presentedViewController = topController.presentedViewController { |
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
| // | |
| // Crash1hdViewController.swift | |
| // temp | |
| // | |
| // Created by Don Mag on 2/15/18. | |
| // Copyright © 2018 DonMag. All rights reserved. | |
| // | |
| import UIKit |
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 | |
| class Foo { | |
| var test = "" | |
| } | |
| class Bar { | |
| var test = "" | |
| } |
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
| // | |
| // MyAlertFunc.swift | |
| // temp | |
| // | |
| // Created by Don Mag on 2/9/18. | |
| // | |
| import UIKit |