Thanks to both of you.
Much appreciated.
On Jun 20, 2012, at 11:48 PM, Scott Ribe wrote:
> On Jun 20, 2012, at 11:00 PM, Michael de Haan wrote:
>
>> I thought perhaps of setting up 2 tableViews/searchFields and simply
>> toggling (hide/show) between the 2 databases.
>
> I think that's a fine al
On Jun 20, 2012, at 11:00 PM, Michael de Haan wrote:
> I thought perhaps of setting up 2 tableViews/searchFields and simply toggling
> (hide/show) between the 2 databases.
I think that's a fine alternative: simplest coding, uses more memory, whether
the difference is important to your app or no
On Jun 20, 2012, at 11:26 PM, Jens Alfke wrote:
>
> On Jun 20, 2012, at 11:00 PM, Michael de Haan wrote:
>
>> I would like to be able to "toggle" between the 2 databases using the same
>> interface( i.e. the same tableView and searchField)(The tableView in one
>> would need an extra column).
On Jun 20, 2012, at 11:00 PM, Michael de Haan wrote:
> I would like to be able to "toggle" between the 2 databases using the same
> interface( i.e. the same tableView and searchField)(The tableView in one
> would need an extra column). I thought perhaps of setting up 2
> tableViews/searchField
At work, we use 2 large totally separate databases to look up codes needed for
coding procedures.
I have written a simple app to present the data, using bindings. Implemented a
search-field (binding based) and all works well.
My question is one of an approach. (There is a paucity for this type of
Yeah it's even here:
If the receiver displays a pop-up menu, this method changes the current item to
be the item with the specified title, adding a new item by that name if one
does not already exist.
But when setUsesItemFromMenu: is set to NO I can make my own item so it works.
The last I di
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 = [[
> 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
The following is the old NSApplescript, which works to create array of mailbox
paths.
NSAppleScript *theScript = [[[NSAppleScript alloc]initWithSource:@"tell
application \"Mail\"\n set localMailboxes to every mailbox\n end
tell\n"]autorelease];
NSDictionary *theError;
NSAppleEventDescriptor *th
Invariably happens. I hesitate and agonize over whether to hit the ³send²
button, then promptly discover the solution. Apparently, I need to be using
³canReadItemWithDataConformingTpTypes² instead. However, it is still a
mystery to me as to why the other failed.
On 6/20/12 12:28 PM, "Gordon Ap
On Jun 19, 2012, at 10:19 PM, Dave Keck wrote:
>> Once you have a CFTypeRef via CFBridgingRetain(), ARC doesn't care what you
>> do with it. Convert it to and from uintptr_t, pass it through a void*, send
>> it around via IPC, whatever.
>
> That makes sense. I'm also looking for a pattern simi
I'm trying to convert code to use the new pasteboard methods, and having a
few issues. For private types, I need to use NSPasteboardItem because the
read/write protocols don't work for managed objects. (readObjects
automatically uses NSKeyedUnarchiver and I use a subclass to provide the
moc.) Th
12 matches
Mail list logo