[iOS] update Whats New
|
@ -2,17 +2,17 @@
|
|||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_wn_business.png",
|
||||
"filename" : "img_whats_hot_offers.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_wn_business@2x.png",
|
||||
"filename" : "img_whats_hot_offers@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_wn_business@3x.png",
|
||||
"filename" : "img_whats_hot_offers@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_hot_offers.imageset/img_whats_hot_offers.png
vendored
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_hot_offers.imageset/img_whats_hot_offers@2x.png
vendored
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_hot_offers.imageset/img_whats_hot_offers@3x.png
vendored
Normal file
After Width: | Height: | Size: 94 KiB |
23
iphone/Maps/Images.xcassets/Whats New/img_whats_new_catalog.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_catalog.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_catalog@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_catalog@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_catalog.imageset/img_whats_new_catalog.png
vendored
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_catalog.imageset/img_whats_new_catalog@2x.png
vendored
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_catalog.imageset/img_whats_new_catalog@3x.png
vendored
Normal file
After Width: | Height: | Size: 134 KiB |
23
iphone/Maps/Images.xcassets/Whats New/img_whats_new_popular.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_popular.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_popular@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_whats_new_popular@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_popular.imageset/img_whats_new_popular.png
vendored
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_popular.imageset/img_whats_new_popular@2x.png
vendored
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
iphone/Maps/Images.xcassets/Whats New/img_whats_new_popular.imageset/img_whats_new_popular@3x.png
vendored
Normal file
After Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 74 KiB |
|
@ -331,14 +331,14 @@
|
|||
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</state>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="textColorName" value="linkBlue"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="textColorHighlightedName" value="linkBlueHighlighted"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="textColorName" value="white"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="textColorHighlightedName" value="white"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||
<integer key="value" value="8"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundHighlightedColorName" value="white"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="linkBlue"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundHighlightedColorName" value="linkBlueHighlighted"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
<connections>
|
||||
<action selector="nextPage" destination="1Bf-CK-Osq" eventType="touchUpInside" id="jlv-4f-LM3"/>
|
||||
|
|
|
@ -9,15 +9,26 @@ final class WhatsNewController: WelcomeViewController {
|
|||
let ctaButtonUrl: String?
|
||||
}
|
||||
|
||||
static let ctaUrl = "https://b2b.maps.me/whatsnew/us"
|
||||
static var welcomeConfigs: [WelcomeConfig] {
|
||||
return [
|
||||
WhatsNewConfig(image: #imageLiteral(resourceName: "img_wn_business"),
|
||||
title: "whats_new_localbiz_title",
|
||||
text: "whats_new_localbiz_message",
|
||||
WhatsNewConfig(image: #imageLiteral(resourceName: "img_whats_new_catalog"),
|
||||
title: "whats_new_bookmarks_catalog_title",
|
||||
text: "whats_new_bookmarks_catalog_message",
|
||||
buttonTitle: "whats_new_next_button",
|
||||
ctaButtonTitle: nil,
|
||||
ctaButtonUrl: nil),
|
||||
WhatsNewConfig(image: #imageLiteral(resourceName: "img_whats_new_popular"),
|
||||
title: "whats_new_popularity_label_title",
|
||||
text: "whats_new_popularity_label_message",
|
||||
buttonTitle: "whats_new_next_button",
|
||||
ctaButtonTitle: nil,
|
||||
ctaButtonUrl: nil),
|
||||
WhatsNewConfig(image: #imageLiteral(resourceName: "img_whats_hot_offers"),
|
||||
title: "whats_new_hot_offers_title",
|
||||
text: "whats_new_hot_offers_message",
|
||||
buttonTitle: "done",
|
||||
ctaButtonTitle: "whats_new_order_button",
|
||||
ctaButtonUrl: ctaUrl)
|
||||
ctaButtonTitle: nil,
|
||||
ctaButtonUrl: nil)
|
||||
]
|
||||
}
|
||||
|
||||
|
|