Re: Retrieving the EXIF date/time from 250k images

2023-01-08 Thread Chris Ridd via Cocoa-dev
y Spotlight, can you get the EXIF information from a NSMetadataQuery search? Chris ___ 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)lists.a

Re: NSTimer +timerWithTimeInterval:

2020-04-29 Thread Chris Walters via Cocoa-dev
I’m not suggesting you do this as any kind of real solution I just wanted to see if it would work, but I was able to ‘hack’ the immutable timer interval, perhaps something like this can help you track down what is happening. I found a couple of structs in GitHub for CF source and wondered if

Re: Thoughts on Objective-C++

2019-11-12 Thread Chris Ridd via Cocoa-dev
ays. I guess they agreed with you, because it never got released AFAIK. I think it was mostly inherited from Next. https://lowendmac.com/1997/red-box-blue-box-yellow-box/ Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: initWithWindowNibPath and Base Internationalization

2017-08-16 Thread Chris Cianflone
correctly in German. Thanks again! Chris On Wed, Aug 16, 2017 at 12:52 PM, Steve Mills <sjmi...@mac.com> wrote: > On Aug 16, 2017, at 10:16 AM, Chris Cianflone <ccianfl...@makemusic.com> > wrote: > > In our test plugin, we have a dialog 20129.xib that has a base loc

initWithWindowNibPath and Base Internationalization

2017-08-16 Thread Chris Cianflone
get this all working? Thanks! Chris ----- Chris Cianflone www.makemusic.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-22 Thread Chris Ridd
ACUTE ACCENT (U+0301) and LATIN SMALL LETTER E WITH ACUTE (U+00E9) How can a “next gen” filesystem avoid using Unicode rules when handling filenames? Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-09 Thread Chris Ridd
eManager and enumerate all the filenames in the directory containing the “bad” document. Possibly the process of zipping stuff up will mangle the bytes of the filename, so the more “raw” info you can get from the OS the better. Chris ___ Cocoa-d

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-06 Thread Chris Ridd
String is via UTF8 (and it worked fine with Arabic > letters for this person before updating to the 10.3 beta) so I don’t think > I’m doing anything wrong. > > Any suggestions? If that iOS beta has upgraded the user’s filesystem to APFS, then it may b

Re: Memory-mapped sub-data?

2017-02-27 Thread Chris Ridd
allocations.) Even if you did some experiments today and found that it > works the way you want, there’s no guarantee it’ll keep working that way. It isn’t NSData, but libdispatch’s dispatch_data_t might be a useful way forward. The dispatch_data_c

Re: Weird NSPredicate structure when using "first" in keypath

2017-01-17 Thread Chris Hanson
nstantiation) they still trivially can, but it's on them to get the syntax correct rather than on you to try to figure out their intent. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Representing an object graph

2016-12-15 Thread Chris Hanson
On Dec 15, 2016, at 7:24 PM, Daryle Walker <dary...@mac.com> wrote: > > On Dec 6, 2016, at 10:18 PM, Chris Hanson <c...@me.com <mailto:c...@me.com>> > wrote: >> >> On Dec 5, 2016, at 4:18 PM, Daryle Walker <dary...@mac.com >> <mailto:dary...

Re: Representing an object graph

2016-12-06 Thread Chris Hanson
er.apple.com/reference/coredata/nsatomicstore> lets you do. There are only a few methods to override, and then you can just use one of your own documents as if it were one of the built-in persistent store types. -- Chris ___ Cocoa-dev maili

Re: CoreData headaches

2016-10-30 Thread Chris Hanson
isn’t safe, and writing it isn’t either. > So would that be the right place to use the NSManagedObjectContext's > performBlock:? What you’ve done actually looks correct, in that you’re only interacting with the managed object’s managed (Core Data) properties (“thumb” in this case) within the block passe

Re: CoreData headaches

