Local Storage (SQL Database) not working in my app built with XCode

2010-05-11 Thread Adam Thorsen
I've got a minimal browser app that is linked against the WebKit framework that I'm building with XCode. I'm developing a website that uses some HTML5 local storage features, including the ability to create a local SQL database. This site works properly in in Safari and Chrome, but I can't create

Re: WebKit Caching

2009-04-11 Thread Adam Thorsen
ot;Disable Caches" menu item under the "Develop" menu in Safari that I would basically like to emulate. It appears to work flawlessly, so I know there must be a way. On Apr 10, 2009, at 1:29 PM, Greg Guerin wrote: Adam Thorsen wrote: Load a page that includes a javascript

Re: WebKit Caching

2009-04-10 Thread Adam Thorsen
ith WebKit development tend to hang out on the webkitsdk-dev list, so you might have better luck with your question there. -Jeff On Apr 10, 2009, at 1:09 PM, Adam Thorsen wrote: Jeff, Thanks for the response. These techniques do not appear to affect how WebKit caches javascript resources. Th

Re: WebKit Caching

2009-04-10 Thread Adam Thorsen
, 2009, at 11:27 AM, Adam Thorsen wrote: I would like to prevent a WebKit WebView from caching certain content. I've attempted to prevent this using several approaches, including: 1. Overriding the NSURLCache cachedResponseForRequest and cachedResponse forRequest methods 2. Han

WebKit Caching

2009-04-10 Thread Adam Thorsen
I would like to prevent a WebKit WebView from caching certain content. I've attempted to prevent this using several approaches, including: 1. Overriding the NSURLCache cachedResponseForRequest and cachedResponse forRequest methods 2. Handling -(NSURLRequest *)webView:(WebView *)sender r

UTI Example

2008-08-22 Thread Adam Thorsen
Are there any examples of using the UTI API to determine the UTI given a path to a file? Thanks, -Adam ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Storing an unsignedLongLong

2008-06-21 Thread Adam Thorsen
I'm attempting to store an unsigned long long (stored in memory in an NSNumber) in user defaults, but it appears to be truncated upon retrieval. This may have something to do with the fact that I'm using the setInteger method of NSUserDefaults to write the unsigned long long value. Howeve

uint64_t and NSNumber

2008-06-08 Thread Adam Thorsen
I'm trying to store a uint64_t in an NSNumber object, but when I try to retrieve the value of the object, I get 0. - (void)updateLastEventId:(uint64_t *) eventId { printf("eventId %llu \n", eventId); //This results in something like: lastEventId = [NSNumber numberWithUnsignedLongLon