This file contains 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
> ./babbler --diff | |
[WARNING] 'mapLayers_lenses_mapLockdown': Locale defined remotely but not used locally | |
[WARNING] 'mapLayers_lenses_stayAtHome': Locale defined remotely but not used locally | |
[WARNING] 'mapLayers_mapLockdown_leaderboard_title': Locale defined remotely but not used locally | |
[WARNING] 'mapLayers_mapLockdown_splash_subtitle': Locale defined remotely but not used locally | |
[WARNING] 'mapLayers_mapLockdown_splash_title': Locale defined remotely but not used locally | |
[WARNING] 'mapLayers_mapLockdown_title': Locale defined remotely but not used locally | |
[WARNING] 'settings_about_section_about': Locale defined remotely but not used locally |
This file contains 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
> ./babbler | |
> ... | |
> git status | |
modified: Zenly/.babbler | |
modified: Zenly/Resources/Localization/da.lproj/Localizable.strings | |
modified: Zenly/Resources/Localization/de.lproj/Localizable.strings | |
modified: Zenly/Resources/Localization/el.lproj/Localizable.strings | |
modified: Zenly/Resources/Localization/en.lproj/Localizable.strings | |
modified: Zenly/Resources/Localization/es-419.lproj/Localizable.strings | |
modified: Zenly/Resources/Localization/es.lproj/Localizable.strings |
This file contains 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
> ./babbler --untranslated | |
[WARNING] '../../app/src/main/.babbler': Needs translations | |
[WARNING] '../../platform/framework/src/main/.babbler': Needs translations | |
[WARNING] '../../features/experimental/src/main/.babbler': Needs translations | |
[WARNING] '../../features/flight-lens/src/main/.babbler': Needs translations | |
[WARNING] '../../features/share-sheet/src/main/.babbler': Needs translations | |
[WARNING] '../../features/media-viewer/api/src/main/.babbler': Needs translations | |
[WARNING] '../../features/footprints/src/main/.babbler': Needs translations | |
[WARNING] '../../features/intent-chooser/src/main/.babbler': Needs translations | |
[WARNING] '../../features/media-picker/api/src/main/.babbler': Needs translations |
This file contains 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
// Weather | |
"weather_condition_sunny" = "Sunny"; | |
"weather_condition_cloudy" = "Cloudy"; | |
"weather_condition_rainy" = "Rainy"; | |
… | |
// Quotes | |
"chat_quote_image" = "Image"; | |
"chat_quote_video" = "Video"; |
This file contains 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
/// Every view interacting with a `SayHelloViewModel` instance can conform to this. | |
protocol SayHelloViewModelBindable { | |
var disposeBag: DisposeBag? { get } | |
func bind(to viewModel: SayHelloViewModel) | |
} | |
/// TableViewCells | |
final class TextFieldCell: UITableViewCell, SayHelloViewModelBindable { | |
@IBOutlet weak var nameTextField: UITextField! | |
var disposeBag: DisposeBag? |
This file contains 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
final class SayHelloViewModel: ViewModelType { | |
let input: Input | |
let output: Output | |
struct Input { | |
let name: AnyObserver<String> | |
let validate: AnyObserver<Void> | |
} | |
struct Output { |
This file contains 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
protocol ViewModelType { | |
associatedtype Input | |
associatedtype Output | |
var input: Input { get } | |
var output: Output { get } | |
} |
This file contains 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
/// TableViewCells | |
final class TextFieldCell: UITableViewCell { | |
@IBOutlet weak var nameTextField: UITextField! | |
} | |
final class ButtonCell: UITableViewCell { | |
@IBOutlet weak var validateButton: UIButton! | |
} | |
final class GreetingCell: UITableViewCell { |
This file contains 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
final class SayHelloViewController: UIViewController { | |
@IBOutlet weak var nameTextField: UITextField! | |
@IBOutlet weak var validateButton: UIButton! | |
@IBOutlet weak var greetingLabel: UILabel! | |
private let viewModel = SayHelloViewModel() | |
private let bag = DisposeBag() | |
override func viewDidLoad() { |
This file contains 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
final class SayHelloViewModel: ViewModelType { | |
struct Input { | |
let name: Observable<String> | |
let validate: Observable<Void> | |
} | |
struct Output { | |
let greeting: Driver<String> | |
} |
NewerOlder