Bug 43236 - NSTextContainer textView in X8B4 was changed to have variable weak/strong
Summary: NSTextContainer textView in X8B4 was changed to have variable weak/strong
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: Master
Hardware: PC Mac OS
: High normal
Target Milestone: (C10)
Assignee: Bugzilla
Depends on:
Reported: 2016-08-10 16:34 UTC by Chris Hamons
Modified: 2016-12-08 11:32 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Chris Hamons 2016-08-10 16:34:41 UTC
diff -ruN /Applications/Xcode8-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextContainer.h /Applications/Xcode8-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextContainer.h
--- /Applications/Xcode8-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextContainer.h 2016-07-11 05:26:54.000000000 +0200
+++ /Applications/Xcode8-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextContainer.h 2016-07-27 05:10:07.000000000 +0200
@@ -84,7 +84,11 @@
 @property BOOL heightTracksTextView;

 // Set/get the view which the container is drawn in.  Having a view is optional.
 @property (nullable, strong) NSTextView *textView;
+@property (nullable, weak) NSTextView *textView;

We need to figure out how to handle this.
Comment 2 Chris Hamons 2016-08-26 18:07:12 UTC
FWICT - The only way to get this is to parse the MachO header. This is based on your deployment target.
Comment 3 Chris Hamons 2016-12-06 19:10:25 UTC