From 26f2576cd8c4a257c72031d37b00f9d4d60c9690 Mon Sep 17 00:00:00 2001 From: Venkata Kalyan Pasupuleti Date: Wed, 26 Dec 2018 13:52:12 -0800 Subject: [PATCH 1/3] Justforpractice --- .../TableViewController/TableViewCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift b/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift index c8a9c54..1ae7f63 100644 --- a/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift +++ b/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift @@ -6,7 +6,7 @@ // import UIKit -import PureLayout +//import PureLayout class TableViewCell: UITableViewCell { From 306993af9a2f327e1ff138c5c12f2c75c4d52558 Mon Sep 17 00:00:00 2001 From: Venkata Kalyan Pasupuleti Date: Wed, 26 Dec 2018 13:52:12 -0800 Subject: [PATCH 2/3] Justforpractice --- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++ .../AppIcon.appiconset/Contents.json | 40 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 TableViewCellWithAutoLayout.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/TableViewCellWithAutoLayout.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/TableViewCellWithAutoLayout.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/TableViewCellWithAutoLayout.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/TableViewCellWithAutoLayout/Images.xcassets/AppIcon.appiconset/Contents.json b/TableViewCellWithAutoLayout/Images.xcassets/AppIcon.appiconset/Contents.json index b7f3352..d8db8d6 100644 --- a/TableViewCellWithAutoLayout/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/TableViewCellWithAutoLayout/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,15 +1,35 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "60x60", @@ -20,6 +40,16 @@ "size" : "60x60", "scale" : "3x" }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, { "idiom" : "ipad", "size" : "29x29", @@ -49,6 +79,16 @@ "idiom" : "ipad", "size" : "76x76", "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { From 3b02a48bd67753793da7f8c9ed073dd0c60ecdd4 Mon Sep 17 00:00:00 2001 From: Venkata Kalyan Pasupuleti Date: Wed, 26 Dec 2018 14:03:33 -0800 Subject: [PATCH 3/3] kalyanpractice1 --- .../TableViewController/TableViewCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift b/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift index 1ae7f63..7e4b647 100644 --- a/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift +++ b/TableViewCellWithAutoLayout/TableViewController/TableViewCell.swift @@ -70,6 +70,7 @@ class TableViewCell: UITableViewCell self.bodyLabel.autoSetContentCompressionResistancePriorityForAxis(.Vertical) } + titleLabel.autoPinEdgeToSuperviewEdge(.Top, withInset: kLabelVerticalInsets) titleLabel.autoPinEdgeToSuperviewEdge(.Top, withInset: kLabelVerticalInsets) titleLabel.autoPinEdgeToSuperviewEdge(.Leading, withInset: kLabelHorizontalInsets) titleLabel.autoPinEdgeToSuperviewEdge(.Trailing, withInset: kLabelHorizontalInsets)