@@ -28,7 +28,7 @@ by adding the following to your project's [`Cargo.toml`]:
28
28
29
29
``` toml
30
30
[dependencies .fruity ]
31
- version = " 0.1 .0"
31
+ version = " 0.2 .0"
32
32
```
33
33
34
34
### Feature Flags
@@ -38,17 +38,17 @@ Each module for a library or framework has its own
38
38
with the same name.
39
39
40
40
For example, this is how you enable the
41
- [ ` foundation ` ] ( https://docs.rs/fruity/0.1 .0/fruity/foundation/index.html )
41
+ [ ` foundation ` ] ( https://docs.rs/fruity/0.2 .0/fruity/foundation/index.html )
42
42
module:
43
43
44
44
``` toml
45
45
[dependencies .fruity ]
46
- version = " 0.1 .0"
46
+ version = " 0.2 .0"
47
47
features = [" foundation" ]
48
48
```
49
49
50
50
This feature transitively enables the
51
- [ ` objc ` ] ( https://docs.rs/fruity/0.1 .0/fruity/objc/index.html )
51
+ [ ` objc ` ] ( https://docs.rs/fruity/0.2 .0/fruity/objc/index.html )
52
52
feature/module.
53
53
54
54
## Goals
@@ -85,14 +85,14 @@ This is true for the following:
85
85
- ** Getting a static class.**
86
86
87
87
Getters like
88
- [ ` NSString::class ` ] ( https://docs.rs/fruity/0.1 .0/fruity/foundation/struct.NSString.html#method.class )
88
+ [ ` NSString::class ` ] ( https://docs.rs/fruity/0.2 .0/fruity/foundation/struct.NSString.html#method.class )
89
89
retrieve the class directly through its symbol. This is instantaneous,
90
90
especially when compared to calling into the Objective-C runtime via
91
91
[ ` objc_getClass ` ] ( https://developer.apple.com/documentation/objectivec/1418952-objc_getclass ) .
92
92
93
93
- ** Creating an ` NSString ` from a Rust string literal.**
94
94
95
- The [ ` nsstring! ` ] ( https://docs.rs/fruity/0.1 .0/fruity/macro.nsstring.html )
95
+ The [ ` nsstring! ` ] ( https://docs.rs/fruity/0.2 .0/fruity/macro.nsstring.html )
96
96
macro creates an ` NSString ` literal (i.e. ` @"string" ` ) at compile time. There
97
97
is no runtime dispatch/allocation/initialization cost.
98
98
0 commit comments