2016-10-30 Thread Chris Hanson
ortunately, you don’t need to pass one along with an NSManagedObject, you can just ask the NSManagedObject for the context it’s a part of. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-27 Thread Chris Hanson
On Sep 27, 2016, at 1:54 PM, Markus Spoettl <ms_li...@shiftoption.com> wrote: > > On 27/09/16 22:39, Chris Hanson wrote: >> How are you getting the URL that you pass to represent your application? >> >> Could it be that you’re constructing the URL from a

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-27 Thread Chris Hanson
How are you getting the URL that you pass to represent your application? Could it be that you’re constructing the URL from a relative path when run from the command line, rather than the full path? (You can’t depend on being run from any particular working directory.) -- Chris > On Sep

Re: "Live" NSFetchRequest?

2016-09-24 Thread Chris Hanson
that to refresh the objects in the context you're using for your human interface. Multi-process coordination is a much harder problem. -- Chris > On Sep 17, 2016, at 2:37 PM, Frank D. Engel, Jr. <fde...@fjrhome.net> wrote: > > Before I go reinventing the wheel to try

Re: NSFileWrapper

2016-06-05 Thread Chris Ridd
ou single-file format, you could use “.xyz-pkg” for your package format. Are you sure that’s true? Apps like OmniGraffle have a flat file format *and* a bundle format, both using the .graffle extension. In OmniGraffle Pro's document inspector you can swit

Re: Where are my bytes hiding?

2016-05-05 Thread Chris Ridd
there any way a user file > might be compressed in such a way through normal user actions? You can do it explicitly using /usr/bin/ditto. Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co

Re: Deleting an file that's been NSData memory mapped - safe?

2016-02-14 Thread Chris Ridd
o longer any associated filename. Chris ___ 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)lists.apple.com Help/Unsubscribe

Re: Getting key data out of the keychain

2016-01-01 Thread Chris Ridd
> On 1 Jan 2016, at 13:09, Andreas Mayer <andr...@harmless.de> wrote: > > But I *still* don't know how to get at the key bytes of a SecKeyRef. :P Try asking on the apple-cdsa mailing list. It covers the security frameworks in OS X, including (hence the historical nam

MODERATOR: End of Thread (was Re: I am reluctant to file any more bugs until those already reported are fixed)

2015-07-21 Thread Chris Hanson
This is the place for neither rants nor personal attacks. Please keep it technical. Thanks. -- Chris Hanson (cocoa-dev co-moderator) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: MODERATOR: End of Thread (was Re: I am reluctant to file any more bugs until those already reported are fixed)

2015-07-21 Thread Chris Hanson
://www.apple.com/feedback/ and the bug reporter at http://bugreport.apple.com/ http://bugreport.apple.com/. -- Chris Hanson (cocoa-dev co-mod) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: All buttons lost focus ring on Yosemite

2015-03-12 Thread Chris Cianflone
are using such old SDKs, and only moved to 10.8 instead of 10.9 or 10.10, that's another story for another time.) You can see this in a simple Cocoa app too started from an Xcode template. Thanks, Chris _ Chris Cianflone www.makemusic.com On Tue, Mar 10, 2015 at 5:13 AM

[MODERATOR] End of Thread: Re: Blurry is the New Sharp

2015-01-08 Thread Chris Hanson
Please stick to technical discussion on cocoa-dev. If there are remaining technical questions in this thread, please ask them in their own threads. (And avoid off-topic derails.) Thanks. -- Chris (cocoa-dev co-mod) ___ Cocoa-dev mailing list

Building .ipa in XC6.01

2014-09-22 Thread Chris Paveglio
We're having a hard time building an IPA file in XC6. From what I have read online, it seems to be a bug. We can make a .pkg file or an XCarchive file from our app. Any confirmation this really is a bug? Seems really unusual for such an important feature. We have already tried to add the

Multiple Today Widgets

2014-09-22 Thread Chris Paveglio
widgets for distribution? I see no technical reason why it would not. Thanks, Chris ___ 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: Converting SenTesting framework tests to XCTests

