Re: iOS database within sandbox

2014-08-25 Thread BareFeetWare
/barefeettom/BFWQuery <https://github.com/barefeettom/BFWQuery> or: https://bitbucket.org/barefeetware/bfwquery Basically, you instantiate a query like this: BFWQuery* query = [[BFWQuery alloc] initWithDatabase:self.database queryString:@&

get class of a method

2015-02-22 Thread BareFeetWare
ivate methods in NSObject that will return the full syntax of the method header, but is as clueless as I am as to how they get the class: http://bou.io/ExtendedTypeInfoInObjC.html Any introspective answers out there? Thanks, Tom Tom Brodhurst-Hill BareFeetWare 👣 -- iPhone/iPad/iPod and

Re: get class of a method's returned object

2015-02-23 Thread BareFeetWare
Thank you all for your replies and for the clarification on my question. I have tweaked the subject of this email to hopefully avoid future confusion. That is disappointing that we can't seem to get the class of the returned object. It seems like a major omission. I wonder, then, how the _short

Re: get class of a method's returned object

2015-02-24 Thread BareFeetWare
d. Thanks, Tom Tom Brodhurst-Hill BareFeetWare 👣 -- iPhone/iPad/iPod and Mac software development, specialising in databases develo...@barefeetware.com -- Follow us on Twitter: http://twitter.com/barefeetware/ Like us on Facebook: http://www.facebook.com/BareFeetWare > On 24 Feb 201

Image file storage on iPhone/iPad

2010-05-31 Thread BareFeetWare
e SQLite column to be a blob containing the actual image data, but that will bloat the SQLite file size and necessitate much larger data transfer (eg copy whole database when just one entry changes). Any ideas welcome. Please reply to the list. Thanks, T

UIWebView HTML to match UITextView

2011-03-21 Thread BareFeetWare
few things like periods "." and parentheses "()" seem to use slightly different horizontal spacing (which creates a cumulative misalignment), and line wraps start in a different location. Thanks, Tom BareFeetWare ___ Coc

Re: UIWebView HTML to match UITextView

2011-03-21 Thread BareFeetWare
> On Mon, 21 Mar 2011 20:58:40 +1100, BareFeetWare > said: >> >> I'm trying to show text in a UIWebView to match exactly how it appears in a >> UITextView. Is there a standard library or subclass to do this? >> On 22/03/2011, at 2:59 PM, Matt Neuburg wro

Re: Exporting and Importing CoreData

2011-03-23 Thread BareFeetWare
are many tools for manipulating SQLite data on every platform, so it's easy to access the document elsewhere. Tom BareFeetWare -- Comparison of SQLite GUI tools: http://www.barefeetware.com/sqlite/compare/?ml ___ Cocoa-dev mailing list (Cocoa

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread BareFeetWare
iewStylePlain orUITableViewStyleGrouped). Return Value An initialized UITableViewController object or nil if the object couldn’t be created. Discussion If you use the standard init method to initialize a UITableViewController object, a table view in the plain style is created. Hope this helps, Tom

iOS multiple text colors in an editable text field

2010-12-09 Thread BareFeetWare
tabare.com/trace.html http://www.databare.com/column_trigger.html Thanks, Tom BareFeetWare ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)

Re: iOS multiple text colors in an editable text field

2010-12-11 Thread BareFeetWare
it's possible that some of these apps (which I haven't tried) actually only show color when not editing the text. Thanks, Tom BareFeetWare ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment

Re: iOS multiple text colors in an editable text field

2010-12-12 Thread BareFeetWare
ing glitches? Do you make the classes available? Thanks, Tom BareFeetWare ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: Stupid png icons

2011-01-06 Thread BareFeetWare
On 07/01/2011, at 3:04 AM, Matt Neuburg wrote: > GraphicConverter doesn't really have the cojones to do what you need done. > You want something that can use e.g. the greyness of each pixel in the > original image to determine the greyness of each pixel in the alpha mask. > Photoshop or GIMP wi

Re: Thumbs Lists

2011-01-06 Thread BareFeetWare
mage = [UIImage imageWithContentsOfFile:@"path/to/image.png"]; cell.textLabel.text = @"Magazine name"; return cell; } 5. Run it. That will give you a list containing thumbnail images. Tom BareFeetWare ___ Cocoa-dev mailing list (Cocoa-

Intercepting spawned URL requests from UIWebView and caching the response

2012-06-19 Thread BareFeetWare
Hi all, I'm trying to design a custom caching mechanism for a UIWebView. When the first URL request is loaded, it spawns further URL requests for loading graphics. As the user clicks links etc, it loads more URL requests. I can use a subclass of NSURLCache to intercept requests for cached data:

Re: Intercepting spawned URL requests from UIWebView and caching the response

2012-06-20 Thread BareFeetWare
> On Cocoa, You can intercept the WebView requests using a custom > NSURLProtocol. There is a fairly complete example here: > > http://stackoverflow.com/questions/3155359/in-webkit-how-do-i-get-the-content-of-a-resource Hi Jason, Thanks for your answer. Unfortunately, as you probably know, this

Re: Intercepting spawned URL requests from UIWebView and caching the response

2012-06-20 Thread BareFeetWare
On 20/06/2012, at 5:42 PM, 尹佳冀 wrote: >> The UIWebView sees the nil return (ie nothing cached) and so proceeds to >> load the URL itself. So now I have two processes loading the same URL: The >> web view and the custom caching mechanism > In this case you return a fake data, like fakeData = [[

Re: UITableView woes

2012-07-02 Thread BareFeetWare
e reply to the list, not me directly. Hope this helps, Tom Tom Brodhurst-Hill BareFeetWare -- iPhone/iPad/iPod and Mac software development, specialising in databases develo...@barefeetware.com -- Follow us on Twitter: http://twitter.com/barefe

Re: Scrollable GridView with fixed row and column

2013-10-15 Thread BareFeetWare
ew*)[container viewWithTag:scrollViewTag]; containerScrollView.contentOffset = scrollView.contentOffset; } } } Hope this helps, Tom Tom Brodhurst-Hill BareFeetWare 👣 -- iPhone/iPad/iPod and Mac software development, specialising in databases develo...@barefeetware.com -- Follow us on Twitter:

Re: Opinion: Core Data or roll my own?

2014-04-08 Thread BareFeetWare
SQL, you can create your own relationships and efficient database schema, which should perform better than CoreData. You can also change the data with method calls like: [database updateTable:@"Country" rowDict:@{@"Name":@"Oz"} whereDict:@{@

Re: Opinion: Core Data or roll my own?

2014-05-16 Thread BareFeetWare
On Apr 8, 2014, at 5:31 PM, BareFeetWare wrote: >> One option is to use SQLite. I've been putting together an open source >> "BFWQuery" library to hopefully simplify the whole thing, by letting you >> treat a database query just like an array of dictionar