Skip to content

Commit

Permalink
fix: net6 iOS/tvOS build errors (#3129)
Browse files Browse the repository at this point in the history
Because of newly introduced native types in C#, UIKit nfloat was moved from System.nfloat to ObjCRuntime.nfloat.

Source: xamarin/xamarin-macios#13087
  • Loading branch information
cabauman authored Dec 30, 2021
1 parent 00b48d3 commit 03016d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

using Foundation;

using ObjCRuntime;
using UIKit;

namespace ReactiveUI;
Expand Down Expand Up @@ -318,4 +319,4 @@ protected override void Dispose(bool disposing)

base.Dispose(disposing);
}
}
}

0 comments on commit 03016d1

Please sign in to comment.