MonoTouch 4.1.0 is part of our Beta Series that will lead up to MonoTouch 4.2.
As any other beta updates, you can install it by selecting the Beta channel on MonoDevelop and installing your MonoTouch package.
Device debugging is now done over the USB cable instead of Wi-Fi:
- To debug over USB, you will need MonoDevelop 2.6 RC 1 installed
- If you are using older MonoDevelop versions, it will continue to use WiFi
This solves the problems that users had with WiFi configurations between their Macs and their iOS devices and removes all the configuration components from the development process (no need to configure the debugger on the device if you happened to have a separate network)
- Upgraded Mono engine to 2.10.4
- Working generic variance and generic virtual methods
Those CLR features are now supported on device.
Note: The mobile profile still won’t feature the .NET 4.0 variance change as those might cause unwanted regressions.
- Smaller applications based on our improved linker, see this blog post for details.
- MonoTouch.MessageUI.MFMessageComposeViewController now has .NET-style events.
- Improved diagnostics in error conditions, such as:
- When managed objects are collected but the objective-c object are still alive
- When objective-c types are missing from the executable due to improper linking
- Reduced memory allocation for per-assembly AOT structures slightly
Memory Retention/GC fixes:
- Fix UIControl retention problem when events were wired up
- Views are no longer retained if they were previously removed with RemoveFromSuperview ()
- UIGestureRecognizers can now remove targets
- The AOT compiler was incorrectly serializing some types and missing finalizer references.
- Fixes for sqlite3.dylib when running in the simulator on newer sdk releases
- Simulator is once again activated when running the application, this wasbroken after the XCode 4.1 update (#202).
- Added a default SynchronizationContext for the main UI thread so that you can use the TPL to schedule tasks which update the UI (#690944)
- LLVM fix for assemblies with hyphens (‘-’) in their name.
With this release, we know that Console.WriteLine does not output any messages to the Application output.