Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Alex Soto d8ace2658e [Contacts] Fix wrong delegate signature on CNContactStoreEnumerateContactsHandler (#22)
From PR https://github.com/xamarin/xamarin-macios/pull/19

The signature on  `CNContactStoreEnumerateContactsHandler` should
include a `ref`on the `bool stop` parameter in order to have the
ability to early exit the enumeration.

Ref: http://stackoverflow.com/questions/36992982/early-exit-a-cncontactstoreenumeratecontactshandler-enumeration
2016-05-03 12:03:41 -04:00
Oleg Demchenko 1ad1df2bd8 [Foundation] Add null check for Observer cback (#7)
* [Foundation] Add null check to Observer cback

* [Foundation] Rename parameter name from cback to observer
2016-04-28 14:19:45 -04:00
Vincent Dondain 8b400722fb [appkit] Add NSImage lazy initialization
We were missing initByReferencingFile: which initializes
the image object lazily.

The non working use case was:

var iconFile = NSBundle.MainBundle.PathForResource ("AppIcons", "icns");
NSApplication.SharedApplication.ApplicationIconImage = new NSImage (iconFile);

In this example, the constructor is calling initWithContentsOfFile: which will
not load the right icon from the .icns file.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=40349.
2016-04-27 11:07:48 -04:00
Rolf Bjarne Kvinge 56308e7eb6 [mmp/mtouch] Don't mkbundle anymore.
mtouch only uses Xamarin.Mac to read plists, so change to use
our purely managed plist reader in Xamarin.MacDev instead.

That makes us able to change mtouch to be a normal command-line
executable (and project).

Which makes it logical to not mkbundle mtouch anymore,
it executes just fine with the system mono (and there's
no code to protect anymore either).

And since mmp and mtouch share some files, do the same
for mmp.
2016-04-25 18:14:56 -04:00
Rolf Bjarne Kvinge da0ad7e88a Add some documentation to src/README. 2016-04-24 15:35:53 -04:00
Rolf Bjarne Kvinge 5830166c63 Build the platform assemblies. 2016-04-24 14:47:26 -04:00