Skip to content

Instantly share code, notes, and snippets.


Igor Castañeda Ferreira igorcferreira

View GitHub Profile
steventroughtonsmith / Info.plist
Created Oct 27, 2019
[Catalyst] Registering for & responding to AppleScript events in a Mac Catalyst app
View Info.plist
steipete /
Last active Aug 7, 2020
Using URLByResolvingBookmarkData on Mac Catalyst: Access sandboxed URLs after an app restart.

Here's what needs to be done in order to use security scoped bookmarks on Mac Catalyst:

  1. You need an entitlement: "" needs to be se to 1.

  2. Pass both NSURLBookmarkCreationWithSecurityScope and NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess when creating the bookmark.

Note: The headers mark these API as unavailable for iOS, and this indeed does only work on Mac and not iOS. However, Mac Catalyst really is a Mac app, so using these values is fine. In order to allow compilation, use following:

steventroughtonsmith / UIView+Tooltips.h
Last active Nov 14, 2020
WIP tooltips for Mac Catalyst
View UIView+Tooltips.h
// UIView+Tooltips.h
// Crossword
// Created by Steven Troughton-Smith on 13/09/2019.
// Copyright © 2019 Steven Troughton-Smith. All rights reserved.
#import <UIKit/UIKit.h>
ethanhuang13 /
Last active Nov 24, 2020
Symbolic link from to (Xcode 11.2)
mauimauer /
Last active Aug 29, 2017
Forward Wear Crashed to Smartphone/Tablet for reporting via Crashlytics (or other Crash Analytics solutions)

Send uncaught Exceptions from Android Wear to Android

This is a short Gist showing how I transmit any uncaught exceptions happening in the Wearable part of my App to the connected Smartphone/Tablet. This is necessary because Android Wear devices are not directly connected to the Internet themselves.


  • AndroidManifest.xml