mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #5] [MERGED] NSArray: Implement IList<NSObject> #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/claunia/plist-cil/pull/5
Author: @qmfrederik
Created: 5/22/2016
Status: ✅ Merged
Merged: 5/22/2016
Merged by: @claunia
Base:
master← Head:fixes/dotnetinterfaces📝 Commits (2)
df27f9dNSArray: Implement IList2bacfb7Update the parsing code to match to work with the new NSArray class📊 Changes
9 files changed (+255 additions, -36 deletions)
View changed files
➕
plist-cil.test/NSArrayTests.cs(+73 -0)📝
plist-cil.test/ParseTest.cs(+1 -1)📝
plist-cil.test/plist-cil.test.csproj(+4 -2)📝
plist-cil/BinaryPropertyListParser.cs(+1 -1)➕
plist-cil/NSArray.IList.cs(+139 -0)📝
plist-cil/NSArray.cs(+28 -24)📝
plist-cil/NSObject.cs(+7 -7)📝
plist-cil/XmlPropertyListParser.cs(+1 -1)📝
plist-cil/plist-cil.csproj(+1 -0)📄 Description
This PR makes
NSArrayimplementIList<NSObject>, just likeNSDictionaryimplementsIDictionary<string, NSObject>. It also changes the underlying storage from an array to aList<NSObject>, which makes operations like resizing the array more transparent.Feedback is welcome!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.