bevy/examples/ios
Carter Anderson b6a647cc01 default() shorthand (#4071)
Adds a `default()` shorthand for `Default::default()` ... because life is too short to constantly type `Default::default()`.

```rust
use bevy::prelude::*;

#[derive(Default)]
struct Foo {
  bar: usize,
  baz: usize,
}

// Normally you would do this:
let foo = Foo {
  bar: 10,
  ..Default::default()
};

// But now you can do this:
let foo = Foo {
  bar: 10,
  ..default()
};
```

The examples have been adapted to use `..default()`. I've left internal crates as-is for now because they don't pull in the bevy prelude, and the ergonomics of each case should be considered individually.
2022-03-01 20:52:09 +00:00
..
bevy_ios_example.xcodeproj Fix iOS CI (#3228) 2021-12-01 21:44:29 +00:00
ios-src An initial xcode setup for using xcode (#539) 2020-10-31 14:36:24 -07:00
src default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
.gitignore An initial xcode setup for using xcode (#539) 2020-10-31 14:36:24 -07:00
build_rust_deps.sh Fix iOS CI on Intel (for real this time) (#3232) 2021-12-02 07:44:40 +00:00
Cargo.toml Remove cargo-lipo from iOS ci job (#3671) 2022-01-17 21:43:44 +00:00
Makefile Fix iOS CI (#3228) 2021-12-01 21:44:29 +00:00