Esempio n. 1
0
        public static void Init()
        {
            var bundleClass = ObjCExtensions.GetMetaClass("NSBundle");

            bundleClass.AddMethod(selEtoLoadNibNamed, new Func <IntPtr, IntPtr, IntPtr, IntPtr, bool> (EtoLoadNibNamed), "B@:@@");
            bundleClass.ExchangeMethod(selLoadNibNamed, selEtoLoadNibNamed);
        }
Esempio n. 2
0
        public static void Init()
        {
            var bundleClass = ObjCExtensions.GetMetaClass("NSBundle");

            bundleClass.AddMethod(selEtoLoadNibNamed, EtoLoadNibNamed_Delegate, "B@:@@");
            bundleClass.ExchangeMethod(selLoadNibNamed, selEtoLoadNibNamed);
        }