Commit Graph

81 Commits

Author SHA1 Message Date
Nikita Lipsky
205d9c0d6f Add resources component to multiplatform template (#2796) 2023-02-24 18:20:41 +02:00
Nikita Lipsky
5f08bfca16 Introduce Config.xсconfig (#2792)
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 21:27:38 +02:00
Nikita Lipsky
c998ec50fc Revert "Introduce Config.xconfig"
This reverts commit e9009fe9bb.
2023-02-23 20:57:01 +02:00
Nikita Lipsky
e9009fe9bb Introduce Config.xconfig
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 20:54:56 +02:00
Sebastian Aigner
8a635b6f96 ImageViewer: "Memories" view for ImageViewer, Stack-based Navigation, StateFlow-based Image Provider (#2789) 2023-02-23 20:31:15 +03:00
Nikita Lipsky
8ed753b1b9 Add iOS target to multiplatform template (#2788)
+ conform KMM wizard generated project structure and samples
2023-02-23 19:28:25 +02:00
Nikita Lipsky
6a56bdaa55 Copy templates to experimental as is ... (#2786)
... to add iOS target later
2023-02-22 19:38:22 +02:00
dima.avdeev
9e8a138a2f fix typo ChatViewController (#2768) 2023-02-20 18:54:52 +03:00
Sebastian Aigner
e34f9c93da Move examples to V2 Source Set Layout (#2765) 2023-02-20 11:00:19 +03:00
dima.avdeev
a1cb760b7c Compose inside SwiftUI example (#2755) 2023-02-19 20:03:59 +03:00
Nikita Lipsky
0d0c9f64d3 ImageViewer: use painterResource from resource library. (#2761) 2023-02-17 16:04:07 +02:00
Sebastian Aigner
0dfba6086b Visual refresh for experimental Image Viewer (#2748)
* Design changes; move to material3

* Use animations to move between different images

* More design changes, rounded corners and animations

* Introduce square gallery view, start with granularizing state management

* Introduce square gallery view, start with granularizing state management

* Make PreviewImage not depend on the whole gallery state

* Move in initialization logic from composition into launched effect

* Highlight currently selected image

* Hoist state for FullscreenImage TopAppBar
Move from Custom Implementation to Material App Bar, use color scheme from main page
Extract hardcoded colors to ImageViewerColors

* Provide floating action buttons with nicer colors

* Provide keyboard events via SharedFlow (remove passing around MutableState in the composable hierarchy as it may potentially violate UDF)
Commonize IOScope initialization

* Provide German translation in shared R-strings

* Move from immutable data classes to Compose-aware State Holders.

* Fix gradlew formatting issue?

* Regenerate gradle wrapper after Android Studio autoformatting debacle

* Resolve rememberCoroutineScope issue

* Provide mock name for remaining picture in repo

* Restore TEAM_ID in project.pbxproj

* Use emptyFlow as default to simplify nullability handling for external events

* Remove extraneous newline and unnecessary print statement

* Provide German translation in XML format
Consistently rename title to "My Memories"

* Remove commented-out code, cleanup rendundant modifiers
Make Title Bar use callbacks instead of accessing ViewModel directly
Add toggle & icon for list and grid view
2023-02-17 15:38:50 +02:00
Nikita Lipsky
de0a081c12 minesweeper: use painterResource from resource library. (#2760) 2023-02-17 15:27:37 +02:00
Nikita Lipsky
266253564a visual-effects experimental sample: use XML Vector Drawable for Compose logo and painterResource from resources library. (#2759) 2023-02-17 15:27:15 +02:00
Nikita Lipsky
50def5feb8 Use painterResource from resource library for widgets-galley. (#2757) 2023-02-17 14:50:28 +02:00
Oleksandr Karpovich
bc6d42ef44 Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
* Update versions in examples

* Add more scripts to validate example on android and k/js

* Add validateExamplesIos.sh

* Update CHANGELOG.md for 1.3.0

* check examples with 1.3.0-rc06

* Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0

* Update ComposeCompilerCompatibility (1.4.0)

* Update web/yarn.lock
2023-01-30 21:02:23 +01:00
Nikita Lipsky
fe3284aeb5 expemintal samples: add forgotten isStatic=true to cocoapods.framework configuration (#2634) 2023-01-13 22:05:29 +02:00
Nikita Lipsky
e3382dba2a Rename xcode projects to iosApp and remove ios run configurations (#2629) 2023-01-13 11:02:00 +02:00
Nikita Lipsky
e30aaf6371 Move chat-mpp to KMM project structure (#2620) 2023-01-10 15:33:31 +02:00
Nikita Lipsky
23e6c6ba4b Move Minesweeper to KMM project structure and load resources the same way for all platforms (#2619) 2023-01-10 12:38:34 +02:00
Lee Taehoon
d6ff80c062 Imageviewer Bitmap Filter for uikit (#2575) 2022-12-26 11:34:19 +03:00
Nikita Lipsky
55d97d0091 Move visual-effects sample to KMM structure and add Android/iOS targets (#2573)
* Put all samples to one with a simple navigation

* Move desktop dependencies to main.kt and Wave settings panel to a separate class

* Use common resource API instead of desktop only for RotatingWords

* Move project to KMM structure and add iOS/Android target

* Change year for Happy New Year!

* Correct README.md
2022-12-23 14:07:01 +02:00
dima.avdeev
327fa12651 fix imageviewer uikit (#2574) 2022-12-23 14:18:34 +03:00
Nikita Lipsky
c67820e07a Put visual-effects sample to experimental as is. (#2572)
To add Android/iOS targets later
2022-12-22 23:12:18 +02:00
dima.avdeev
a9ac7634cd Add uikit to experimental/examples/imageviewer (#2571) 2022-12-22 22:18:20 +03:00
dima.avdeev
590796ddb7 fix widgets gallery uikit target (#2555) 2022-12-12 15:13:25 +03:00
Nikita Lipsky
4987cbdc89 Move CodeViewer to KMM structure + add iOS target (#2544) 2022-12-08 16:20:33 +02:00
Nikita Lipsky
43eb4d1ed6 Add Resources.kt implementation for iOS (#2540) 2022-12-06 13:55:56 +02:00
Nikita Lipsky
4ac946cd06 Refactor todoapp-lite to follow KMM structure and add iOS target (#2536) 2022-12-05 14:34:33 +02:00
dima.avdeev
7fce8df5f7 fix examples with Kotlin Native issue (#2534)
Needs mavenCetral at root build.gradle.kts
2022-12-05 12:51:11 +03:00
Nikita Lipsky
4da9f8e79e Copy todoapp-lite to experimental examples as is (#2521)
to add iOS target later
2022-12-01 19:15:23 +02:00
Nikita Lipsky
0d6271c7a4 Copy codeviewer from examples to experimental/examples as is (#2508) 2022-11-28 12:24:07 +02:00
dima.avdeev
e8786ea73f Copy imageviewer to experimental/examples (#2500) 2022-11-25 17:33:42 +03:00
Nikita Lipsky
a917c5eb1d Extract plugins versions from root build.gradle.kts
as it was before
2022-11-23 20:01:37 +02:00
Nikita Lipsky
596e46fdff Refactor Widgets Gallery sample to use KMM structure and add iOS target (#2491)
Refactor Widgets Gallery sample to use KMM structure and add iOS target
2022-11-23 14:40:16 +02:00
dima.avdeev
b858998310 WebAssembly means "JS in browser with WebAssembly Skia" (#2487) 2022-11-22 15:58:46 +03:00
dima.avdeev
e900f561f2 update experimental/examples/falling-balls (#2486) 2022-11-22 11:26:57 +03:00
Nikita Lipsky
749c9119c1 Fixup for Falling Balls example: fix applicationId for Android 2022-11-21 13:42:35 +02:00
Nikita Lipsky
7bfe7df5d0 Fixup for Falling Balls example: remove jcenter() 2022-11-18 17:12:03 +02:00
Nikita Lipsky
d5ba2e924e Refactor FallingBalls MPP sample to follow KMM project structure. (#2478)
Refactor FallingBalls MPP sample to follow KMM project structure.

- as a result iOS target can be run and debugged using KMM IDE tooling.
2022-11-18 16:05:50 +02:00
Nikita Lipsky
85faea7243 Unify build.gradle.kts for experimental samples (#2445)
+ add Android traget for Minesweeper example
2022-11-04 13:24:32 +02:00
Nikita Lipsky
daafd804f8 Introduce defaultUIKitMain in compose library and use it from UIKit examples (#2426) 2022-10-23 14:51:36 +03:00
Nikita Lipsky
cf232b37a1 Temporally disable Kotlin native compiler verification for Chat example (#2423)
* Temporally disable Kotlin native compiler verification for Chat example

+ add Maven local repository to test the sample on dev versions

* settings.gradle.kts add mavenLocal

Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
2022-10-20 12:11:39 +03:00
dima.avdeev
8aca240b58 update uikit experimental examples 1.3.0-alpha01-dev824 (#2417) 2022-10-18 20:29:01 +03:00
dima.avdeev
c76f639d74 update compose version 1.2.0 in experimental samples (#2412) 2022-10-18 14:17:06 +03:00
dima.avdeev
09ee6b8bc7 todoapp and experimental to 1.2.0-rc02 2022-10-11 21:36:06 +04:00
dima.avdeev
500cad0982 chmod +x gradlew 2022-10-11 10:19:04 +04:00
dima.avdeev
06193c44ad update version in experimental uikit samples (#2377) 2022-10-10 19:26:37 +03:00
Igor Demin
76a77d288e Fix IDE examples (#2361)
- move intellij-plugin-with-experimental-shared-base into experimental examples (it still on Compose 1.0.0)
- remove usage of deprecated DesktopTheme
- add `[examples](experimental/examples)` to the main page
2022-10-05 16:07:36 +03:00
dima.avdeev
49e1065bb1 update gradle wrapper 7.5.1 (#2352) 2022-10-03 22:04:02 +03:00