Skip to content

Instantly share code, notes, and snippets.

View gist:9583748
//
// UIView+Debug.m
// Symbols
//
// Created by Khanov on 16/03/14.
// Copyright (c) 2014 Khanov. All rights reserved.
//
#import "UIView+Debug.h"
@rinatkhanov
rinatkhanov / KeychainQuery.swift
Last active Aug 24, 2017
Custom SSKeychainQuery subclass that supports keychain sharing on OS X
View KeychainQuery.swift
// KeychainQuery is OS X only.
#if os(OSX)
/// Custom SSKeychainQuery subclass that supports keychain sharing on OS X.
/// based on https://developer.apple.com/library/mac/documentation/Security/Conceptual/keychainServConcepts/03tasks/tasks.html#//apple_ref/doc/uid/TP30000897-CH205-BBCHEABI (Listing 3-2)
private class KeychainQuery: SSKeychainQuery {
/// Specify app paths to share keychain with.
/// No need to pass current app's path (which calls the code).
var sharedAppPaths: [String]?
You can’t perform that action at this time.