Commit Graph

80 Commits

Author SHA1 Message Date
Max Howell
650fe56669 hang to synchronously obtain a promise’s value
Closes #116

Tag 1.3.0
2015-02-21 13:05:52 -06:00
Max Howell
ba4b32c40d Move xcodeproj to root
Delete demo project.

Make umbrella header @import required frameworks; Fixes #115
2015-02-19 12:54:27 -06:00
Max Howell
cde7fac0c6 Add Join to pod spec; Fixes #148 2015-02-19 12:12:47 -06:00
Max Howell
513fd2a1fb Fixes for Swift on OS X 2015-02-11 17:19:00 -06:00
Max Howell
d7fe582aaa Get pod spec version from pbxproj; Tag 1.2.3
Swift version depends on OMGHTTPURLRQ.
2015-02-11 14:06:04 -06:00
Max Howell
43222ae946 Tag 1.2.2 2015-01-31 01:06:19 -06:00
Max Howell
8a926fa102 Swift PromiseKit requires AssetsLibrary
Sadly.
2015-01-30 18:12:36 -06:00
Max Howell
bffb816540 Tag 1.2.1 2015-01-30 15:55:55 -06:00
mike.owens
2f0b982fce Adding Swift subspec for building PromiseKit as a Swift framework 2015-01-12 13:35:26 -08:00
Max Howell
ee3550edc1 Make the wait array method generic
AnyObject sucks, and isn’t all encompassing. Also generally if you don’t have two or three promises to wait on, you have a bunch of the same type that you mapped from something, so this makes sense IMO.

Also you can still use AnyObject as T.

Tag 1.2
2014-12-05 16:59:54 -06:00
Max Howell
21d0777b9c Merge pull request #117 from josejulio/master
Added CALayer+PromiseKit.
2014-12-05 16:56:05 -06:00
patricia.montalvo
4f16cdcef7 Added CALayer+PromiseKit.
Modified podspec.
2014-12-03 22:23:55 -06:00
Max Howell
b2172272fd Mark proxied Errors as consumed
Eventually an Error will not be proxied and if it is still not consumed with a catch we will log it.

Switched to NSLog as println is not thread-safe.

Tag 1.1
2014-11-27 10:37:01 -06:00
Max Howell
ce5e9bdfb0 Tag 1.0.3 2014-11-19 16:41:34 -06:00
Max Howell
f1406a237a Tag 1.0.2 2014-11-18 11:06:18 -06:00
Max Howell
bc1be6156a Revert "Revert "Xcode 6.1 GM fixes""
This reverts commit 3271427609.
2014-10-21 14:20:24 -05:00
Max Howell
3dca2f83c1 Version 1.0 2014-10-15 13:39:48 -05:00
Max Howell
80447ba3a7 Tests for until
Tag 0.9.21
2014-10-10 15:37:51 -05:00
Max Howell
bbd316aed6 Cleanup; Tag 0.9.20 2014-10-09 14:15:09 -05:00
Max Howell
67cde5a80a Set the urlResponse key to the urlResponse
Not the data.
2014-10-03 10:04:27 -05:00
Max Howell
0023d8e617 Tag 0.9.18
Closes #95
2014-09-29 10:39:25 -05:00
Max Howell
7f30652473 Xcode 6 fixes
Tag 0.9.17.1
2014-09-28 11:29:37 -05:00
Max Howell
0a3a6d8197 NSFileManager+PMKPromise 2014-09-08 13:15:53 -05:00
Max Howell
5d8445a8af Fix value when manifold was used 2014-09-05 16:45:38 -05:00
Max Howell
6d77e091ad Try to be severe in working around ARC issues
Refs #77
Refs #80
Refs #33

Tag 0.9.16.5
2014-09-05 12:38:25 -05:00
Max Howell
d6d38a00a0 Deprecated subspec warnings 2014-09-03 12:11:02 -05:00
Max Howell
288a5dda0d SKProductsRequest -> SKRequest
This is how it should have been to start with.
2014-08-30 17:22:35 -05:00
Max Howell
158c46a6ac ARC block/copy issues
This is worrying, but this copy fixes the crash.