2014-07-10 Thread Chris Hanson
help you diagnose it at a glance. Also, you should not need to perform this conversion by hand. Xcode has a conversion tool that will do this work for you, it’s available via the “Edit ▸ Refactor ▸ Convert to XCTest…” menu item. -- Chris ___ Cocoa

Re: Opinion: Core Data or roll my own?

2014-04-09 Thread Chris Hanson
has the design it does for a reason… -- Chris ___ 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)lists.apple.com Help/Unsubscribe

Re: SQLite Question

2014-03-28 Thread Chris Hanson
that possibility when deciding whether to include your own version of a library. -- Chris ___ 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: NSInteger/NSUInteger Considerations (64 bit)

2014-03-26 Thread Chris Hanson
integers (the header has both). I'd avoid legacy Carbon types like SInt32 in new code; compatibility needs may require them to be defined in different ways than you expect. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: VC# vs. ObjC and partial abstract classes

2014-03-18 Thread Chris Hanson
On Mar 18, 2014, at 7:29 PM, Luther Baker lutherba...@gmail.com wrote: A _better_ analogy to an Objective-C @protocol would be a formal Java interface. In their design, Java’s interfaces were explicitly modeled on Objective-C’s @protocol construct. -- Chris

MODERATOR: End of Thread (was Re: NSSavePanel?)

2014-03-06 Thread Chris Hanson
This is off-topic for cocoa-dev. -- Chris Hanson, cocoa-dev co-moderator ___ 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

Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
. Is there a better way, or some basic concept I might be missing? Thanks, Chris ___ 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: Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
in the left hand, then change tableView:numberOfRowsInSecton: for the right hand table to show zero. This can be done without any looping at all. Does this help? -jwd // Joseph W. Dixon On Nov 5, 2013, at 12:17 PM, Chris Paveglio chris_paveg...@yahoo.com wrote: What is the most efficient way

Re: Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
item# together and multiply n wouldn't give a real offset to a bit in a bitmap. Chris On Tuesday, November 5, 2013 2:07 PM, Jens Alfke j...@mooseyard.com wrote: On Nov 5, 2013, at 10:17 AM, Chris Paveglio chris_paveg...@yahoo.com wrote: My exclusions array has many simple objects. Each object

Re: Deadlock during NSCache flush

2013-10-23 Thread Chris Hanson
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 2

MODERATOR: (Temporary) End of Thread (was Re: I can't use man command to find c api manuals in Mavericks GM)

2013-10-22 Thread Chris Hanson
Until OS X Mavericks becomes available to everyone via the App Store, it's still under NDA. Once it's available it can be discussed here, until then it can't. -- Chris, Cocoa-Dev co-mod ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: MODERATOR: (Temporary) End of Thread (was Re: I can't use man command to find c api manuals in Mavericks GM)

2013-10-22 Thread Chris Hanson
OS X Mavericks is available on the App Store now. -- Chris, cocoa-dev co-mod -- who would like to point out the timestamp when he posted the original message ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Determine keys used in NSPredicate

2013-10-20 Thread Chris Hanson
an NSPredicate, you can use the various methods on it and its subclasses to recourse through the predicate and find any key path expression objects, and get the key paths they use. Doing so doesn't rely on the result of -predicateFormat and it uses entirely public API. -- Chris

Re: Core Data with ODBC databases?

2013-10-17 Thread Chris Hanson
and multi-stack access a persistent store, Core Data’s answers are very similar to the Enterprise Objects Framework: Thread-isolation (use a different context in different threads) and optimistic locking (deal with locking failures on save). -- Chris

MODERATOR: End of Thread (was Re: [OT] Buttons in iOS 7)

2013-10-10 Thread Chris Hanson
Please keep posts on-topic for this list and do not continue this off-topic thread. Thanks. -- Chris Hanson, cocoa-dev co-moderator ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

MODERATOR: End of Thread (was Re: iOS7 Controls)

2013-09-24 Thread Chris Hanson
Please remember that the cocoa-dev list is for technical discussion of Cocoa and Cocoa Touch development, and keep the discussion on-topic. -- Chris Hanson cocoa-dev co-mod ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

UIPickerView and multiple text fields, iOS

2013-09-20 Thread Chris Paveglio
); //this works fine until next     [[self delegate] performSelector:@selector(setPaxFieldValue:)                           withObject:thePax]; } Thanks Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Progress for archiving/dearchiving

2013-09-16 Thread Chris Devereux
How about tracking the number of written objects when saving the document, then encoding an additional key containing the object count at the top level of the archive? This could then be retrieved before decoding the root object. A possible problem with this idea is that it might require the data

Re: Progress for archiving/dearchiving

2013-09-16 Thread Chris Devereux
Another angle worth looking at: Depending on the output format you're using with NSKeyedArchiver, your file might already contain an object count, even if the API doesn't expose it. According to the Cocotron source[1], the binary plist format actually does this. It won't correspond exactly to the

Re: Is it possible to define class from interface builder?

2013-08-15 Thread Chris Hanson
load the view controller from the named nib and embed its view within itself. -- Chris [1] User Defined Runtime Attributes are values set in Interface Builder that then get set on your objects via KVC when a nib file is loaded. They work in OS X 10.6 and iOS 5 and later

MODERATOR: End of Thread (was Re: There must be a live human at Apple?)

2013-08-03 Thread Chris Hanson
Please do not continue this thread. As per the list guidelines, please keep discussion on the list to technical topics related to Cocoa development, and do not cross-post to multiple lists. -- Chris Hanson cocoa-dev co-mod ___ Cocoa-dev

How To Bind The Enabled Property of NSPopUpButtonCell Menu Items

2013-08-02 Thread Chris Tracewell
I've got a two column NSTableView that is bound to an array controller. Each of the elements in the array looks something like this... NSMutableDictionary *theDictionary = [NSMutableDictionary dictionaryWithDictionary: @{@myOptions:theOptionArray,@myTitle: theTitle}]; Column 1 is bound to

Re: How To Bind The Enabled Property of NSPopUpButtonCell Menu Items

2013-08-02 Thread Chris Tracewell
through menu validation instead of bindings. On Aug 2, 2013, at 1:12 PM, Chris Tracewell wrote: I've got a two column NSTableView that is bound to an array controller. Each of the elements in the array looks something like this... NSMutableDictionary *theDictionary = [NSMutableDictionary

Re: How To Bind The Enabled Property of NSPopUpButtonCell Menu Items

2013-08-02 Thread Chris Tracewell
that the NSPopUpButtonCell also has an autoenables items flag; a quick bit of hacking on the ButtonMadness sample app shows that needs to be off too. I'll send you the files off-list. On Aug 2, 2013, at 1:56 PM, Chris Tracewell wrote: Thanks for the suggestion, I had already done

MODERATOR: End of Thread (was Re: Apple Developer Update)

2013-07-26 Thread Chris Hanson
Sorry, but this is off-topic for the cocoa-dev list. Please keep discussion here to technical topics related to Cocoa development. To provide feedback to Developer Support, visit the contact page at https://developer.apple.com/contact/. Thanks. -- Chris, cocoa-dev co-moderator

Re: Apple Developer Update

2013-07-25 Thread Chris
is a soapbox for anyone with an opinion or need to vent. – Chris On Jul 25, 2013, at 15:56, Vincent Habchi vi...@macports.org wrote: Kyle, Following that line of thought, how many of you actually think griping on this list is going to accomplish anything other than filling up everyone else's

MODERATOR NOTE: Re: NSOutlineViews and Mountain Lion

2013-07-10 Thread Chris Hanson
for a supported way to disable animations system-wide should be filed at http://bugreport.apple.com rather than sent here. An example of a post that would be on-topic here is a question like How can I make the NSOutlineView in my app not animate? -- Chris -- your other cocoa-dev mod

Carbon removal

2013-07-03 Thread Chris Paveglio
),                                  GetEventTypeCount( sAppEvents ),                                  sAppEvents, self, NULL ); --- Thanks for any help. Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Concurrent MOCs

