Skip to content

Add NSSet and NSMutableSet#245

Merged
madsmtm merged 1 commit into
madsmtm:masterfrom
zleytus:nsset
Aug 29, 2022
Merged

Add NSSet and NSMutableSet#245
madsmtm merged 1 commit into
madsmtm:masterfrom
zleytus:nsset

Conversation

@zleytus
Copy link
Copy Markdown
Contributor

@zleytus zleytus commented Aug 17, 2022

NSSet and NSMutableSet have a lot in common with NSArray and NSDictionary, so they were relatively straightforward to add.

Part of #67.

Copy link
Copy Markdown
Owner

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this looks really nice!

I don't have time for it right now, but will review it in about a week

Comment thread objc2/src/foundation/mutable_set.rs
@zleytus zleytus force-pushed the nsset branch 3 times, most recently from fb6408f to 282b0f7 Compare August 17, 2022 17:46
Copy link
Copy Markdown
Owner

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out, I got a bit of time to do it now: Looks really nice, especially cool with the detailed examples!

Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/set.rs Outdated
Comment thread objc2/src/foundation/mutable_set.rs Outdated
@zleytus zleytus force-pushed the nsset branch 2 times, most recently from 44aa2ee to ade656c Compare August 20, 2022 19:37
Copy link
Copy Markdown
Owner

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, just one more thing then I think it's good to go

Comment thread objc2/src/foundation/mutable_set.rs Outdated
@zleytus
Copy link
Copy Markdown
Contributor Author

zleytus commented Aug 28, 2022

I just noticed this change 1b32385 for NSArray. NSSet has a similar test and I was wondering if I should make the same change.

@madsmtm
Copy link
Copy Markdown
Owner

madsmtm commented Aug 29, 2022

Yeah, NSSet seems to behave similarly on my old iPad, it would be nice if you did the same as in that commit

Copy link
Copy Markdown
Owner

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for your work and quick responses! (I'll merge as soon as CI finishes)

@madsmtm madsmtm mentioned this pull request Aug 29, 2022
34 tasks
@madsmtm madsmtm merged commit 9ab6bf3 into madsmtm:master Aug 29, 2022
madsmtm pushed a commit that referenced this pull request Jan 12, 2026
* It closes #245,
Increases the foreign-type version,
Adds a new example for showing raytracing capabilities in metal 3.
CI action version increase
code improvement in foreign_obj_type macro.
And adding several other needed features in the code.

* Increases the version of the Rust

* Build fix for mps module and a warning has been removed.

* fixing the build for stable

* cargo test fix

* a little doc

* All of the uniquely borrowed refrences removed.

* several warning fixed in the ratracing example, it was due to the recent change in the API

* All the modules now private again and only the mps one is public.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants