Re: What UIControl could this be?

2015-02-09 Thread Todd Freese
There are a bunch of projects on github to do this. Here is one I use and really like it: https://github.com/dzenbot/DZNSegmentedControl T > On Feb 9, 2015, at 11:49 AM, David Duncan wrote: > > You can use the appearance proxy to change the

Re: How to get multiple NSURLs from Finder drop.

2012-09-03 Thread Todd Freese
Thanks, didn't see the new API. Todd On Sep 3, 2012, at 4:12 PM, Kyle Sluder wrote: > > On Sep 3, 2012, at 1:32 PM, Todd Freese > wrote: > >> I'm trying to get my App Sandboxed. I need to be able to accept a multi-file >> finder drop to import files. Howe

How to get multiple NSURLs from Finder drop.

2012-09-03 Thread Todd Freese
I'm trying to get my App Sandboxed. I need to be able to accept a multi-file finder drop to import files. However, how did I get multiple NSURLs from the finder? There only seems to be two finder pasteboard types: NSFilenamesPboardType & NSURLPboardType. NSFilenamesPboardType won't work becaus

Re: NSSavePanel default file type

2012-06-12 Thread Todd Freese
Are you using a pre-built export dialog or a standard save dialog with a custom accessory view? Sounds like you need to use a custom accessory view, although this would most likely require you to code all the export features. Todd On Jun 12, 2012, at 10:11 PM, Kurt Sutter wrote: > I could, if

Re: How to open CMYK TIF in Cocoa?

2012-01-27 Thread Todd Freese
path. Todd On Jan 27, 2012, at 9:28 AM, Fritz Anderson wrote: > Are the pixels "not there," or are they premultiplied? > > <http://en.wikipedia.org/wiki/Alpha_compositing> > > — F > > On 26 Jan 2012, at 8:21 PM, Todd Freese wrote: > >> T

Re: How to open CMYK TIF in Cocoa?

2012-01-26 Thread Todd Freese
tting the alpha because the original data was already lost on file read. I ended up building and linking to libTIFF library which works like a champ. Todd On Jan 26, 2012, at 12:33 PM, Jens Alfke wrote: > > On Jan 26, 2012, at 8:25 AM, Todd Freese wrote: > >> The problem seems

Re: How to open CMYK TIF in Cocoa?

2012-01-26 Thread Todd Freese
t; What have you tried? Did you try using one of the CGImage-related functions >> to read the file? >> >> On Jan 24, 2012, at 3:01 PM, Todd Freese wrote: >> >>> Is there an easy way to open a CMYK TIF file and put it into an

Re: How to open CMYK TIF in Cocoa?

2012-01-26 Thread Todd Freese
related functions >> to read the file? >> >> On Jan 24, 2012, at 3:01 PM, Todd Freese wrote: >> >>> Is there an easy way to open a CMYK TIF file and put it into an NSImage? >>> Seems like the Framework is assuming the file is RGB. >>> >>>

Re: How to open CMYK TIF in Cocoa?

2012-01-26 Thread Todd Freese
rectly, I would try to investigate if the > file was bad. > > -ken > > On Jan 25, 2012, at 2:47 PM, douglas welton > wrote: > >> What have you tried? Did you try using one of the CGImage-related functions >> to read the file? >> >> On Jan 24, 2012, at

How to open CMYK TIF in Cocoa?

2012-01-24 Thread Todd Freese
Is there an easy way to open a CMYK TIF file and put it into an NSImage? Seems like the Framework is assuming the file is RGB. Todd __ This email has been scanned by the Symantec Email Security.cloud service. For more informatio

Re: Giving NSProgressIndicator a new look?

2012-01-17 Thread Todd Freese
Check out http://cocoacontrols.com/. (my new favorite site) It has several NSProgressIndicator subclasses. Todd On Jan 17, 2012, at 10:36 AM, Robert Monaghan wrote: > Hi Everyone.. > > Can someone point me to a blog or webpage that describes how to give an > existing NSControl a face lift?

Re: App opens in background after adding Growl support.

2011-10-04 Thread Todd Freese
Are you just issuing a : [GrowlApplicationBridge setGrowlDelegate:self]; at startup? Todd On Oct 4, 2011, at 3:31 PM, Laurent Daudelin wrote: > On Oct 4, 2011, at 10:01, Todd Freese wrote: > >> I just added the Growl framework to my app and it works great. Except… now >

App opens in background after adding Growl support.

2011-10-04 Thread Todd Freese
I just added the Growl framework to my app and it works great. Except… now my app always launches in the background. Everything else works great. If I disable growl, my app opens in the foreground as expected. Does this on Snow Leopard or Lion. Has anyone seen this? Todd Freese The

Looking for Tab framework

2011-09-18 Thread Todd Freese
I am looking for recommendations for a open source framework to create small tabs. I have looked at PSMTabBarControl and Chromium Tabs. Just wondering if there are any others out there? Todd Freese The Filmworkers Club __ This

Re: File Copy With Progress?

2011-08-12 Thread Todd Freese
; (fixed in 10.6.7), I even considered writing an observer thread to track > progress—thousands of copy operations add up. > > - Gary L. Wade (Sent from my iPhone) > > On Aug 11, 2011, at 6:22 PM, Todd Freese > wrote: > >> Is there a Cocoa way in 10.6+ to co

File Copy With Progress?

2011-08-11 Thread Todd Freese
Is there a Cocoa way in 10.6+ to copy a file with a progress call back? I would love to rid my code of calls to FSCopyObjectASync and all of it's non-sense. Thanks! Todd Freese The Filmworkers Club __ This email has

Re: Need HTTP Server & JSON recommendations

2010-12-06 Thread Todd Freese
Thank you all for your recommendations! It is a huge help in getting me going in the right direction! Todd __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.mes

Need HTTP Server & JSON recommendations

2010-12-06 Thread Todd Freese
I have an existing CoreData app that now needs to share it's data via JSON. Can anyone recommend a framework or sample code that would include a simple HTTP server? I googled and found a bunch of JSON frameworks which look great. The part I need help with is the HTTP server. Any suggestions or

Re: Updating NSTableView

2009-05-14 Thread Todd Freese
If anyone has a tutorial or sample code for this it would be greatly appreciated! This issues comes up from time to time and there is not a lot sample code out there for it. Most of the posts are conceptual rather than examples. Todd On May 14, 2009, at 10:14 AM, Corbin Dunn wrote: On

RED Camera SDK wrapper?

2009-04-27 Thread Todd Freese
Just checking to see if anyone has created a Obj-C wrapper for the RED camera SDK before starting I start to do so Thanks in advance Todd Freese The Filmworkers Club ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: De-Mystifying NSCell

2009-03-24 Thread Todd Freese
Thank you for creating this great video. If you are looking for another subject, I would suggest a video on subclassing NSCell. The list constantly has questions regarding subclassing NSCell for NSTableViews. Todd Freese On Mar 24, 2009, at 1:56 PM, Kyle Sluder wrote: As many of you

Re: Still can't get NSFormatter working....

2009-02-17 Thread Todd Freese
ually being set on a real field? You might try logging both 'nameField' and '[nameField formatter]' right after your code to assign it. Hope this helps, Greg On Feb 17, 2009, at 7:57 AM, Todd Freese wrote: Still can't this NSFormatter to work. It does

Still can't get NSFormatter working....

2009-02-17 Thread Todd Freese
error { NSLog(@"formatter called"); return NO; } @end And here is how I assign it to the NSTextField: FileNameFormatter *fileNameFormatter = [[[FileNameFormatter alloc] init] autorelease]; [nameField setFormatter:fileNameFormatter]; Any idea

Re: NSFormatter not getting called

2009-02-16 Thread Todd Freese
So here it is with the other three methods. I had them, just snipped them out of the post. Ops! @implementation FileNameFormatter - (NSString *)stringForObjectValue:(id)anObject { if ([anObject isKindOfClass:[NSString class]]) { NSString *sourceString = [NSString stringW