IKImageView delegate

2010-04-10 Thread Gerriet M. Denkmann
The documentation (updated this morning) says: "An IKImageView object’s delegate [...] is informed of various actions by the image view through delegation messages." This begs the question: What are these "delegation messages" and where are they documented? Also: IKImageView seems to understan

Re: Using a SOAP Web Service from iPhone

2010-04-10 Thread Sander Stoks
Hi, I'll refrain from saying bad things about SOAP, but http://72.249.21.88/nonintersecting/2006/11/15/the-s-stands-for-simple/?year=2006&monthnum=11&day=15&name=the-s-stands-for-simple&page= is a must-read. In my experience, gSOAP (www.genivia.com) works best when trying to consume WebService

MainMenu.nib won't load

2010-04-10 Thread Ulf Dunkel
I am kind of stuck with a support question which I cannot explain myself. If someone in this list can give me a hint, I would be more than happy. If this list is the wrong place to ask for this issue, please excuse (and point me to the right place, if possible). One of our customers cannot use

Re: MainMenu.nib won't load

2010-04-10 Thread Joanna Carter
Hi Ulf > Could we have done something wrong using the MainMenu.nib? Are there any > known issues with Snowy and NSDocumentController? > > If you want to check the Barcody Resources, just grab the multi-lingual app > from here: > > http://www.dsd.net/prod/mac/barcody.php?lan=en&pmode=download

Re: MainMenu.nib won't load

