Skip to content

Instantly share code, notes, and snippets.

Anthony Drendel atdrendel

  • Microsoft
  • Berlin
Block or report user

Report or block atdrendel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@atdrendel
atdrendel / encodable-dictionary.swift
Created Aug 22, 2018
Encoding Dictionary<String, String>
View encodable-dictionary.swift
extension Dictionary where Key==String, Value==String {
struct DictCodingKey: CodingKey {
var stringValue: String
init(stringValue: String) {
self.stringValue = stringValue
}
var intValue: Int? { return nil }
init?(intValue: Int) { return nil }
}
@atdrendel
atdrendel / debug.xcconfig
Last active Mar 31, 2019
Xcode configuration for iOS, macOS, watchOS, and tvOS framework
View debug.xcconfig
// -*- SHARED -*-
SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator
COMBINE_HIDPI_IMAGES = YES
INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks
SKIP_INSTALL = YES
COPY_PHASE_STRIP = NO
IPHONEOS_DEPLOYMENT_TARGET = 11.0
MACOSX_DEPLOYMENT_TARGET = 10.12
TVOS_DEPLOYMENT_TARGET = 11.0
You can’t perform that action at this time.