-
Notifications
You must be signed in to change notification settings - Fork 2
iOS Versions Support? #2
Comments
I haven't at all. Sorry! Under the hood it should be the same, but it would take a bit of work to get it to play nice with modern objective-c. Pull requests definitely welcome if you're interested in fixing it up. ^_^ |
I'll definitely take a stab at making this support iOS8 and iOS9 in a few weeks. Right now it definitely doesn't play nice with It cannot be used as a drop-in replacement for |
If we could manage to make this extend CLRegion on this line (https://github.com/cknadler/CKSquareRegion/blob/master/CKSquareRegion.h#L29) and then make the necessary updates to method names etc. to get that working we'd be A-OK. |
That sounds good to me. I'd definitely accept a pull request with that change. Thanks! 👍 |
Oof, this is a lot harder than I had hoped. There's a ton that needs to be done in order for this to not return an error when monitoring the region on iOS 8 and 9. We have to conform to NSCopying and NSSecureCoding. Even with that I can't get the damn thing to set anything besides its identifier when I instantiate a new square region. There should no longer be a radius so that's okay to be null, but the center should be printing out the center I am setting and it is not. Totally confused. |
It's like I'm setting center, but not the version of it that CLRegion prints out in the description? Which is enough for the manager to return an error when attempting to monitor it? If I give the class its own description method then I can successfully see the center point I had set previously. Problem is it seems not be the same center CLRegion checks out. When I do get it to plausibly set the right region, it shits the bed because the center is read only. |
Any chance you've touched this code in the last three years to double check if it still works with iOS 7, 8, and 9?
I'd love to use this.
The text was updated successfully, but these errors were encountered: