Re: Problem Binding to UserDefaults

2010-12-06 Thread jonat...@mugginsoft.com
On 5 Dec 2010, at 12:36, Peter Zegelin wrote: > Found the problem! > > I hadn't checked the 'Handles Content as Compound Value' checkbox in the > Array Controller Bindings. Switching this on and all now works. > > The binding option being enabled here is NSHandlesContentAsCompoundValueBindi

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: Need HTTP Server & JSON recommendations

2010-12-06 Thread Ken Worley
There is a section in The iPhone Developer's Cookbook by Erica Sadun on building a simple web-based server for iPhone (chapter 13, page 582). All the same source from the book is available on github.com. Do a search there for "iPhone Developer's Cookbook" and you should be able to locate it - th

Re: Need HTTP Server & JSON recommendations

2010-12-06 Thread Bertrand Landry-Hetu
The only one I know is CocoaHTTPServer project that is hosted here: http://code.google.com/p/cocoahttpserver/ . On Mon, Dec 6, 2010 at 12:21 PM, Todd Freese wrote: > 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

Fwd: Need HTTP Server & JSON recommendations

2010-12-06 Thread jonat...@mugginsoft.com
On 6 Dec 2010, at 17:21, Todd Freese wrote: > 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 n

Re: Need HTTP Server & JSON recommendations

2010-12-06 Thread Dru Satori
Though there are several options to do this within your application from scratch, I think it is a bad idea. Security is an ever increasing problem, and rolling your own httpd server is kinda risky when there are ready made options out there. Because of this, I embed the open source and commerc

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

Select server based on proximity

2010-12-06 Thread Heizer, Charles
I'm writing a app that will download and install some software. I would like to use a distributed download model where the client has a list of servers and determines which is the one closest to it's self and uses that one. Is there a API or something to do this? Thanks, Charles ___

Re: Select server based on proximity

2010-12-06 Thread jonat...@mugginsoft.com
On 6 Dec 2010, at 21:38, Heizer, Charles wrote: > I'm writing a app that will download and install some software. I would > like to use a distributed download model where the client has a list of > servers and determines which is the one closest to it's self and uses that > one. > > Is there a A

Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread Gustavo Pizano
Hello. My application is saving some data, and it takes a while to do it, it can be 1 second to 10 sec around.. Im doing some image processing, The thing is.. I send the saving operation in another thread using the NSThread + detachNewThreadSelector:toTarget:withObject: method, and in the mai

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread davelist
On Dec 6, 2010, at 5:37 PM, Gustavo Pizano wrote: > Hello. > > My application is saving some data, and it takes a while to do it, it can be > 1 second to 10 sec around.. Im doing some image processing, The thing is.. > > I send the saving operation in another thread using the NSThread + > de

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread Laurent Daudelin
On Dec 6, 2010, at 17:16, davel...@mac.com wrote: > On Dec 6, 2010, at 5:37 PM, Gustavo Pizano wrote: > >> Hello. >> >> My application is saving some data, and it takes a while to do it, it can be >> 1 second to 10 sec around.. Im doing some image processing, The thing is.. >> >> I send the s

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/6/10 6:21 PM, Laurent Daudelin wrote: >> dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, >> 0), ^{ // code you want implemented on another thread goes here: >> >> dispatch_async(dispatch_get_main_queue(), ^{ // code exe

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread davelist
On Dec 6, 2010, at 9:21 PM, Laurent Daudelin wrote: > On Dec 6, 2010, at 17:16, davel...@mac.com wrote: > >> On Dec 6, 2010, at 5:37 PM, Gustavo Pizano wrote: >> >>> Hello. >>> >>> My application is saving some data, and it takes a while to do it, it can >>> be 1 second to 10 sec around.. Im

Source files are not shown in the Xcode

2010-12-06 Thread ico
Hi, I am working on an existing project. My first step is to be familiar with the project by going through the codes. And I see they use some classes which are not shown in xcode (groups and files list). It seems they didn't add those files to the project, so those files are not imported in the pr

Problem instantiating an array

2010-12-06 Thread Dennis Birch
I'm new to Cocoa programming and brand new to this list, so I hope it's appropriate to ask this question here. I've run into a showstopper with my first project on my own (i.e. not a project from a book). I've created a custom View subclass, and when I try to instantiate an array of another cus

problem with core data and uno

2010-12-06 Thread kvic...@pobox.com
i'm having a problem with core data and undo. here is the simplified situation. i've got subclasses of NSManagedObject: object A and object B. object A has a to-one relationship to object B. the reciprocal relationship in object B is a to many relationship. i.e., object B can refer to multiple

OS X Desktop

2010-12-06 Thread Charlie Dickman
In the days of System 9 there was a thing known as the desktop database and a number of applications/utilities that "remembered" the location of things on the desktop and would restore a saved configuration on command. For some time now I have been trying to find a similar OS X implementation th

Re: OS X Desktop

2010-12-06 Thread Kiel Gillard
I'm not sure if this will help, but check out the NDAlias source here, specifically the - (void)finderLocation method on line 187. https://github.com/nathanday/ndalias/blob/master/Classes/NSString%2BNDCarbonUtilities.m Kiel On 07/12/2010, at 10:11 AM, Charlie Dickman wrote: > In the days of Sy

Re: OS X Desktop

2010-12-06 Thread Seth Willits
On Dec 6, 2010, at 3:11 PM, Charlie Dickman wrote: > In the days of System 9 there was a thing known as the desktop database and a > number of applications/utilities that "remembered" the location of things on > the desktop and would restore a saved configuration on command. Heh. I made one. Cl

Re: OS X Desktop

2010-12-06 Thread John Joyce
On Dec 7, 2010, at 3:10 PM, Seth Willits wrote: > On Dec 6, 2010, at 3:11 PM, Charlie Dickman wrote: > >> In the days of System 9 there was a thing known as the desktop database and >> a number of applications/utilities that "remembered" the location of things >> on the desktop and would resto

Re: Problem instantiating an array

2010-12-06 Thread Ken Thomases
Hi, On Dec 5, 2010, at 12:39 PM, Dennis Birch wrote: > - (id)initWithFrame:(NSRect)frame { >self = [super initWithFrame:frame]; >if (self) { >// Initialization code here. > TileColumn *allColumns[boardDimension - 1]; The above declaration is wrong for what you're tr

Re: Problem instantiating an array

2010-12-06 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Birch wrote: > I'm new to Cocoa programming and brand new to this list, so I hope it's > appropriate to ask this question here. Welcome! > // Initialization code here. > TileColumn *allColumns[boardDimension - 1]; >