Commit Graph

82 Commits

Author SHA1 Message Date
Doug
bb7e928922 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
30cefb13ed Remove MatrixKit stencil. 2022-03-03 10:25:42 +00:00
Doug
86c2b4ebb5 Remove MatrixKitL10n from SwiftGen
Uses VectorL10n everywhere.
2022-03-03 09:34:54 +00:00
Stefan Ceriu
bf8ae6328f 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
7964d314c8 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
93e3c3637f Add a simple screen SwiftUI template. 2022-01-28 15:34:46 +00:00
manuroe
372305e82f Merge branch 'master' into develop 2021-12-14 10:18:15 +01:00
manuroe
14a06f9804 BuildRelease.sh: Add an option to build the ipa from local source code copy 2021-12-09 13:46:33 +01:00
Doug
7e7c4bfa2e Use a single strings step with 2 actions. 2021-12-08 16:20:54 +00:00
SBiOSoftWhare
72e6511d0b SwiftGen: Handle MatrixKit stencil. 2021-12-07 16:44:15 +01:00
SBiOSoftWhare
1e96abb109 MatrixKit: Add dedicated stencil for string generation. 2021-12-07 16:43:49 +01:00
Stefan Ceriu
480ad52f60 Merge together SwiftUI template model files and update folder structure. 2021-12-07 16:11:31 +02:00
SBiOSoftWhare
c05f6fd086 SwiftGen: Handle MatrixKit strings. 2021-11-29 17:25:31 +01:00
SBiOSoftWhare
3bd774211e NavigationStore: Update public method signature. 2021-10-08 17:15:14 +02:00
SBiOSoftWhare
c9be565b25 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
0908cffa71 Templates: Upate FlowTemplateCoordinator. 2021-10-06 16:59:56 +02:00
SBiOSoftWhare
fbbd4d7111 Use NavigationRouterStore where needed. 2021-10-05 10:48:52 +02:00
David Langley
bd4d9974a8 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
e6327eb955 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
9957f8f59a 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
4dd70594cc 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
c8a6130935 Fix template script for example 2 2021-09-21 09:55:44 +01:00
David Langley
62c528ecc0 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
d189c4d618 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
b51dbb1b63 Add chat example 2021-09-13 11:39:42 +01:00
David Langley
c890c831c5 Correct preview name and create template script 2021-09-08 00:00:34 +01:00
SBiOSoftWhare
2b29b416e7 Templates: Use struct instead of class for coordinator paramaters. 2021-09-07 09:59:57 +02:00
SBiOSoftWhare
11e02363b5 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
e10b8a42af Templates: Use Protocol suffix instead of Type for protocols. 2021-09-06 18:21:21 +02:00
SBiOSoftWhare
aca5a90d0c Templates: Support screen push and input parameters class in flow template. 2021-09-06 18:13:24 +02:00
SBiOSoftWhare
52e623d7cf Templates: Add input parameters class to TemplateScreenCoordinator. 2021-09-06 18:10:24 +02:00
David Langley
ada377dcf2 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
199709978a #4746 - Updated ScreenTemplate to include viewState in the viewModel. 2021-08-26 17:48:24 +03:00
SBiOSoftWhare
8bbc77614e postGenCommand.sh: Add comments. 2021-07-30 17:28:52 +02:00
Doug
cec15f8f1d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug
a4075c89cb 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
239176067e Update template copyright date 2021-07-09 09:08:42 +01:00
SBiOSoftWhare
64969e161a buildRelease.sh: Remove duplicated code. 2021-05-18 16:03:32 +02:00
SBiOSoftWhare
aaad54a1cd buildRelease.sh: Make bundler operations in the cloned repository folder. 2021-05-18 15:51:25 +02:00
ismailgulek
41cf7d397a Update bridge presenter template to auto-implement dismiss gesture 2021-05-12 01:09:28 +03:00
manuroe
e0ca35cacc XcodeGen: Explain what is the new .sh 2021-02-05 09:34:06 +01:00
manuroe
c6306dad40 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
bfb6a5db51 FlowTemplateCoordinatorBridgePresenter: Update class comment. 2020-09-24 12:15:36 +02:00
manuroe
ca907e9ecb 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
0c00f932a8 Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
manuroe
84719df5b8 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
b779cf33ae Remove unused script. 2020-09-01 14:23:37 +02:00
SBiOSoftWhare
85672dd333 Update buildRelease script. 2020-08-28 12:11:46 +02:00
SBiOSoftWhare
29019e6cc1 Contributing: Update contributing guide and use Markdown. 2020-08-24 14:40:04 +02:00
ismailgulek
bf14328746 Read repo url and name from current git repo 2020-08-05 15:10:26 +03:00