Commit ff92bc40 by Dmitry Stepanets

IOS-272: Added onboarding descriptions

parent d24e62b4
......@@ -75,7 +75,7 @@
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
......@@ -351,8 +351,8 @@
"onboarding.skip" = "Skip";
"onboarding.done" = "Done";
"onboarding.forecast.title" = "Extended forecast";
"onboarding.forecast.subtitle" = "<Description>";
"onboarding.forecast.subtitle" = "Get accurate forecasts for extended periods of time for any location";
"onboarding.alerts.title" = "Weather alerts";
"onboarding.alerts.subtitle" = "<Description>";
"onboarding.alerts.subtitle" = "Get alerts about severe weather well-in-advance";
"onboarding.radar.title" = "Live doppler radar";
"onboarding.radar.subtitle" = "<Description>";
"onboarding.radar.subtitle" = "Our live radar gives you real-time weather updates with excellent accuracy";
......@@ -61,6 +61,8 @@ private extension OnboardingContentController {
view.addSubview(titleLabel)
subtitleLabel.font = AppFont.SFPro.regular(size: 14)
subtitleLabel.lineBreakMode = .byWordWrapping
subtitleLabel.numberOfLines = 0
view.addSubview(subtitleLabel)
//Constraints
......@@ -70,7 +72,7 @@ private extension OnboardingContentController {
}
subtitleLabel.snp.makeConstraints { make in
make.left.equalToSuperview().inset(30)
make.left.right.equalToSuperview().inset(30)
make.top.equalTo(titleLabel.snp.bottom).offset(10)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment