[iOS] How to test iAd enabled apps

2010-07-09 Thread Meik Schuetz
Hello, while testing my iAd enabled app on my device the delegate method didFailToReceiveAdWithError is called with the error 'Invalid app id/account information'. I'd like to make sure that everything works fine before I submit the app for review. Is there anyway that I can test, even having

Passing data between NSOperation and main thread

2009-07-26 Thread Meik Schuetz
Dear all, I am just starting to test my little application for leaks using Instruments. I have got a NSOperation which is doing some JSON communication stuff with my server. The NSOperation is sending an NSDictionary object back to the main thread (using a delegate and

How to center a custom NSView in a NSScrollView

2009-01-13 Thread Meik Schuetz
Dear all, I've already tried with a custom NSClipView, as explained here: http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html I also tried setting the height/width of the custom NSView to the size of the NSScrollView, but somehow I do not get it to work correctly. The question is,

NSArrayController bound to an array of strings

2008-11-16 Thread Meik Schuetz
Dear all, If have seen lots of examples in which a NSTableView is bound to an NSArrayController which is bound to an array of entity objects, having various properties. However I am now trying to bind a table column to an array of strings and I don't seem to get this working. The string

Re: Link aganist sem.h

2008-09-11 Thread Meik Schuetz
Hi there, in the target properties, make sure the header file search 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

API for secured web service communication (WSSE)

2008-09-10 Thread Meik Schuetz
Dear all, Did anyone made experiences creating a native client application, which communicates with a secured web service? Is there any API which I could use to accomplish this? In times where everyone is talking about SOA and cloud computing I find it hard to believe that there's

Re: API for secured web service communication (WSSE)

2008-09-10 Thread Meik Schuetz
Dear Alex Thank you for your ideas. As far as I know the WebServiceCore does not support message encryption and credentials, and unfortunatly this is exactly what I need. You are completly right when you compare Cocoa with Win32 programming, I just hoped there would be a simple solution

How to create a GUID?

2008-09-06 Thread Meik Schuetz
Dear everyone, I feel kind of embarrassed to ask, but could someone lead me the way on how to create an globally unique ID (such as for example d73e066c-cc88-4d66-be42-94dc091bb571) ? Best regards and thanks to everyone. Meik ___ Cocoa-dev

Subclassing NSCoder

2008-08-31 Thread Meik Schuetz
Dear everyone, I am trying to create my own NSCoder implementation to serialize objects to a XML format which would like to use to communicate with WCF service. The serialization is already done and I had no problems do it, however I've got some conceptional questions about the de-

Re: Subclassing NSCoder

2008-08-31 Thread Meik Schuetz
. Best regards Meik On Aug 31, 2008, at 6:30 PM, Michael Ash wrote: On Sun, Aug 31, 2008 at 11:45 AM, Meik Schuetz [EMAIL PROTECTED] wrote: Dear everyone, I am trying to create my own NSCoder implementation to serialize objects to a XML format which would like to use to communicate with WCF

Releasing objects causes BAD_ACCESS

2008-07-07 Thread Meik Schuetz
Dear all, according to the document http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html the connection object as well as the receivedData object are released in the connectionDidFinishLoading delegate. However, while debugging, I