Re: Multiple methods named 'compare:' found

2014-03-28 Thread Alex Zavatone
Would you consider comparing the type or class of the items in question first? On Mar 28, 2014, at 1:57 AM, Gerriet M. Denkmann wrote: > > On 28 Mar 2014, at 12:46, Quincey Morris > wrote: > >> On Mar 27, 2014, at 22:40 , Gerriet M. Denkmann wrote: >> >>> I do not want to switch off the war

Re: NSInteger/NSUInteger Considerations (64 bit)

2014-03-28 Thread Dave
On 28 Mar 2014, at 01:02, Jens Alfke wrote: > > On Mar 27, 2014, at 3:34 PM, Roland King wrote: > >> no difference, NSInteger, NSUInteger are just typedefs for underlying >> integral types > > On 32-bit iOS, int and NSInteger are both 32-bit, so there’s no difference. > On Mac OS (and 64-bi

Re: Multiple methods named 'compare:' found

2014-03-28 Thread altotest1
Call me on my mobile. From: Alex Zavatone Date: Friday, March 28, 2014 Subject: Re: Multiple methods named 'compare:' found To: Gerriet M. Denkmann Cc: Mailing Lists Would you consider comparing the type or class of the items in question first? On Mar 28 , 2014, at 1:57 AM, Gerriet M. De

Re: SQLite Question

2014-03-28 Thread Todd Heberlein
On Mar 28, 2014, at 9:19 AM, Dave wrote: > If I need to access SQLite Directly on Mac and iOS, do I need to include my > own SQLite Library or can I use the in-built SQLite? I've stuck with the built-in libraries in the past (at least for the Mac). The only caveat is that sometimes 3rd party

SQLite Question

2014-03-28 Thread Dave
Hi, If I need to access SQLite Directly on Mac and iOS, do I need to include my own SQLite Library or can I use the in-built SQLite? Cheers Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: SQLite Question

2014-03-28 Thread Laurent Cerveau
The usual sqlite API are available . The header is to be imported with #import laurent On Mar 28, 2014, at 5:19 PM, Dave wrote: > Hi, > > If I need to access SQLite Directly on Mac and iOS, do I need to include my > own SQLite Library or can I use the in-built SQLite? > > Cheers > Dave >

Re: NSInteger/NSUInteger Considerations (64 bit)

2014-03-28 Thread Rick Mann
The best thing is to code it up and try it. On Mar 28, 2014, at 06:47 , Dave wrote: > > On 28 Mar 2014, at 01:02, Jens Alfke wrote: > >> >> On Mar 27, 2014, at 3:34 PM, Roland King wrote: >> >>> no difference, NSInteger, NSUInteger are just typedefs for underlying >>> integral types >> >

Re: SQLite Question

2014-03-28 Thread altotest1
Sounds good. From: Laurent Cerveau Date: Friday, March 28, 2014 Subject: Re: SQLite Question To: Dave Cc: Cocoa dev The usual sqlite API are available . The header is to be imported with #import lau rent On Mar 28 , 2014, at 5:19 PM, Dave wrote: > Hi, > > If I need to access SQLite

Re: SQLite Question

2014-03-28 Thread Chris Hanson
On Mar 28, 2014, at 9:19 AM, Dave wrote: > If I need to access SQLite Directly on Mac and iOS, do I need to include my > own SQLite Library or can I use the in-built SQLite? You should use the SQLite that is part of the OS, and not build a separate version. The same goes for all the various p

Accelerate vBigNum adding in place

2014-03-28 Thread Gerriet M. Denkmann
I need something like: vU1024 a = ... vU1024 b = ... a += b can one do (A): vU1024Add( &a, &b, &a); or do I have to write (B): vU1024 temp; vU1024Add( &a, &b, &temp) ; memcpy(&a, &temp, sizeof(a) ); I tried (A) and it seems to work. But this could be some (undocumented) implementation detail, a

Re: SQLite Question

2014-03-28 Thread Kyle Sluder
On Fri, Mar 28, 2014, at 01:11 PM, Chris Hanson wrote: > You should use the SQLite that is part of the OS, and not build a > separate version. > > The same goes for all the various projects that are part of an operating > system: The versions included with a particular operating system can be > tu

Re: NSInteger/NSUInteger Considerations (64 bit)

2014-03-28 Thread Eric Wing
On 3/28/14, Rick Mann wrote: > The best thing is to code it up and try it. > I agree. And please share your findings. I coincidentally ran a similar experiment on iOS (iPad mini, 1st gen). I switched a non-optimized codebase using double as its floating type to float, and for the integer type fr

Having problems with the CoreImage CIPageCurlTransition filter

2014-03-28 Thread Kevin Meaney
Hi, I've setup a project for working with the CoreImage transition filters and I've been going through making sure they work, and apart from the last 2 they work. I can't get the backside image to appear on the back of the page being turned over for the (CIPageCurlTransition, CIPageCurlWithShad

Re: Having problems with the CoreImage CIPageCurlTransition filter

2014-03-28 Thread Kevin Meaney
Apologies, I've just tried this using the CIPageCurlWithShadowTransition filter and it works. It is just the non shadow one that doesn't work. Kevin On 28 Mar 2014, at 21:59, Kevin Meaney wrote: > Hi, > > I've setup a project for working with the CoreImage transition filters and > I've been

NSTableView Question

2014-03-28 Thread David Delmonte
I have two tableviews. On one, when I select a row, the background is fixed to that row (just what I wanted). On the second (same app), the background is only momentarily selected. Any ideas what I should look for? The views are created in NIBz, and the table view formats are both view-based co

Re: SQLite Question

2014-03-28 Thread Charles Srstka
On Mar 28, 2014, at 4:02 PM, Kyle Sluder wrote: > On Fri, Mar 28, 2014, at 01:11 PM, Chris Hanson wrote: >> You should use the SQLite that is part of the OS, and not build a >> separate version. >> >> The same goes for all the various projects that are part of an operating >> system: The version

Re: SQLite Question

2014-03-28 Thread Kyle Sluder
On Fri, Mar 28, 2014, at 04:51 PM, Charles Srstka wrote: > On Mar 28, 2014, at 4:02 PM, Kyle Sluder wrote: > > > On Fri, Mar 28, 2014, at 01:11 PM, Chris Hanson wrote: > >> You should use the SQLite that is part of the OS, and not build a > >> separate version. > >> > >> The same goes for all th

Re: SQLite Question

2014-03-28 Thread Charles Srstka
On Mar 28, 2014, at 6:55 PM, Kyle Sluder wrote: >> I certainly do remember seeing plenty of recommendations from Apple not >> to link against the provided libssl. However, the symbols in that library >> are all marked as deprecated in the headers. This does not seem to be the >> case for SQLite.

Re: Accelerate vBigNum adding in place

2014-03-28 Thread Ken Thomases
On Mar 28, 2014, at 9:03 AM, Gerriet M. Denkmann wrote: > I need something like: > > vU1024 a = ... > vU1024 b = ... > a += b > > can one do (A): > vU1024Add( &a, &b, &a); > > or do I have to write (B): > vU1024 temp; > vU1024Add( &a, &b, &temp) ; > memcpy(&a, &temp, sizeof(a) ); > > I tried (