Commit Graph

157 Commits

Author SHA1 Message Date
Max Desiatov 7e0e480637
Add GluonNavigationController, simplify type names 2019-01-04 12:54:21 +00:00
Max Desiatov 3c27aa41b8
Fix linter error 2019-01-04 11:26:27 +00:00
Max Desiatov 089b8c9ae5
Fixes for StackPresenter 2019-01-04 09:35:03 +00:00
Max Desiatov 2be300ec68
Fix unmounted children bug, refine modal example 2019-01-04 09:08:46 +00:00
Max Desiatov 0c9bad0c07
Add Router protocol, refine Node extensions 2019-01-03 12:24:33 +00:00
Max Desiatov bc0c880fcf
Rename {Stack,Tab}Navigator: {Stack,Tab}Presenter 2019-01-03 07:58:09 +00:00
Max Desiatov 0340e58198
Add a comment about limitations in Swift generics 2019-01-02 21:50:00 +00:00
Max Desiatov 4d649aa63a
Add empty UIControllerComponent protocol 2019-01-02 21:40:10 +00:00
Max Desiatov fada75ae07
Bugfixes and refinements for StackNavigator demo 2019-01-02 18:50:26 +00:00
Max Desiatov cd2596d7c5
Add LayoutBox subclass of ViewBox<UIView> 2019-01-01 21:45:42 +00:00
Max Desiatov 294c63ae03
Implement Presenter host component in GluonUIKit 2019-01-01 19:58:50 +00:00
Max Desiatov 830d58b6aa
Store viewController in ViewBox, split its file 2019-01-01 18:17:00 +00:00
Max Desiatov 711e7be388
Fix bugs in GluonUIKit after transition to ViewBox 2019-01-01 17:32:42 +00:00
Max Desiatov b09285e1fe
Add ViewBox and make UIHostComponent use it 2019-01-01 15:20:11 +00:00
Max Desiatov acecc7586a
Cleanup GluonUIKit protocol names 2019-01-01 13:53:23 +00:00
Max Desiatov 61b099131c
Add Package.xcconfig, refine README.md and docs 2019-01-01 12:24:14 +00:00
Max Desiatov 46835802a9
Correctly apply Style props on both mount/update 2018-12-31 21:55:32 +00:00
Max Desiatov 9f8f8ff634
Add Style to Props of components targeting UIView 2018-12-31 20:59:13 +00:00
Max Desiatov 7111bfecdd
Rearrange Props types, add navigation components 2018-12-31 20:20:50 +00:00
Max Desiatov 2600077fd4
Add Navigator and Presenter properties to Hooks 2018-12-31 15:02:59 +00:00
Max Desiatov 013555cf8f
Add rootViewController argument to UIKitRenderer 2018-12-31 14:07:08 +00:00
Max Desiatov 74746771a0
Rename ComponentWrapper to MountedComponent 2018-12-31 12:11:27 +00:00
Max Desiatov 62dde168b6
Move makeComponentWrapper to ComponentWrapper file 2018-12-31 11:56:48 +00:00
Max Desiatov 373f5c1e59
Regenerate project file, fix GluonTests 2018-12-30 21:39:47 +00:00
Max Desiatov 66d71b47ac
Implement Label TextAlignment, fix default Button 2018-12-30 21:26:11 +00:00
Max Desiatov 6d109930e7
Fix tests and UIKitControlComponent handler rebind 2018-12-30 20:45:53 +00:00
Max Desiatov a5239e2c1f
Fix same incorrect id assigned within state hook 2018-12-30 19:38:39 +00:00
Max Desiatov f09a01e0c6
Add Slider to example code, fix unneeded remount 2018-12-30 18:15:46 +00:00
Max Desiatov 0ce3f9ed91
Prototype Slider base component for UIKit 2018-12-29 21:38:57 +00:00
Max Desiatov ad768442f4
Improve documentation, other cleanups 2018-12-29 18:13:35 +00:00
Max Desiatov 4f8dc6b79c
Rename Frame to Rectangle, cleanup Example code 2018-12-29 17:38:12 +00:00
Max Desiatov 7463e84e57
Apply SwiftFormat fixes 2018-12-29 17:01:17 +00:00
Max Desiatov cb1e0696cf
Add tests for updates/umounts, optimise reconciler 2018-12-29 16:49:31 +00:00
Max Desiatov 5de0931849
Fix formatting and add assertions in GluonTests 2018-12-29 14:50:07 +00:00
Max Desiatov 0d467edbf8
Add .swiftlint.yml and fix linter warnings/errors 2018-12-29 14:41:46 +00:00
Max Desiatov fd631af8a3
Cleanup assertions in TestRenderer 2018-12-29 14:01:33 +00:00
Max Desiatov a643f1716b
Fix StackReconciler not used as generic 2018-12-29 13:35:44 +00:00
Max Desiatov adbd9db0ba
Fix GluonUIKit after Renderer became PAT 2018-12-29 13:30:41 +00:00
Max Desiatov 1aa11c5012
Fix layout in Renderer doc comment 2018-12-29 13:18:11 +00:00
Max Desiatov da40750955
Make Renderer a PAT and StackReconciler generic 2018-12-29 13:18:00 +00:00
Max Desiatov 528e0293a4
Apply SwiftFormat fixes 2018-12-29 11:36:41 +00:00
Max Desiatov dd1063a3d9
Rearrange files between modules, add Frame struct 2018-12-29 11:35:56 +00:00
Max Desiatov 0ee581d1a9
Add TestRenderer implementation, empty GluonTests 2018-12-28 22:26:48 +00:00
Max Desiatov e4ea316b3a
Apply SwiftFormat changes 2018-12-28 21:54:16 +00:00
Max Desiatov 0ba1d1c616 Fix TestView and TestRenderer compiler errors 2018-12-26 20:03:30 +01:00
Max Desiatov dddd8b4692 Wrap props as AnyEquatable in TestRenderer 2018-12-26 19:53:45 +01:00
Max Desiatov e737a1a21a Fix subview removal in TestView.remove 2018-12-26 19:47:29 +01:00
Max Desiatov a3e4df4d96 Pass Null props in TestRenderer.init 2018-12-26 19:37:58 +01:00
Max Desiatov ca9b9697b6 Add remove(subview:) to TestView 2018-12-26 13:50:52 +01:00
Max Desiatov 81406bf501 Add more docs to TestView 2018-12-25 15:01:02 +01:00
Max Desiatov e0861934e6 Add properties and docs to TestView 2018-12-25 14:53:53 +01:00
Max Desiatov 2e1bf91655
Add Renderer protocol docs, empty TestRenderer 2018-12-24 22:02:29 +01:00
Max Desiatov 5e4cd27726
Add GluonTestRenderer target, bump iOS version 2018-12-18 13:27:37 +00:00
Max Desiatov 6a535f3824
Fix GluonUIKit build issues 2018-12-13 08:56:05 +00:00
Max Desiatov f04280c819
Add SwiftPM-generated project 2018-12-12 09:19:23 +00:00
Max Desiatov 595b0d41aa
Add Core and UIKit subspecs to Gluon.podspec 2018-12-10 10:04:54 +00:00
Max Desiatov 072c37f693
Change file layout to support SwiftPM 2018-12-07 11:21:37 +00:00