Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add init methods for utilizing dispatch queues instead of run loops #15

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

ansel1
Copy link

@ansel1 ansel1 commented Feb 22, 2013

NOT REALLY READY FOR PRIMETIME!!

Just offering it for thoughts. It's pretty trivial to use dispatch queues vs run loops, so I thought I'd add some alternative init methods to expose the ability. It's pretty hacked though: there are no #defs checking for versions that support GCD, and some duplication, etc. Honestly, I'm very new to ObjC, Cocoa and C, so I'm not very good yet with all the slick macro stuff.

rastersize and others added 11 commits April 4, 2010 10:38
* release/1.1.2: (21 commits)
  Bumb version to 1.1.2.
  Fix lastEvent not getting set.
  compatibility shim, runtime checking example, file-level events ---------------------------------------------------------------
  validate project settings, update to xcode 3.2
  Fixed "missing base SDK".
  Fixed a bug in the CDEventsCallback(...) code which could cause the excludedURLs to be disregarded.
  Changed the lastEvent property of the CDEvents class to readonly in public and readwrite in private.
  Fixed a bug in the test app which could cause an exception to be raised.
  Fixed a lot of small formatting and cross reference errors in the API doc.
  Fixed a dup symbols bug properly, thanks to Kirk Kerekes.
  Defined MACOSX_DEPLOYMENT_TARGET to 10.5.
  Added some Xcode 4 stuff to the git ignore file.
  Revert "Changed two "const <type> <name>" constants to macros (they caused duplicate symbol linking errors when the header was included more than once for the same product)."
  Fixed small markdown error.
  Added still maintained image.
  Changed two "const <type> <name>" constants to macros (they caused duplicate symbol linking errors when the header was included more than once for the same product).
  Changed test application to use full CDEvents init method.
  Fixed missing __weak code mark in the delegate property declaration.
  Changed the compiler to LLVM 1.5.
  Marked CDEventsDelegate pointer as a weak pointer (for GC).
  ...

Conflicts:
	CDEvents.xcodeproj/project.pbxproj
* release/1.2.0: (32 commits)
  Bump copyright years.
  Change framework version to 1.2.0.
  Update podspec to 1.2.0.
  Add compile time check of ARC and blocks.
  Update Xcode project.
  Fix ARC setting in podspec.
  Add podspec by @dwlnetnl (rastersize#13).
  Remove link to GitHub messages.
  Correctly handle path that contains spaces
  Made CDEvents class create CDEvent objects with file URLs instead of normal URLs (allows easier comparison with NSURL objects returned by eg. NSFileManager)
  Update README.mdown
  Fix contributors URL.
  Change the authors section in the readme.
  Update readme with link to new website.
  Ignore "docs" directory.
  Update readme to reflect online documentation.
  Add license file.
  Add script to generate documentation using appledoc.
  Update the read me to reflect the new changes.
  Update the test app to be able to use blocks API.
  ...
@ansel1
Copy link
Author

ansel1 commented Feb 22, 2013

btw, I needed this for my own project only because I preferred not to maintain a dedicated thread and run loop for the event delivery.

@rastersize
Copy link
Owner

I’m looking at doing something similar to this in an updated version of CDEvents so thanks for sharing your code. The project requires OS X 10.6 so I don’t think your code would need any #defs.

rastersize and others added 5 commits July 2, 2013 21:43
1.2.0 - Requires ARC and blocks. Does not support GC.

* tag '1.2.0': (32 commits)
  Bump copyright years.
  Change framework version to 1.2.0.
  Update podspec to 1.2.0.
  Add compile time check of ARC and blocks.
  Update Xcode project.
  Fix ARC setting in podspec.
  Add podspec by @dwlnetnl (rastersize#13).
  Remove link to GitHub messages.
  Correctly handle path that contains spaces
  Made CDEvents class create CDEvent objects with file URLs instead of normal URLs (allows easier comparison with NSURL objects returned by eg. NSFileManager)
  Update README.mdown
  Fix contributors URL.
  Change the authors section in the readme.
  Update readme with link to new website.
  Ignore "docs" directory.
  Update readme to reflect online documentation.
  Add license file.
  Add script to generate documentation using appledoc.
  Update the read me to reflect the new changes.
  Update the test app to be able to use blocks API.
  ...
* release/1.2.1:
  Update podspec to 1.2.1.
  Change framework version to 1.2.1.
  Bump copyright year.
  Don't export flag macros.
  Fix whitespace.
  Fix typo: Inpired -> Inspired.
  Fix typo: wheter -> whether.
  fixed typo in code example.
  Fix an issue with the podspec license.
Fix a memory management issue and more.

* tag '1.2.1':
  Make properties explicitly strong.
  CDEvent should maintain strong references to its properties.
  Use relative import to allow compiling in other projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants