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
//Updated for Swift 3.1 | |
class TriangleView : UIView { | |
var color: UIColor = .black { | |
didSet { | |
setNeedsDisplay() | |
} | |
} | |
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
// | |
// Stack.m | |
// | |
// Created by Joshua Howland on 6/12/14. | |
// Copyright (c) 2014 DevMountain. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
Pleasant View Station | |
Ogden Intermodal Center | |
Roy Station | |
Clearfield Station | |
Layton Station | |
Farmington Station | |
Woods Cross Station | |
North Temple Station | |
Salt Lake Central Station | |
Murray Central Station |
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
UITextField *textField1 = [UITextField new]; | |
textField1.placeholder = @"UITextField 1"; | |
textField1.borderStyle = UITextBorderStyleRoundedRect; | |
textField1.backgroundColor = [UIColor redColor]; | |
[textField1 setTranslatesAutoresizingMaskIntoConstraints:NO]; | |
[self.view addSubview:textField1]; | |
UITextField *textField2 = [UITextField new]; | |
textField2.placeholder = @"UITextField 2"; | |
textField2.borderStyle = UITextBorderStyleRoundedRect; |