Commit Graph

155 Commits

Author SHA1 Message Date
Max Desiatov 48c1a67571
Update README.md 2019-06-13 15:01:47 +01:00
matvii bd700035e6
Migrate from travis to azure (#96)
* Migrate from travis to azure

* Make scripts executable

* Add codecov token

* Add fail key to lint.sh

* Add fail flag to codecov.sh

* Add azure status to README.md
2019-05-18 21:56:28 +03:00
Max Desiatov 0467084141
Endorse Swift 5.0 usage in Requirements section 2019-04-03 09:44:27 +01:00
Max Desiatov 36ec231b62
Fix formatting in README 2019-03-31 14:03:04 +01:00
Max Desiatov 24e2a58861
Cleanup README text 2019-03-29 12:44:56 +00:00
Max Desiatov d43339ff7c
Reorder imports in example code in README 2019-03-29 12:43:14 +00:00
Alex Reilly 9f61b1536e Update counter example with correct imports (#78)
`AnyNode` doesn't exist if `Tokamak` isn't imported.
2019-03-29 12:41:09 +00:00
Max Desiatov c815e87f0c
Cleanup code example in README 2019-03-25 10:49:41 +00:00
Max Desiatov 5079669f55
Improve wording and table of contents in README 2019-03-25 10:08:48 +00:00
Max Desiatov 90315e0ecd
Add NetworkDemo example code and GIF to README 2019-03-25 10:06:15 +00:00
Max Desiatov 8bf37d34bd
Fix wording in README 2019-03-24 14:50:20 +00:00
Max Desiatov 901e0f792a
Fix broken code in ConditionalCounter example 2019-03-20 11:08:53 +00:00
Max Desiatov 7d6107740a
Add "Why yet another React-like library?" section 2019-03-19 10:49:04 +00:00
Max Desiatov e21f50cd91
Update README code, add detailed steps for Example 2019-03-18 13:16:05 +00:00
Max Desiatov 7f7ccf26f9
Refine wording in leaf components section 2019-03-18 11:48:09 +00:00
Max Desiatov 7a385b5037
Clarify leaf components usage in README 2019-03-18 11:45:47 +00:00
Max Desiatov c3e546b7ff
Refine `StackRepeater` description in README 2019-03-18 11:44:02 +00:00
Max Desiatov 3ac47c809d
Add StackRepeater example to README 2019-03-18 11:40:33 +00:00
Max Desiatov 105ab0861f
Refine section naming in README 2019-03-18 10:54:43 +00:00
Max Desiatov 4ce726c6be
Update iOS version in README Podfile snippet 2019-03-18 10:53:04 +00:00
Max Desiatov f3630d2c68
Add link to Installation section in README ToC 2019-03-18 10:38:47 +00:00
Max Desiatov 300ac9293a
Cleanup CocoaPods instructions in README 2019-03-18 10:37:42 +00:00
Max Desiatov 399b6dae1b
Add CocoaPods instructions to README 2019-03-18 10:35:50 +00:00
Max Desiatov 7bda88c89a
Fix CHANGELOG, link gifs directly in README 2019-03-18 10:29:46 +00:00
Max Desiatov cf52265f07
Add CHANGELOG, update requirements in README 2019-03-18 10:08:35 +00:00
Max Desiatov ef65bc488a
Add link to Spectrum community in README 2019-03-15 09:56:57 +00:00
Max Desiatov cd5955cb63
Fix punctuation in README 2019-03-15 09:41:29 +00:00
Max Desiatov f42ffaa1a0
Add macOS demo GIF and notes to README 2019-03-14 14:20:12 +00:00
Max Desiatov 51e9bfa1cb
Update links and emails for tokamak.dev domain 2019-03-12 11:44:35 +00:00
Max Desiatov e70d6903c5
Add notes about macOS/AppKit support to README.md 2019-03-12 11:42:38 +00:00
Max Desiatov 07988ef72c
Add Spectrum link and badge to README 2019-02-28 08:42:36 +00:00
Max Desiatov d32bc3cd80
Fix README Travis badge not pointing to master 2019-02-25 12:28:47 +00:00
Max Desiatov d6abc1df55
Refine links in README and StandardComponents doc 2019-02-22 09:53:03 +00:00
Max Desiatov 1576c8eb74
Add link to Hooks section in README FAQ 2019-02-21 11:53:33 +00:00
Max Desiatov a7e7311d6d
Fix typo in README, add more links across sections 2019-02-21 11:51:05 +00:00
Max Desiatov 225b5e04bc
More links to local sections in README 2019-02-21 11:46:13 +00:00
Max Desiatov 8f247dd212
Add links to local sections in README 2019-02-21 11:45:26 +00:00
Max Desiatov 832ad4ce17
Improve README Props intro, cleanup constraints 2019-02-21 09:54:51 +00:00
Max Desiatov 669c8f9493
Refine README sections and wording 2019-02-20 10:10:47 +00:00
Max Desiatov 8b218ba2b8
Add .hound.yml, add commented Spectrum link to README 2019-02-18 15:41:57 +00:00
Max Desiatov c197701e36
Rename Gluon to Tokamak (#44)
* Rename Gluon to Tokamak
* Fix scheme in .travis.yml, fix storyboard
2019-02-18 10:54:49 +00:00
Max Desiatov 22cce69d3a
Add `ref` and `effect` hooks, `Updatable` protocol (#41)
This also cleans up and refines some of the `Example` code and removes unused `key` property from `AnyNode`, which greatly improves error-reporting of Swift type-checker when wrong props are passed to `node` function.

Resolves #10 
Resolves #9 
Resolves #16

* Add Ref class and RefComponent protocol
* Add AnyRef protocol, add ref to AnyNode.init
* Cleanup hooks, add Target class to Gluon module
* Fix tests, avoid optionality in Target class
* Improve doc comments on Hooks.effect overload
* Implement effects scheduling with finalizers
* Add HookedComponents protocol, Hooks as class
* Cleanup after rebased on `master`
* Fix tests failing after Hooks refactoring
* Remove `key` argument from AnyNode.init, cleanups
* Efficient Reduceable state fully working w/ tests
* Fix use of comments for Equatable AnyNode operator
* Cleanup comments in Hooks and MHC
* Add TimerCounter, fix host not unmounting children
* Rename Reduceable to Updatable, fix effects bugs
* Fix TestRenderer compilation issues
* Remove `print` remnants in Timer Example code
2019-02-18 09:00:20 +00:00
Max Desiatov 3715feefef
Add a note about Props being value types to README 2019-02-17 10:20:09 +00:00
Max Desiatov ee2af79dd0
Bump iOS requirements in README 2019-02-16 19:00:33 +00:00
Max Desiatov fb5d236846
Refine .swiftformat 2019-02-15 12:44:27 +00:00
Max Desiatov aa9592c836
Fix wording in README 2019-02-14 13:51:18 +00:00
Max Desiatov be15a30b3f
Fix wording in README 2019-02-14 13:48:05 +00:00
Max Desiatov 3620ca823d
Fix wording in README 2019-02-14 13:47:09 +00:00
Max Desiatov 3ecc5e5683
Add stability note to README 2019-02-14 13:45:01 +00:00
Max Desiatov 65264dc4b9
Bump code example link to the top in README 2019-02-14 10:20:03 +00:00
Max Desiatov dfe658fe5b
Fix section order in table of contents in README 2019-02-08 10:17:35 +00:00
Max Desiatov fb7fba591a
Add "Render function" section 2019-02-08 10:14:13 +00:00
Max Desiatov 98cf2a7be4
Update code example in README.md 2019-02-07 08:53:37 +00:00
Max Desiatov a789611b03
Refine README (intro points, links, wording) 2019-02-06 11:52:42 +00:00
Max Desiatov 399724ebac
Update standard components docs and fix links 2019-02-04 09:45:09 +00:00
Max Desiatov 7562a45ca4
Update standard components link in README 2019-02-03 19:12:06 +00:00
Max Desiatov 53ee7752e7
Add "Standard components" section to README.md 2019-02-03 19:10:36 +00:00
matvii ed4ac34bd9 Add Top, Bottom, Left, Right, Leading, Trailing constraints (#14)
* Add Top, Bottom, Left, Right, Leading, Trailing constraints
* Remove .own from Top, Bottom, Left, Right, Leading, Trailing constraints
* Add OffsetConstraint protocol to Bottom, Height, Leading, Left, Right, Top, Trailing, Width
* Add CenterX, CenterY, FirstBaseline, LastBaseline
* Update constraints protocol
* Add constrain example
* Apply swift format
* Delegate most of the remaining constraints
* Fix GluonTests module compilation errors
* Implement Center and .safeArea constraints
* Add {First,Last}Baseline, improve docs
2019-02-03 18:59:47 +00:00
Max Desiatov 6cb85ff02a Refine README.md intro text 2019-02-02 22:58:53 +00:00
Max Desiatov 2f589ed858
Update Rules of Hooks in README.md 2019-02-02 10:29:54 +00:00
Max Desiatov e02c2711cb
Update Rules of Hooks in README.md 2019-02-01 11:56:54 +00:00
Max Desiatov c14609193d
Refined usage docs in README 2019-01-31 11:15:52 +00:00
Max Desiatov 1ec2379b29
Add link to Marzipan in README 2019-01-23 12:56:58 +00:00
Max Desiatov 9279c4b70a
Fix for US spelling in README 2019-01-23 12:55:53 +00:00
Max Desiatov ab98ce7593
Fix wording README 2019-01-23 12:49:49 +00:00
Max Desiatov 4481c57499
Fix wording in README 2019-01-23 10:09:24 +00:00
Max Desiatov 297e43e971
Fix wording in README 2019-01-23 10:07:34 +00:00
Max Desiatov ad3496f5ed
Refine Rules of Hooks in README 2019-01-23 10:06:24 +00:00
Max Desiatov 25e795895d
Update maintainers list in README 2019-01-23 10:01:02 +00:00
Max Desiatov 27357eeb35
Update wording in README 2019-01-23 09:57:53 +00:00
Max Desiatov df3dd25644
Update platform requirements in README 2019-01-23 09:50:22 +00:00
Max Desiatov 0e0748fc5b
Update wording in README 2019-01-23 09:48:21 +00:00
Max Desiatov e2d91defd5
Fix Children description in README 2019-01-23 09:37:44 +00:00
Max Desiatov 751dd04e2f
Fix wording in README 2019-01-23 09:36:30 +00:00
Max Desiatov 1bedb49451
Update API intro in README 2019-01-23 09:35:14 +00:00
Max Desiatov 13e90cc79e
Improve docs, refine README 2019-01-20 20:27:03 +00:00
Max Desiatov 4000fbd155
Implement GluonViewController API, update example 2019-01-19 10:42:09 +00:00
Max Desiatov ab960ec3c5
Update constraints API and README 2019-01-18 09:29:25 +00:00
Max Desiatov ffccfab01e
Refine example code in README 2019-01-17 12:37:59 +00:00
Max Desiatov d3d6a18feb
Refine README 2019-01-17 10:58:46 +00:00
Max Desiatov 0fdc60823c
Refine README 2019-01-17 09:05:00 +00:00
Max Desiatov 2328e6544e
Fix wording and add more text to README 2019-01-17 08:30:40 +00:00
Max Desiatov d11031dce0
Fix HooksTests, refine README 2019-01-16 13:54:31 +00:00
Max Desiatov 214545158e
Refine wording in README 2019-01-16 09:50:17 +00:00
Max Desiatov 325491d39e
Refine README, add more tests 2019-01-16 09:33:26 +00:00
Max Desiatov f233bf9811
Update headline in README 2019-01-15 14:36:00 +00:00
Max Desiatov f8367ce662
Refine README 2019-01-15 14:24:20 +00:00
Max Desiatov bfe1562b49
Move Counter gif below the sample code in README 2019-01-15 12:18:32 +00:00
Max Desiatov 250adcaff0
Refine wording in README 2019-01-15 11:27:48 +00:00
Max Desiatov 6c3f3d9846
Hide CocoaPods badges from README 2019-01-15 11:21:39 +00:00
Max Desiatov 5000b12629
Refine wording in README 2019-01-15 11:20:45 +00:00
Max Desiatov ddbcc6729b
Refine README 2019-01-15 11:18:12 +00:00
Max Desiatov 7af60022fd
Add simple component gif, refine README 2019-01-15 11:17:36 +00:00
Max Desiatov 91cb56d3ac
Remove example from Children section in README 2019-01-15 09:41:43 +00:00
Max Desiatov 2356e9f7c6
Fix formatting in README 2019-01-15 09:36:14 +00:00
Max Desiatov e45eb5f573
Fix typo in README 2019-01-15 09:35:31 +00:00
Max Desiatov ef0054ee49
Fix typo in README 2019-01-15 09:27:55 +00:00
Max Desiatov 9d8b40f942
Add onPress to Button.Props, first draft of docs 2019-01-15 09:25:48 +00:00
Max Desiatov 61b099131c
Add Package.xcconfig, refine README.md and docs 2019-01-01 12:24:14 +00:00
Max Desiatov 05214b9d8f
Update email in README and CODE_OF_CONDUCT 2018-12-31 12:54:18 +00:00