Skip to content

Commit ede7ef6

Browse files
committed
fix warnings
1 parent 3e3ae54 commit ede7ef6

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

App/App.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@
536536
INFOPLIST_FILE = App/Info.plist;
537537
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
538538
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
539-
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
540-
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
539+
INFOPLIST_KEY_UIRequiresFullScreen = YES;
540+
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
541541
LD_RUNPATH_SEARCH_PATHS = (
542542
"$(inherited)",
543543
"@executable_path/Frameworks",
@@ -563,8 +563,8 @@
563563
INFOPLIST_FILE = App/Info.plist;
564564
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
565565
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
566-
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
567-
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
566+
INFOPLIST_KEY_UIRequiresFullScreen = YES;
567+
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
568568
LD_RUNPATH_SEARCH_PATHS = (
569569
"$(inherited)",
570570
"@executable_path/Frameworks",

App/AppTests/FeedAcceptanceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class FeedAcceptanceTests: XCTestCase {
123123
}
124124

125125
private func makeFirstFeedPageData() -> Data {
126-
var items = [
126+
let items = [
127127
[
128128
"id": "2AB2AE66-A4B7-4A16-B374-51BBAC8DB086",
129129
"title": "any title",

Feed/FeedAPIEndToEndTests/FeedAPIEndToEndTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class FeedAPIEndToEndTests: XCTestCase {
3939
let exp = expectation(description: "Wait for load completion")
4040

4141
var receivedResult: Swift.Result<[FeedExpense], Error>?
42-
client.get(from: testServerURL) { result in
42+
_ = client.get(from: testServerURL) { result in
4343
receivedResult = result.flatMap { (data, response) in
4444
do {
4545
return .success(try FeedItemsMapper.map(data, from: response))

Feed/FeediOS/Feed UI/Views/Feed.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<nil key="textColor"/>
5252
<nil key="highlightedColor"/>
5353
</label>
54-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Today" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="6" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZLH-Fd-roT">
54+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Today" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZLH-Fd-roT">
5555
<rect key="frame" x="0.0" y="26" width="67.666666666666671" height="20"/>
5656
<fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
5757
<color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>

0 commit comments

Comments
 (0)