I think we probably need to do more copies.

Fixes #77.
2014-08-29 23:05:22 -05:00
Max Howell
61528b47b2 Prevent compiler errors when using PMKManifold
Technically this happens whenever your block returns two different types, in those cases manually specify a return type of `id`.

Fixes #76

Tag 0.9.16.2
2014-08-22 10:17:26 -05:00
Max Howell
6859550174 Missing #imports
Tag 0.9.16.1
2014-08-20 14:49:53 -05:00
Max Howell
3ff86e357c NSTask+Promise
Tag 0.9.16
2014-08-20 11:22:47 -05:00
Max Howell
7be0a05fa6 Fix Mac use of PromiseKit
Tag 0.9.15.3

Fixes #74
2014-08-15 09:56:29 -05:00
Max Howell
53506aa0e4 Handle OS_OBJECT_USE_OBJC=0
The leak was because for targets < 5 CocoaPods added the define `OS_OBJECT_USE_OBJC=0` which made it our responsibility to deallocate `dispatch_queue_t`s.

We now check for OS_OBJECT_USE_OBJC and deallocate the dispatch queue in those circumstances, however I also boosted the minimum iOS deployment target to 6. I think this is reasonable in this day and age.

I kept OS X at 10.7 however, people still want to support 10.7. This means leaks may happen in various components that expect ARC but don’t realize some parts of Foundation require explicit releases etc.
2014-08-14 12:23:21 -05:00
Max Howell
d9b9cb0623 Don’t leak; Fixes #73
Tag 0.9.15.1
2014-08-14 09:46:36 -05:00
Max Howell
5572caceaa CloudKit+PromiseKit
Tag 0.9.15
2014-08-13 19:13:07 -05:00
Max Howell
e3907fb5e4 Use correct HTTP response string encoding
Tag 0.9.14.3
2014-08-09 15:45:52 -05:00
Max Howell
b0f3c4959e Use NSURLResponse’s -MIMEType
Removes ChuzzleKit dependency from PromiseKit.
2014-08-09 15:45:52 -05:00
Max Howell
265de18f2a Split into subspecs by class
More modular = more win.

Tag 0.9.14.2
2014-08-06 18:23:41 -05:00
Max Howell
44d0222bf0 Test for #68
Tag 0.9.14.1
2014-08-04 08:55:53 -05:00
Max Howell
49374826fa Make PMKManifold nil safe
Tag 0.9.14
2014-08-01 17:17:46 -05:00
Max Howell
470eeb7013 NSNotificationCenter +once: 2014-08-01 17:17:12 -05:00
Max Howell
0fdabb1a3d Fix UIImagePickerController crash
Apparently, using the C99 trick for stack allocating variable array sizes can fail or something. Use `malloc`.
2014-07-29 13:12:59 -05:00
Max Howell
a63056f625 Naming, proper header stuff; tag 0.9.13.1 2014-07-28 14:27:20 -05:00
Max Howell
4873c65242 Tag 0.9.13
Fix UIAnimation target
2014-07-21 09:25:29 -05:00
Max Howell
2bee739b9e +UIAnimation naming changes
I’m going with this because the original suggestion, though more logical, is just unwieldy. The animation methods are already enormous and making them longer is too unpleasant. This still is familiar and explicit due to the final `animations:` parameter.

Tag 0.9.12
2014-07-15 13:32:24 +01:00
Max Howell
f73597b95b PMKPromise+Timing 2014-07-15 13:23:52 +01:00
yoshida.masafumi
6a665f1db0 add default 2014-07-11 18:53:43 +09:00
yoshida.masafumi
167d5fca92 change header and podspec 2014-07-11 18:49:44 +09:00
Max Howell
f514e0c792 Tag 0.9.11.1 2014-07-07 12:13:42 -05:00
Max Howell
25f5836ab5 Remove @imports from public headers
Objective-C++ can’t hack it.

Fixes #51.

Tag 0.9.11.
2014-07-01 10:27:36 -05:00