Git Product home page Git Product logo

dispatchkit's People

Contributors

anpol avatar elvishjerricco avatar stefreak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dispatchkit's Issues

Cheat sheets are members of the DispatchKit target

Problem

The cheat sheet files are being compiled into the DispatchKit framework.

Solution

Remove them from the DispatchKit target. Pretty simple fix. Just uncheck a box for each file.

screen shot 2015-12-08 at 12 22 00 pm

Should be

screen shot 2015-12-08 at 12 22 30 pm

for CheatSheet.swift and CheatSheet.m

Compile failed in Xcode 7.2

Command failed due to signal: Segmentation fault: 11

Here is the detail:
CompileSwift normal arm64 /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueue.swift
cd /Users/zzy/Downloads/DispatchKit-master
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSourceType.swift -primary-file /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueue.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQOSClass.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchGroup.swift /Users/zzy/Downloads/DispatchKit-master/Sources/Bridge.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchDataScale.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueueAttr.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSemaphore.swift /Users/zzy/Downloads/DispatchKit-master/Sources/Dispatch.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchIO.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchTime.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchObject.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchData.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSource.swift -target arm64-apple-ios7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -I /Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos -F /Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos -enable-testing -g -module-cache-path /Users/zzy/Downloads/DispatchKit-master/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-generated-files.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-own-target-headers.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-project-headers.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos/include -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DerivedSources/arm64 -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/zzy/Downloads/DispatchKit-master -emit-module-doc-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueuepartial.swiftdoc -Onone -module-name DispatchKit -emit-module-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueuepartial.swiftmodule -serialize-diagnostics-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.dia -emit-dependencies-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.d -emit-reference-dependencies-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.swiftdeps -o /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.o

0 swift 0x0000000111d76fbb llvm::sys::PrintStackTrace(sFILE) + 43
1 swift 0x0000000111d776fb SignalHandler(int) + 379
2 libsystem_platform.dylib 0x00007fff83891eaa sigtramp + 26
3 libsystem_platform.dylib 0x0000000000000003 sigtramp + 2088165747
4 swift 0x000000010ff442ab swift::irgen::emitPolymorphicArguments(swift::irgen::IRGenFunction&, swift::CanTypeWrapperswift::SILFunctionType, swift::CanTypeWrapperswift::SILFunctionType, llvm::ArrayRefswift::Substitution, swift::irgen::WitnessMetadata
, swift::irgen::Explosion&) + 587
5 swift 0x000000010ff90eac (anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 2172
6 swift 0x000000010ff829ad swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction
) + 10973
7 swift 0x000000010fee9053 swift::irgen::IRGenModuleDispatcher::emitLazyDefinitions() + 307
8 swift 0x000000010ff6949a performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl
, swift::SILModule_, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile_, unsigned int) + 1034
9 swift 0x000000010ff69830 swift::performIRGeneration(swift::IRGenOptions&, swift::SourceFile&, swift::SILModule_, llvm::StringRef, llvm::LLVMContext&, unsigned int) + 64
10 swift 0x000000010fe68265 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef, int&) + 13701
11 swift 0x000000010fe64ad3 frontend_main(llvm::ArrayRef<char const*>, char const_, void_) + 2691
12 swift 0x000000010fe61154 main + 2324
13 libdyld.dylib 0x00007fff8b68b5ad start + 1
14 libdyld.dylib 0x000000000000004d start + 1956072097
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSourceType.swift -primary-file /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueue.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQOSClass.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchGroup.swift /Users/zzy/Downloads/DispatchKit-master/Sources/Bridge.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchDataScale.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueueAttr.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSemaphore.swift /Users/zzy/Downloads/DispatchKit-master/Sources/Dispatch.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchIO.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchTime.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchObject.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchData.swift /Users/zzy/Downloads/DispatchKit-master/Sources/DispatchSource.swift -target arm64-apple-ios7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -I /Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos -F /Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos -enable-testing -g -module-cache-path /Users/zzy/Downloads/DispatchKit-master/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-generated-files.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-own-target-headers.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DispatchKit-project-headers.hmap -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Products/Debug-iphoneos/include -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DerivedSources/arm64 -Xcc -I/Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/zzy/Downloads/DispatchKit-master -emit-module-doc-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueuepartial.swiftdoc -Onone -module-name DispatchKit -emit-module-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueuepartial.swiftmodule -serialize-diagnostics-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.dia -emit-dependencies-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.d -emit-reference-dependencies-path /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.swiftdeps -o /Users/zzy/Downloads/DispatchKit-master/Build/Intermediates/DispatchKit.build/Debug-iphoneos/DispatchKit.build/Objects-normal/arm64/DispatchQueue.o

  1. While emitting IR SIL function @TToFFV11DispatchKit13DispatchQueue11setSpecificuRq_S_14DispatchCookie_FS0_FTGVSs13UnsafePointerT__GSqq___T_U0_FGVSs20UnsafeMutablePointerT__T for expression at [/Users/zzy/Downloads/DispatchKit-master/Sources/DispatchQueue.swift:82:66 - line:84:9] RangeText="{ ptr in
    release(ptr)
    }"

Carthage Support

Love the look of this library! I hate having the ugly, C-style code mixed in with my fancy Swift code. I only use Carthage for package management in my current project.

Would it be possible to see DispatchKit updated to support Carthage?

https://github.com/Carthage/Carthage

Failable Initializers

As mentioned here, it would be best to use failable initializers instead of optional dispatch objects. However, there are a few methods / initializers which (especially in DispatchData.swift) where it is not clear whether the method / initializer should fail, or return an optional or an implicitly unwrapped optional. The goal of this issue is to determine how each of these methods / initializers should behave.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.