Skip to content

Beta 1 Mac changes for ModelIO, SpriteKit, MediaPlayer - #1681

Closed
timrisi wants to merge 1 commit into
dotnet:xcode8.3from
timrisi:xcode83-MacBeta1
Closed

Beta 1 Mac changes for ModelIO, SpriteKit, MediaPlayer#1681
timrisi wants to merge 1 commit into
dotnet:xcode8.3from
timrisi:xcode83-MacBeta1

Conversation

@timrisi

@timrisi timrisi commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

Comment thread src/mediaplayer.cs
NSString PropertyIsLiveStream { get; }

[iOS (10,3)]
[iOS (10,3)][Mac (10, 12, 3)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor no spaces between the versions for consistency (:

Comment thread src/modelio.cs
[iOS (10,3), TV (10,2), Mac (10,12,4)]
[Export ("setObject:forKeyedSubscript:")]
void SetObject ([NullAllowed] IMDLComponent obj, Protocol key);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Check with @VincentDondain (or his PR) IIRC there was a reason for those not being there

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Was about to comment: see #1601 (comment)

Comment thread src/modelio.cs

[iOS (10,3), TV (10,2), Mac (10,12,4)]
[Export ("setObject:forKeyedSubscript:")]
void SetObject ([NullAllowed] IMDLComponent obj, Protocol key);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs

#if XAMCORE_4_0
[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We check those are runtime so, in general ours are better than Apple.
When/if updating them we need to dig up the truth about the API availability. That means, minimally confirming the new values as correct.

Comment thread src/spritekit.cs
SKAttributeValue GetValue (string key);

[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs

#if XAMCORE_4_0
[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs
SKAttributeValue GetValue (string key);

[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs

#if XAMCORE_4_0
[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs
SKAttributeValue GetValue (string key);

[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs

#if XAMCORE_4_0
[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Comment thread src/spritekit.cs
SKAttributeValue GetValue (string key);

[iOS (9,0), Mac(10,11)]
[iOS (10,0), Mac(10,12)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

@VincentDondain

Copy link
Copy Markdown
Contributor

@timrisi alright so your MediaPlayer and SpriteKit changes are fine (except the availability attributes changes, see comments) but not the ModelIO ones, as we need to mark those selectors in xtro, see #1601 (comment)

Ideally this should become the SpriteKit PR and the 1 liner MediaPlayer availability attribute fix should go in a separate PR.

@VincentDondain

Copy link
Copy Markdown
Contributor

After talking to @timrisi I'm gonna take over his work (thanks for the SpriteKit changes).

I'm actually gonna reuse his branch on his fork timrisi:xcode83-MacBeta1 but I will create a new PR as I'm making the changes SpriteKit only.

I PRed his MediaPlayer changes in a separate commit already here: #1693

ModelIO didn't change as explained but I added the xtro ignores here: #1692

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.

5 participants