Skip to content

Instantly share code, notes, and snippets.

const string ExtensionProjectGuid = "{FEACFBD2-3405-455C-9665-78FE426C6842};{EE2C853D-36AF-4FDB-B1AD-8E90477E2198};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}";
const string WatchAppProjectGuid = "{FEACFBD2-3405-455C-9665-78FE426C6842};{D73F8E79-B4DD-4AB0-A767-D9FA3E2FE740};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}";
const string MainAppProjectGuid = "{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}";
AgentsCatalog.Mac.AppDelegate.DidFinishLaunching (notification={NSConcreteNotification 0x1007755b0 {name = NSApplicationDidFinishLaunchingNotification; object = <NSApplication: 0x109ac1490>; userInfo = {
NSApplicationLaunchIsDefaultLaunchKey = 1;
}}}) in /Users/olegoid/Projects/private-samples/ios9/AgentsCatalog/AgentsCatalog.Mac/AppDelegate.cs:15
ObjCRuntime.Messaging.void_objc_msgSend () in
AppKit.NSApplication.Run () in /Users/builder/data/lanes/1898/b4628a40/source/maccore/src/build/mac/mobile/AppKit/NSApplication.g.cs:916
AgentsCatalog.Mac.MainClass.Main (args={string[0]}) in /Users/olegoid/Projects/private-samples/ios9/AgentsCatalog/AgentsCatalog.Mac/Main.cs:15
diff --git a/ios9/AgentsCatalog/AgentsCatalog.Mac/AppDelegate.cs b/ios9/AgentsCatalog/AgentsCatalog.Mac/AppDelegate.cs
index 3d05c51..1765c78 100644
--- a/ios9/AgentsCatalog/AgentsCatalog.Mac/AppDelegate.cs
+++ b/ios9/AgentsCatalog/AgentsCatalog.Mac/AppDelegate.cs
@@ -1,18 +1,14 @@
using System;
-using Foundation;
using AppKit;
using CoreGraphics;
1. Method name should follow camel case
https://github.com/xamarin/private-samples/blob/master/ios9/SegueCatalog/SegueCatalog/ViewControllers/MasterViewController.cs#L18
2. Remove UIKit namespace, it was already added with 'using'
https://github.com/xamarin/private-samples/blob/master/ios9/SegueCatalog/SegueCatalog/Segue/AdaptableFormSheetSegue.cs#L48
3. Can be converted to lambda expression:
https://github.com/xamarin/private-samples/blob/master/ios9/SegueCatalog/SegueCatalog/Segue/CustomAnimationPresentationSegue.cs#L76
https://github.com/xamarin/private-samples/blob/master/ios9/SegueCatalog/SegueCatalog/Segue/CustomAnimationPresentationSegue.cs#L62
https://github.com/xamarin/private-samples/blob/master/ios9/SegueCatalog/SegueCatalog/Segue/CustomAnimationPresentationSegue.cs#L68
ChipmunkSample
Jumpy
LineaPRO
PhysicsSystem
EmployeeDirectory
FieldService
Tasky
xamarin-store-app
CoffeeFilter
MobileCRM
AsyncAwait
MultiThreading
TablesLists
TaskyPro
TipCalc
GLKeysES30
StandardControls
Tasky
TexturedCubeES30
BoxViewClock
SolitaireEncryption
WorkingWithFonts
ButtonCode
SolitaireEncryption
WorkingWithFonts
ButtonXaml
TabbedPageDemo
WorkingWithGestures
ClassHierarchy
AIDLDemo
DocumentCentricRelinquishIdentity
NavigationDrawer
ActionBarPullToRefreshSample
DoneBar
NineOldAndroidsTest
ActiveNotifications
DrawableTinting
NotePad-Mono.Data.Sqlite
ActivitySceneTransitionBasic
AVTouchSample
MetalImageProcessing
SimpleTextInput
CoreMidiSample
MetalTexturedQuad
SplitView
CustomInputStreamTest
MonoCatalog-MonoDevelop
SpriteTour
Footprint