2010-04-10 Thread Keary Suska
On Apr 10, 2010, at 3:43 AM, Ulf Dunkel wrote: > I am kind of stuck with a support question which I cannot explain myself. If > someone in this list can give me a hint, I would be more than happy. If this > list is the wrong place to ask for this issue, please excuse (and point me to > the righ

Automator Actions and CFBundleExecutable key

2010-04-10 Thread Steve Cronin
Folks; I have an Automator action that is giving me a confusing result. If I include an 'Executable File' key in the info.plist - debug compile - with no executable this key is pointless - release compile - no warning If I remove the 'Executable File' key from the info.plist - debug compile - no

NSInvocation error when closing a dirty document

2010-04-10 Thread Brad Stone
I have a strange bug that I've been tracking for a while and I'd like the benefit of your experience. It happens with I close a window that needs to be saved. When closing a dirty Core Data NSPersistentDocument I get the following error between the "Do you want to save" sheet and the save pane

Re: Automator Actions and CFBundleExecutable key

2010-04-10 Thread Fritz Anderson
On 10 Apr 2010, at 2:01 PM, Steve Cronin wrote: > I have an Automator action that is giving me a confusing result. > > If I include an 'Executable File' key in the info.plist > - debug compile - with no executable this key is pointless > - release compile - no warning > > If I remove the 'Execut

Re: Automator Actions and CFBundleExecutable key

2010-04-10 Thread Steve Cronin
On Apr 10, 2010, at 3:08 PM, Fritz Anderson wrote: > You don't say what kind of Automator action you are building — script, > AppleScript, or Cocoa? Cocoa > And what do you mean by "compile warnings?" The compiler doesn't know or care > about the contents of Info.plist. The build system might

Re: Automator Actions and CFBundleExecutable key

2010-04-10 Thread Fritz Anderson
On 10 Apr 2010, at 3:19 PM, Steve Cronin wrote: > XC 3.2.1 SDK 10.6 My mistake; I said 3.1.3 (which is the iPhone OS). I meant 3.2.2. 10.6 SDK. >> I created a kill-me Cocoa action in Xcode, from the template. Info.plist ha >> a CFBundleExecutable key, set to ${EXECUTABLE_NAME}. Again, this mak

ObjC question

2010-04-10 Thread Tony Romano
Using the sample below, how do I get the instance of the class in which I am contained WITHOUT passing it as a parameter or using hacky sizeof tricks in the method Foo:method? Thanks people! If this is not the correct alias for this type of question, apologizes in advance. @interface Foo :

Re: Automator Actions and CFBundleExecutable key

2010-04-10 Thread Steve Cronin
On Apr 10, 2010, at 3:51 PM, Fritz Anderson wrote: > Did you change the action type to Cocoa after starting with AppleScript or > shell script? No > Have you examined the contents of the action bundle in the problem case? > Clean the target first, then build. Control-click Products > yourBund

Re: ObjC question

2010-04-10 Thread Seth Willits
On Apr 10, 2010, at 2:38 PM, Tony Romano wrote: > Using the sample below, how do I get the instance of the class in which I am > contained WITHOUT passing it as a parameter or using hacky sizeof tricks in > the method Foo:method? Thanks people! If this is not the correct alias for > this typ

Re: ObjC question

2010-04-10 Thread Tony Romano
Thanks for the reply but I am not sure I follow your point. An instance of 'f' is contained precisely in one instance of Bar. I can have many Bars but each have their own instance of the class Foo. Does the language support getting the containing instance? On Apr 10, 2010, at 3:05 PM, Seth W

Re: ObjC question

2010-04-10 Thread Noah Desch
On Apr 10, 2010, at 7:02 PM, Tony Romano wrote: > Thanks for the reply but I am not sure I follow your point. An instance of > 'f' is contained precisely in one instance of Bar. I can have many Bars but > each have their own instance of the class Foo. Does the language support > getting th

Re: ObjC question

2010-04-10 Thread Dave Carrigan
On Apr 10, 2010, at 4:13 PM, Noah Desch wrote: > If you need to enforce a specific one to one relationship between Bars and Fs > you need to write code to support that. If you want Fs to know which Bar > "owns" it, you need to write code to support that. I would suggest giving F a > property "

Re: ObjC question

2010-04-10 Thread Kevin Brock
On Apr 10, 2010, at 2:38 PM, Tony Romano wrote: > Using the sample below, how do I get the instance of the class in which I am > contained WITHOUT passing it as a parameter or using hacky sizeof tricks in > the method Foo:method? Thanks people! If this is not the correct alias for > this typ

Re: ObjC question

2010-04-10 Thread Quincey Morris
On Apr 10, 2010, at 16:02, Tony Romano wrote: > Thanks for the reply but I am not sure I follow your point. An instance of > 'f' is contained precisely in one instance of Bar. I can have many Bars but > each have their own instance of the class Foo. Does the language support > getting the co

Re: ObjC question

2010-04-10 Thread Tony Romano
Appreciate all the replies. Here is the scenario. I have an object that represents a volume that is derived from a more generic object called node, Volume : node. Within the volume definition, it contains an object called FileSystemEvent. FileSystemEvent is an object that wraps the core foun

Re: ObjC question

2010-04-10 Thread Clark S. Cox III
You cannot. You will have a pointer of some kind in your Foo class that points to the current "container". Sent from my iPad On Apr 10, 2010, at 14:38, Tony Romano wrote: > Using the sample below, how do I get the instance of the class in which I am > contained WITHOUT passing it as a parame

Cant read second table from same sqlite database iphone

2010-04-10 Thread charisse napeÿfffff1as
Hello All, I am having trouble reading the second table from my database because it returns nothing even if there is data inside it. I have a function below - (NSMutableArray*) getRegions { NSMutableArray * data = [[NSMutableArray alloc] init]; const char * sql = "SELECT * FROM Regions

Re: ObjC question

2010-04-10 Thread Seth Willits
On Apr 10, 2010, at 5:11 PM, Tony Romano wrote: > When you create the file system event, you can pass a void * via the > structure which is accessible in the event callback. In this pointer, I want > to pass my Volume object so I know which volume the event was for. I could > have easily pas

Re: NSInvocation error when closing a dirty document

2010-04-10 Thread Jerry Krinock
On 2010 Apr 10, at 12:43, Brad Stone wrote: > I have a strange bug that I've been tracking for a while and I'd like the > benefit of your experience. It happens with I close a window that needs to > be saved. > > When closing a dirty Core Data NSPersistentDocument I get the following error >

re: Cant read second table from same sqlite database iphone

2010-04-10 Thread Ben Trumbull
> Hello All, > > I am having trouble reading the second table from my database because it > returns nothing even if there is data inside it. How do you know it has data inside it ? A common mistake is to try to write to databases in the read only part of an application's sandbox on the iphone.

Re: Cant read second table from same sqlite database iphone

2010-04-10 Thread charisse napeÿfffff1as
I was able to successfully retrieve data on the first table. But I can't seem to retrieve from the second table. I know it has data inside it because I used an SQLite Browser to view the data. I also tried performing queries there and it worked fine. Only when I used the queries in the code that

QCRenderer.... how do you do that?

2010-04-10 Thread Eric Smith
I'm trying to use a Quartz Composer filter in a cocoa app. I've published inputs and outputs: one image input, one image output. I can successfully set the input image, but when I try to get the output image, I get 0x0 no error messages, just a null pointer. Here's my code: QCComposition

Re: MainMenu.nib won't load

2010-04-10 Thread Peter Ammon
Hi Ulf, The first instance of NSDocumentController (or a subclass) becomes the shared instance. It sounds like some code is instantiating an instance of NSDocumentController before your class, so the shared instance is of the base class instead of your subclass. I don't know what would be cau