Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove INSObject::Ownership #90

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Remove INSObject::Ownership #90

merged 1 commit into from
Dec 20, 2021

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Dec 19, 2021

Instead, it is present on the types that actually need it. This is in preparation for bigger changes to objc2-foundation, see #58.

Instead, it is present on the types that actually need it. This is in preparation for bigger changes to objc2-foundation, see #58.
@madsmtm madsmtm added the enhancement New feature or request label Dec 19, 2021
Comment on lines +9 to +21
### Added
* **BREAKING**: Added associated `Ownership` type to `NSCopying`.
* **BREAKING**: Added associated `Ownership` type to `INSData`.
* **BREAKING**: Added associated `Ownership` type to `INSArray`.

### Changed
* **BREAKING**: Made some creation methods a bit less generic (e.g.
`INSDictionary::from_keys_and_objects` now always returns `Id<_, Shared>`).

### Removed
* **BREAKING**: Removed associated `Ownership` type from `INSObject`; instead,
it is present on the types that actually need it (for example `NSCopying`).

Copy link
Owner Author

Choose a reason for hiding this comment

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

These are not the most detailed logs for such a change, but they're gonna get rewritten by other changes anyhow

@madsmtm madsmtm marked this pull request as ready for review December 20, 2021 19:09
@madsmtm madsmtm merged commit f921afa into master Dec 20, 2021
@madsmtm madsmtm deleted the nsobject-ownership branch December 20, 2021 19:11
@madsmtm madsmtm mentioned this pull request Jan 10, 2022
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant