Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-15 Thread Mike Abdullah
On 15 Jul 2014, at 00:32, Jens Alfke j...@mooseyard.com wrote: On Jul 14, 2014, at 1:07 PM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: modifiableData = [ NSMutableData dataWithData: [ external call that gives me an NSData ] ]; It’s shorter and more idiomatic to just say

can I safely ignore Error: CGAffineTransformInvert: singular matrix?

2014-07-15 Thread 2551
I added a bannerView to a custom UI detailController view, wired it up to a property in the class's .h file then added self.canDisplayBannerAds = YES;j to my implementation file. The banner works fine, but I'm getting several instances of Error: CGAffineTransformInvert: singular matrix in

Re: can I safely ignore Error: CGAffineTransformInvert: singular matrix?

2014-07-15 Thread David Duncan
On Jul 15, 2014, at 8:00 AM, 2551 2551p...@gmail.com wrote: offered some good theoretical perspective, but if its correct, I'm not sure what I need to adjust. You don’t need to adjust anything, unless you were calling CGAffineTransformInvert with a singular matrix. This is a general case –

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-15 Thread Carl Hoefs
On Jul 15, 2014, at 1:45 AM, Mike Abdullah mabdul...@karelia.com wrote: Another possibility is to use dispatch_data. Rather than copy bytes around to assemble them into a contiguous buffer, your use case might be just as well suited to dispatch_data’s approach of tying together various

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-15 Thread Jens Alfke
On Jul 15, 2014, at 9:50 AM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: Awesome! I had been wondering if this concept existed in Cocoa, didn't see it in the NSData docs. It's sort of like using iovec structs with readv/writev for sockets. I would primarily use the

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-15 Thread Kyle Sluder
On Jul 15, 2014, at 10:20 AM, Jens Alfke j...@mooseyard.com wrote: On Jul 15, 2014, at 9:50 AM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: Awesome! I had been wondering if this concept existed in Cocoa, didn't see it in the NSData docs. It's sort of like using iovec structs with

iBeacons - enter and exit?

2014-07-15 Thread Eric E. Dolecki
I have an application built and ready for iBeacon support. It's intention is to tell whether someone is in the office or not. I was planning on placing an iBeacon at the entrance to our office - and use that to tell my server who is in or out of the office. For fun. Well, if you walk into the

Re: iBeacons - enter and exit?

2014-07-15 Thread Joseph Dixon
You could definitely use a geofence. But iBeacons have a big advantage in power consumption. On Tue, Jul 15, 2014 at 4:19 PM, Eric E. Dolecki edole...@gmail.com wrote: So only if you have multiple interior locations covered... assuming when no beacons are detected that the person has left