Michael Doise

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Swift code to make a button. #2740
    Michael Doise
    Keymaster

    Let me know if this doesn’t work. The target selector may be written incorrectly based on my own code.

    in reply to: Feature Requests #2727
    Michael Doise
    Keymaster

    I really hope they fix more of the bugs and add some cool stuff.

    in reply to: Feature Requests #2726
    Michael Doise
    Keymaster

    I would also like to see default apps.

    in reply to: Feature Requests #2725
    Michael Doise
    Keymaster

    I would like to see Always on display and multi user mode.

    in reply to: Betas!!! #2721
    Michael Doise
    Keymaster

    I would love to see more features on iPad but I don’t think we will see this until iOS 13, but the rumors about SceneKit look amazing.

    in reply to: Betas!!! #2720
    Michael Doise
    Keymaster

    I really hope iPhone X gets always on display.

    in reply to: audo layout nightmares and accessibility of interfaces #2701
    Michael Doise
    Keymaster

    Hey Taylor, I have been working with Xcode this week, and I have found it to be easier to just avoid interface builder altogether, and build apps through code. I would delete your storyboard, and put this in your app delegate. Make sure you have a view Controller made as a class and use this code to divert from the storyboard.

            window = UIWindow(frame: UIScreen.main.bounds)
            let homeViewController = ViewController()
            homeViewController.view.backgroundColor = UIColor.red
            window!.rootViewController = homeViewController
            window!.makeKeyAndVisible()
    
    This will all go in to the didFinishLaunchingWithOptions function of the appDelegate. You will also find this useful for your view controller to make a label.
    
    
        let label = UILabel()
        label.frame = CGRect(x: 150, y: 200, width: 200, height: 20)
        label.text = "Hello World"
        label.textColor = .white
        self.view.addSubview(label)
    

    Add this code to your View Controller’s viewDidLoad method.

    Hope this helps you some.

Viewing 7 posts - 1 through 7 (of 7 total)