Commit Graph

13 Commits

Author SHA1 Message Date
luigi-rosso
27de5abf4b Ios out of band
few bits to sort out
- [x] make our mix of simulator/emulator consistent, settling on emulator
- [x] passing the factory in works great for just in time asset decoding, but its not amazing when you want to decode ahead of time.
- [x] couple of places left to pass this function signature through. (Question) is there a neater way to get this done, feels a bit like we are going back to parameter explosion a bit?
- [x] should do a few examples, i think the complexity grows quite a bit in this one as you add caching, or callbacks
- [x] should get the cached images/fonts to draw on init as well, either warming up cache, or jitting
- [x] examples loading assets from the bundle (also there seem to be actual asset things too? should we use those?!)
- [x] add test
- [x] re-add "preview" project & rev the preview project once this has been deployed. (do this after new ios deploy)
- [x] fix up race condition (see comment)

https://github.com/rive-app/rive/assets/1216025/2c14330f-e8a4-481b-bc27-4807cabe3b82

(simple example, both swift ui and standard)

![CleanShot 2023-11-20 at 16 54 59](https://github.com/rive-app/rive/assets/1216025/a71e207c-30ad-44dd-9e4b-ad7431b22186)

Diffs=
fabb7f97f Ios out of band (#6232)

Co-authored-by: Gordon Hayes <pggordonhayes@gmail.com>
Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
2023-12-05 21:23:08 +00:00
csmartdalton
627ecee71c Update ObjC formatting to look more similar to the C++
Also update the auto formatter to run on *.m and *.mm files, and effectively ban breaking on return types entirely, as I think this is ugly.

Diffs=
c7d125c7d Update ObjC formatting to look more similar to the C++
2023-02-15 17:24:57 +00:00
Michael Reed
ff4bccfd6b Revert "Revert "Only exposes instances""
This reverts commit a6026b7a56.
2022-05-01 17:01:49 -04:00
Michael Reed
a6026b7a56 Revert "Only exposes instances"
This reverts commit 3b48a9abe0.
2022-04-30 14:34:31 -04:00
Mike Reed
3b48a9abe0 Only exposes instances 2022-04-29 16:01:04 -04:00
Maxwell Talbot
bf453905d3 update ios target to 11, remove missing files from xcodeproj, build skia 2022-03-09 19:19:55 +00:00
Arthur Vivian
0daa4fe2f3 Add NSError errors in place of NSException 2021-06-24 20:14:11 +01:00
Maxwell Talbot
45738cf214 adding tests for loading state machines 2021-05-11 15:58:44 +01:00
Maxwell Talbot
58ea5efd45 added load artboard tests 2021-05-11 15:29:24 +01:00
Maxwell Talbot
631f160aa0 moved m->mm & fixed up tests, removed duplicate test 2021-05-11 10:09:58 +01:00
matt Sullivan
cfad40ee81 Adds state machine interface to cpp 2021-05-03 15:28:37 -07:00
matt Sullivan
9099cac839 Adds linear animation tests 2021-04-30 17:42:49 -07:00
matt Sullivan
967050e983 Adds RiveFile and RiveArtboard tests 2021-04-30 16:45:52 -07:00