NSURLConnection and HTTPS

2008-10-03 Thread dexter morgan
Hello I'm using NSURLConnection in order to download some pages. All works fine until I try to load an HTTPS page. This is an example: https://www.wireless.att.com/olam/loginAction.olamexecute It return a differ page (not the same viewed into Safari). I think there is a problem accepting certificat

Link aganist

2008-09-12 Thread dexter morgan
earch path is set to > the directory in which you've got the 3rd party header files. To link the > dylib files with the project, click on Project -> Add to project and select > the necessary dylib files. > > Hope that helps. > Meik > > > On Sep 11, 2008, at 11:04

Link aganist

2008-09-11 Thread dexter morgan
Hello List, I've a simple c project that uses semaphores. I've tried to include it inside the main.c #include #include #include #include #include #include #include #include #include #include but xcode won't to compile it. Anyone can help me? _

Re: Getting location for an NSStatusItem

2008-09-05 Thread dexter morgan
I've found something here: http://mattgemmell.com/2008/03/04/using-maattachedwindow-with-an-nsstatusitem On Fri, Sep 5, 2008 at 1:59 PM, dexter morgan <[EMAIL PROTECTED]> wrote: > Hello list, > I would to show an NSWindow at the bottom of my NSStatusItem. How can > I ge

Getting location for an NSStatusItem

2008-09-05 Thread dexter morgan
Hello list, I would to show an NSWindow at the bottom of my NSStatusItem. How can I get the location of it? Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mo

Re: NSURLConnection nil result (only on 10.4)

2008-08-31 Thread dexter morgan
quest = [request mutableCopy]; // returned request has had the UA field stripped, must fix [newRequest setTimeoutInterval:15.0]; [newRequest setCachePolicy:NSURLRequestReloadIgnoringCacheData]; return newRequest; } On Sun, Aug 31, 2008 at 12:27 PM, dexter morgan <[EMAIL PROTECTED

NSURLConnection nil result (only on 10.4)

2008-08-31 Thread dexter morgan
Hello List, I'm using NSURLConnection/NSURLRequest in order to download some pages from the web. My app should be compatible both with 10.4 and 10.5. However I've noticed a strange behavior only on 10.4: the method - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { nev

NSURLConnection and JavaScript

2008-08-28 Thread dexter morgan
Hello guys, I'm using NSURLConnection to download a web page. Unfortunatly some particular pages detects JavaScript compatibility so the result data is something like "you cannot see this page because you have not js enabled". Is there any way to workaround this "problem"? Thank you so much ___

How to use .a in XCode?

2008-06-25 Thread dexter morgan
Hello guys, I need to use id3lib inside my xcode project. Basically it's a Cocoa app with some c/c++ source files. At this time I would simply get it compiled. I've downloaded id3lib and now it's under /usr/local/include/id3 (some headers), /usr/local/lib (libraries .a) and finally /usr/local/incl

Swapping splitview subviews

2008-06-18 Thread dexter morgan
Hello, I'm using NSSplitView with two subviews in both vertical and horizontal mode. In awakeFromNib of my code I use -addSubView to fill the first subview (the other is just filled because I've created it in IB). Is there a way to swap these subviews? (invert the position). Any hint? Thanks. _

Re: Converting string to encoding

2008-06-14 Thread dexter morgan
What do you think about it? (I've found this in Pantomime framework) http://pastebin.com/m2a8e4df2 So my code become simple: NSData *data = [self decodeQuotedPrintableInHeader: NO]; // self is raw data from file (written in NSISOLatin1) encoded = [[NSString alloc] initWithData: data encoding:fin