Skip to content

Remove INSObject::Ownership#90

Merged
madsmtm merged 1 commit into
masterfrom
nsobject-ownership
Dec 20, 2021
Merged

Remove INSObject::Ownership#90
madsmtm merged 1 commit into
masterfrom
nsobject-ownership

Conversation

@madsmtm
Copy link
Copy Markdown
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
Copy Markdown
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