2013-06-10 Thread Chris Hanson
) access, because that can fire or traverse faults. -- Chris ___ 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)lists.apple.com Help

NSPopUpButtonCell - How To Get The Changed Value

2013-06-08 Thread Chris Tracewell
I have a tableview that has two columns. The second column has an NSPopUpButtonCell. The tableview content is supplied via an array controller of dictionaries. The first column shows the title key's value and the second column (the NSPopUpButtonCell) shows and array of choices in the

RE: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-05 Thread Cianflone, Chris
Just an FYI that we have opened a TSI on this. I'll let you know the details once we sort this out with Apple. Thanks, Chris From: cocoa-dev-bounces+ccianflone=makemusic@lists.apple.com [cocoa-dev-bounces+ccianflone=makemusic@lists.apple.com

Re: OutlineView shouldSelectItem Being Called Twice

2013-06-05 Thread Chris Tracewell
options if need be? -CT On Jun 4, 2013, at 7:31 PM, Graham Cox graham@bigpond.com wrote: On 05/06/2013, at 11:56 AM, Chris Tracewell ch...@thinkcl.com wrote: Is this normal behavior? Thanks for the help. Probably. This method should just answer the question, not attempt

OutlineView shouldSelectItem Being Called Twice

2013-06-04 Thread Chris Tracewell
I've got a view controller set up as the delegate for an outlineView. The view controller implements the -(BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)item delegate method. I show an alert and return NO if the user has not saved some changes or return YES if all is well.

RE: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-02 Thread Cianflone, Chris
with problems like this. Fearing we won't be able to get rid of temp files in our mdimporter, does anyone have any other suggestions other than telling our users, sorry it doesn't work under 10.8. Thanks, Chris From: Kyle Sluder [k...@ksluder.com] Sent

RE: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-02 Thread Cianflone, Chris
if we can get the temp files to work Whoops, that should obviously say if we can't get the temp files to work. Chris From: cocoa-dev-bounces+ccianflone=makemusic@lists.apple.com [cocoa-dev-bounces+ccianflone=makemusic@lists.apple.com] on behalf

creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-01 Thread Cianflone, Chris
builds. Surely we must still be able to create temp files? Thanks, Chris _ Chris Cianflone Senior Software Engineer www.makemusic.comhttp://www.makemusic.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: crash in

2013-05-24 Thread Chris Ridd
setting a breakpoint on strtoull_l and see what kind of arguments it is getting. Chris ___ 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

NSTextField binding returns nil not empty string

2013-04-30 Thread Chris Paveglio
string? ---custom object (with ARC): @interface SpecialObject : NSObject @property(nonatomic, readwrite) NSString*headline; ... Thanks, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Binding NSDictionary in NSArray into table view cell

2013-04-16 Thread Chris Paveglio
translate to showing in the cell view. Any other tips on special forms of input that the Model Key Path can take? Any good suggestions, examples, or reference to a tutorial on this? Thanks, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-26 Thread Chris Tracewell
On Mar 25, 2013, at 7:33 PM, Conrad Shultz conrad_shu...@apple.com wrote: In the code you shared you had used delegate in one place and [self delegate] in another; the second case is the correct one. If you replace all naked uses of delegate with [self delegate] and you continue to get

Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-26 Thread Chris Tracewell
On Mar 26, 2013, at 12:38 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: 2. Redeclare the delegate property: @interface TKOutlineView : NSOutlineView {} @property (nonatomic,readonly) idTKOutlineViewDelegate delegate; @end @implementation

Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-26 Thread Chris Tracewell
On Mar 26, 2013, at 12:38 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: 2. Redeclare the delegate property: @interface TKOutlineView : NSOutlineView {} @property (nonatomic,readonly) idTKOutlineViewDelegate delegate; @end @implementation

Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-26 Thread Chris Tracewell
On Mar 26, 2013, at 1:11 PM, Conrad Shultz conrad_shu...@apple.com wrote: If code expecting an NSOutlineView receives a TKOutlineView instance it may break or behave unexpectedly since it may well try to set a delegate conforming to NSOutlineViewDelegate but you have made your class require

Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-25 Thread Chris Tracewell
I have a subclass of NSOutlineView that has custom delegate methods. In the implementation file I get an error for No known instance method for selector... when I call these declared methods using [self delegate] or delegate. However the compiler suggested using _delegate and that makes the

Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]

