You may try the following, which is probably a hack:
In the dealloc method of the Database, do something like this:
- (void) dealloc {
NSCache* cache = self.cache;
dispatch_async(private_queue, ^{
cache = nil;
});
}
Now, if `cache_remove_with_block` executes on a different
I forgot to zero out the variable after cache is handed to the current
autorelease pool (after objc_autorelease(objc_retain(_cache));) so it did not
work.
On Oct 23, 2013, at 16:07, Andreas Grosam agro...@onlinehome.de wrote:
You may try the following, which is probably a hack:
In the
Hello,
In an iOS project, that is supposed to handle different kind of files,
I declared in Info.plist the types handled, with two UTI types, say
com.mycompany.typeA and com.mycompany.typeB. I also added the expected filename
extensions for the two, suppose it's .typeA and .typeB.
On 23 Oct 2013, at 13:08, Half Activist halfactiv...@gmail.com wrote:
Hello,
In an iOS project, that is supposed to handle different kind of files,
I declared in Info.plist the types handled, with two UTI types, say
com.mycompany.typeA and com.mycompany.typeB. I also added the
Here's the Info.plist section
keyCFBundleDocumentTypes/key
array
dict
keyCFBundleTypeExtensions/key
array
stringtypeA/string
/array
On Oct 23, 2013, at 6:17 AM, Half Activist halfactiv...@gmail.com wrote:
Here's the Info.plist section
keyCFBundleDocumentTypes/key
array
dict
keyCFBundleTypeExtensions/key
array
stringtypeA/string
/array
On Oct 23, 2013, at 6:17 AM, Half Activist halfactiv...@gmail.com wrote:
Here's the Info.plist section
keyCFBundleDocumentTypes/key
array
dict
keyCFBundleTypeExtensions/key
array
stringtypeA/string
/array
Sorry, here is the exported type section.
keyUTExportedTypeDeclarations/key
array
dict
keyUTTypeConformsTo/key
array
stringpublic.xml/string
/array
I blogged about themeing NSTableView a while ago:
http://orangejuiceliberationfront.com/themeing-nstableview/
That lists all the steps for changing highlight and other colors. Did you not
see that via Google? Does that not work for you for some reason? I have a
shipping application that uses
On Oct 23, 2013, at 08:41 , Half Activist halfactiv...@gmail.com wrote:
here is the exported type section
Reading UTI plists makes my head hurt, so I may be getting this wrong, but it
looks to me like you’ve put the file extension in the document type definition
instead of in the UTI
On Oct 22, 2013, at 7:33 PM, Maxthon Chan xcvi...@me.com wrote:
Despite ARC banned retain/release/autorelease functions, there are still
alternatives there in the form of C functions:
From CoreFoundation CoreFoundation/CoreFoundation.h:
CFRetain() = retain
CFRelease() = release
Now that 10.9 has been released, what is the general sense about it being ready
for production work? My project is debating moving the developers to 10.9.
What are others doing? ANy concerns?
Thanks,
Don Carlile
___
Cocoa-dev mailing list
On Wed, 23 Oct 2013 13:33:00 -0600, Don Carlile said:
Now that 10.9 has been released, what is the general sense about it
being ready for production work? My project is debating moving the
developers to 10.9. What are others doing? ANy concerns?
If you have several developers, I'd suggest
On Oct 23, 2013, at 12:33 PM, Don Carlile carl...@mac.com wrote:
Now that 10.9 has been released, what is the general sense about it being
ready for production work? My project is debating moving the developers to
10.9. What are others doing? ANy concerns?
I’ve been running various
I haven't tested Xcode but Arduino Editor is borked for me. Some java thing
that I thought update, but alas no.
Eric
On Oct 23, 2013, at 3:39 PM, Sean McBride s...@rogue-research.com wrote:
On Wed, 23 Oct 2013 13:33:00 -0600, Don Carlile said:
Now that 10.9 has been released, what is
On Oct 23, 2013, at 2:33 PM, Don Carlile carl...@mac.com wrote:
Now that 10.9 has been released, what is the general sense about it being
ready for production work? My project is debating moving the developers to
10.9. What are others doing? ANy concerns?
I've upgraded my development
There are still situations that you may want a little touch-up so from time to
time a manual call to these is still needed.
On Oct 24, 2013, at 2:01, Greg Parker gpar...@apple.com wrote:
On Oct 22, 2013, at 7:33 PM, Maxthon Chan xcvi...@me.com wrote:
Despite ARC banned
What Greg says on this topic is authoritative.
-- Chris
Sent from my iPad
On Oct 23, 2013, at 4:35 PM, Maxthon Chan xcvi...@me.com wrote:
There are still situations that you may want a little touch-up so from time
to time a manual call to these is still needed.
On Oct 24, 2013, at
Hello.
Today, I spend a whole day to configure source-list.
It is typical job, but it work too hard for me because I wanted to avoid
Interface Builder.
I configured NSOutlineView and subclassed NSTableCellView and assigned my own
NSImageView and NSTextField
to the properties. I expected to
19 matches
Mail list logo