Commit graph

82 commits

Author SHA1 Message Date
Doug
29dffb3d6e Improve celebration screen layout on iPad
Rename OnboardingConstants to OnboardingMetrics.
Fix strings warning about public property in public extension.
Remove unused OnboardingCelebrationViewModelResult.
2022-03-22 12:02:05 +00:00
Doug
ba53b01f95 Remove MatrixKit stencil. 2022-03-03 10:25:42 +00:00
Doug
705b31a302 Remove MatrixKitL10n from SwiftGen
Uses VectorL10n everywhere.
2022-03-03 09:34:54 +00:00
Stefan Ceriu
bf37be670e Added swiftgen step for generating strings that won't be exposed to Weblate but still part of VectorL10n. 2022-02-28 12:37:22 +00:00
aringenbach
94dab7ad4b
Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers

* Use dot notation in ObjC & fix minor issues

Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
2022-02-10 17:13:23 +01:00
Doug
aef470ebb9 Add a simple screen SwiftUI template. 2022-01-28 15:34:46 +00:00
manuroe
1a81c4ef97 Merge branch 'master' into develop 2021-12-14 10:18:15 +01:00
manuroe
384c77c2b6 BuildRelease.sh: Add an option to build the ipa from local source code copy 2021-12-09 13:46:33 +01:00
Doug
547be31d42 Use a single strings step with 2 actions. 2021-12-08 16:20:54 +00:00
SBiOSoftWhare
b4a43e0950 SwiftGen: Handle MatrixKit stencil. 2021-12-07 16:44:15 +01:00
SBiOSoftWhare
a3a1b79766 MatrixKit: Add dedicated stencil for string generation. 2021-12-07 16:43:49 +01:00
Stefan Ceriu
2ead77115d Merge together SwiftUI template model files and update folder structure. 2021-12-07 16:11:31 +02:00
SBiOSoftWhare
e49566a72c SwiftGen: Handle MatrixKit strings. 2021-11-29 17:25:31 +01:00
SBiOSoftWhare
feef2baa95 NavigationStore: Update public method signature. 2021-10-08 17:15:14 +02:00
SBiOSoftWhare
18ac5885dc
Update Tools/Templates/buildable/FlowCoordinatorTemplate/FlowTemplateCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 12:20:19 +02:00
SBiOSoftWhare
1c7cf6bc01 Templates: Upate FlowTemplateCoordinator. 2021-10-06 16:59:56 +02:00
SBiOSoftWhare
3d75153bc1 Use NavigationRouterStore where needed. 2021-10-05 10:48:52 +02:00
David Langley
c2db604489 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4781_swiftui_template_example2 2021-09-23 12:31:33 +01:00
Stefan Ceriu
6111382a63 Merge branch 'develop' into stefan/4881-configurable-app-name-localization-strings
# Conflicts:
#	Riot/Generated/Strings.swift
2021-09-22 17:17:05 +03:00
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Stefan Ceriu
0848f66cdb Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
David Langley
a7ef23ba6e Fix template script for example 2 2021-09-21 09:55:44 +01:00
David Langley
d7ed0cd292 Merge branch 'langleyd/4781_swiftui_template_examples' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_example2 2021-09-15 17:32:19 +01:00
David Langley
fb0f023964 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +01:00
David Langley
65c7e5c661 Add chat example 2021-09-13 11:39:42 +01:00
David Langley
cc671a4bee Correct preview name and create template script 2021-09-08 00:00:34 +01:00
SBiOSoftWhare
be8e58b748 Templates: Use struct instead of class for coordinator paramaters. 2021-09-07 09:59:57 +02:00
SBiOSoftWhare
00f7e9422f
Update Tools/Templates/buildable/FlowCoordinatorTemplate/FlowTemplateCoordinatorParameters.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-07 09:51:42 +02:00
SBiOSoftWhare
dee2253604 Templates: Use Protocol suffix instead of Type for protocols. 2021-09-06 18:21:21 +02:00
SBiOSoftWhare
9b52fb671a Templates: Support screen push and input parameters class in flow template. 2021-09-06 18:13:24 +02:00
SBiOSoftWhare
2b4a9f3929 Templates: Add input parameters class to TemplateScreenCoordinator. 2021-09-06 18:10:24 +02:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Stefan Ceriu
11cff51b71 #4746 - Updated ScreenTemplate to include viewState in the viewModel. 2021-08-26 17:48:24 +03:00
SBiOSoftWhare
7588058bfa postGenCommand.sh: Add comments. 2021-07-30 17:28:52 +02:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
langleyd
6a5f8f6f4c Update template copyright date 2021-07-09 09:08:42 +01:00
SBiOSoftWhare
1ae3ec91bb buildRelease.sh: Remove duplicated code. 2021-05-18 16:03:32 +02:00
SBiOSoftWhare
c469b23eed buildRelease.sh: Make bundler operations in the cloned repository folder. 2021-05-18 15:51:25 +02:00
ismailgulek
0775cba1d0
Update bridge presenter template to auto-implement dismiss gesture 2021-05-12 01:09:28 +03:00
manuroe
030f99c8e9 XcodeGen: Explain what is the new .sh 2021-02-05 09:34:06 +01:00
manuroe
af99d6e711 XcodeGen: Move createWorkspace.sh into Tools/XcodeGen
To keep the root folder clean. Rename it because it does not do same things anymore.
2021-02-05 09:31:18 +01:00
SBiOSoftWhare
0567a626da FlowTemplateCoordinatorBridgePresenter: Update class comment. 2020-09-24 12:15:36 +02:00
manuroe
377310ef36 buildRelease.sh: Pass a git_tag parameter to fastlane
because fastlane `git_branch` method can fail.

It fails when using ./buildRelease.sh with a tag.
2020-09-08 17:39:51 +02:00
SBiOSoftWhare
1e6b0da7ca
Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
manuroe
363196bc51 BuildRelease.sh: Fix checkout of tag
and use git shallow clone to speed up the script a bit
2020-09-03 15:39:50 +02:00
SBiOSoftWhare
5675a1f225 Remove unused script. 2020-09-01 14:23:37 +02:00
SBiOSoftWhare
88b76d449d Update buildRelease script. 2020-08-28 12:11:46 +02:00
SBiOSoftWhare
695b59c0d3 Contributing: Update contributing guide and use Markdown. 2020-08-24 14:40:04 +02:00
ismailgulek
09208741d9 Read repo url and name from current git repo 2020-08-05 15:10:26 +03:00