2013-03-25 Thread Chris Tracewell
On Mar 25, 2013, at 1:54 PM, Conrad Shultz conrad_shu...@apple.com wrote: [self delegate] is not the same as delegate - the former sends the -delegate message, the latter references a variable named delegate (which the compiler is telling you does not exist). I assumed that since my subclass

ARC Help

2013-03-22 Thread Chris Tracewell
In a project I am moving from GC to ARC I'm trying to understand the nuances of the new declarations. I have many pre-ARC properties that look like... @interface TKObject : NSObject { NSString *theString;

Re: ARC Help

2013-03-22 Thread Chris Tracewell
On Mar 22, 2013, at 1:51 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: Note that you can likely just remove the ivar declaration completely, or at worst move it to the @implemenation statement instead. There's really no need to put a private ivar in a public interface file

Re: ARC Help

2013-03-22 Thread Chris Tracewell
On Mar 22, 2013, at 3:27 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: (sorry, this turned into a tome) No need to apologize. Very, very helpful - thank you so much for the input, it clears everything up. I'll be reading up on the modern Objective-c changes. Thanks CT

How can modal window pass messages to its parent window?

2013-03-18 Thread Chris Tracewell
I have a main window which has a child/auxilary window. When the user presses a button in the UI the main window controller inits the child, assigns itself as the object for the child window's myOwner property and then launches the child window as a modal via NSApp runModalForWindow. This

Re: ARC Release too soon

2013-03-16 Thread Chris Paveglio
Sure I totally understand that. My question is more of what is the most elegant way to do it. Add them to an array? - Original Message - From: iain i...@sleepfive.com To: Chris Paveglio chris_paveg...@yahoo.com Cc: Cocoa Dev List Cocoa-dev@lists.apple.com Sent: Saturday, March 16, 2013

Quicklook and changing previewed image from table

2013-02-28 Thread Chris Paveglio
];     } else {         [super keyDown:theEvent];     } } I tried putting the refresh... call inside of the else block, but that didn't do anything. Would something go in my tableView, or the WindowController (which is where the panel is created)? Thanks, Chris

Re: Quicklook and changing previewed image from table

2013-02-28 Thread Chris Paveglio
I think I figured something out. I used the table view's method for  tableViewSelectionDidChange and I could set the panel's previewed item as that changed. It works but might not be optimal. Thanks for any replies. Chris - Forwarded Message - From: Chris Paveglio chris_paveg

Anyone able to get __crashreporter_info__ to work on iOS?

2013-02-27 Thread Chris Markle
; } - (void)crash { char *addr = 0; *addr = 1; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end Anyone have any success using this on technique to annotate crash reports on iOS? Chris

Re: Anyone able to get __crashreporter_info__ to work on iOS?

2013-02-27 Thread Chris Markle
Thanks for the followup Greg. Chris On Wed, Feb 27, 2013 at 5:05 PM, Greg Parker gpar...@apple.com wrote: On Feb 27, 2013, at 4:52 PM, Chris Markle cmar...@asperasoft.com wrote: Anyone have any success using this on technique to annotate crash reports on iOS? The iOS crash reporter does

Re: Thread safety of Bonjour Cocoa classes? (NSNetService, etc.)

2013-02-14 Thread Chris Parker
loop of the thread it's being created on. If the run loop isn't being spun (e.g. on a thread created by detaching a pthread or an NSThread) then you won't get callbacks. .chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: How to read the deployment target of a .plugin?

2013-02-12 Thread Chris Hanson
behavior. Since this is all determined by the controlling executable, you cannot get new behavior in a plug-in and old behavior in its host app (or vice versa) by building them against different SDKs. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev

Re: How to read the deployment target of a .plugin?

2013-02-12 Thread Chris Hanson
ways like saying “don’t use an SDK.” It’s how we used to do things in the days before SDKs, but we’ve had SDKs now for around 10 years, so it’s time to make the switch. :) -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: NSTask Explodes. Clueless.

2013-02-06 Thread Chris Hanson
Mach exceptions in your own code. They signify extremely serious errors, ones you're almost certainly unlikely to be able to recover from. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: NSTask Explodes. Clueless.

2013-02-06 Thread Chris Hanson
into your app's address space - and into the address space of the forked subprocess, and trying to do something on startup. What loaded libraries are listed in the crash dump? -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

NSOutlineView -reloadItem: vs insertItemsAtIndexes:inParent:withAnimation:

2013-02-03 Thread Chris Devereux
between these two ways of updating an outline view? Thanks Chris ___ 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)lists.apple.com

Re: Issue with Core Data Model

2013-01-12 Thread Chris Hanson
. In the command line debugger, print *someObject will print someObject's ivars just as if you were dereferencing a struct*, as long as its real type (eg not id) is known or has been cast to. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Issue with Core Data Model

2013-01-12 Thread Chris Hanson
a workaround. -- Chris ___ 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)lists.apple.com Help/Unsubscribe/Update your Subscription: https

Re: Custom initWithFrame?

2013-01-05 Thread Chris Hanson
properties via KVC, but only supports setting properties of plist types. -- Chris ___ 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: Beachballing 2

2012-12-04 Thread Chris Hanson
Please don't create lots of different message threads for a single issue/discussion. Sticking to a single thread makes it much easier to follow by keeping all of the context together. Thanks. -- Chris -- cocoa-dev's other moderator ___ Cocoa

NSPasteboard type for InDesign

2012-09-17 Thread Chris Paveglio
implementation, but I want to clarify that I am using the right file type so I can eliminate that as one of my problems. BTW any example code for DnD appreciated! ;-) Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?

2012-09-13 Thread Chris Markle
the icon? Then, once I get a menu showing, how do I get to the point where I can drag the file onto a row in the menu? I'm perfectly fine with pointers for things and areas to look at relative to this... Thanks in advance! Chris ___ Cocoa-dev mailing

Re: Best data source for table view in document window

2012-09-05 Thread Chris Hanson
a custom NSWindowController subclass own the rest of your view, and to have the document concern itself solely with “document-like” things such as persistence. -- Chris [1] Those who used the Enterprise Objects Framework used a combination of EODisplayGroup and EOAssociation

Re: Best data source for table view in document window

2012-09-05 Thread Chris Hanson
is put ivar declarations in the main @interface in the header file. -- Chris ___ 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: KVG generic enough?

2012-07-21 Thread Chris Hanson
a class that has a key path and an NSExpression used to generate a value based on parameters passed in (such as the original value at the key path). Then not only do you not have to do the parsing, you also get more features free because you can use everything NSExpression provides. -- Chris

Re: do you init your instance variables in init method or outside the class?

2012-07-18 Thread Chris Ridd
to nil is perfectly safe, unlike C++. foodLists = [NSMutableArray array]; is necessary, as you've seen, but not for the reasons you think. Both of those lines are going to cause random crashes later on because they're non-retained objects. Chris

Re: Core Data Multiuser

2012-07-17 Thread Chris Hanson
frameworks: The choices that need to be made often boil down to user experience, and can vary dramatically from one application to the next. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Core Data Multiuser

2012-07-16 Thread Chris Hanson
subclass can act as an adaptor between it and the rest of your application, allowing your application to be written using Core Data and allowing it to take advantage of its features. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

cocoabuilder closed?

2012-07-10 Thread Chris Paveglio
easier than the Apple list archive pages (and doesn't have search either)? Thanks, Chris ___ 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

  1   2   3   4   5   6   7   8   9   10   >