[iPhone] Addressbook group problem

2009-07-11 Thread James Lin
Hi all, Anyone familiar with the Addressbook framework? I can't seem to be able to add a group into the addressbook only ONCE. if i use ABRecordRef group = ABGroupCreate(); to get a handle on group, calling NSString *groupName = (NSString *)ABRecordCopyCompositeName(group); returns a

Re: Cocoa Frontend to SDL App

2009-07-11 Thread Chris Ridd
On 10 Jul 2009, at 15:26, Anthony Smith wrote: Thanks for the input. SDL is actually a simplified interface to OpenGL so I'm wanting to integrate an already made SDL game into a Cocoa front-end. I think handbrake and ffmpegx are trying to create a front-end for the command line tools

UITextView and UiImageView

2009-07-11 Thread M.S. Hrishikesh
This is a question related to UIKit. Sorry if I am posting to the wrong list. I did not find a more appropriate list at http://lists.apple.com/mailman/listinfo The question: I want to display both text and images in my view. I want the content to be scrollable. When the user scrolls the view

Re: [iPhone] Addressbook group problem

2009-07-11 Thread Luke Hiesterman
The group doesn't have a name when you create it. Try setting the name after creation rather than getting it. Luke Sent from my iPhone. On Jul 11, 2009, at 12:50 AM, James Lin jamesclin...@gmail.com wrote: Hi all, Anyone familiar with the Addressbook framework? I can't seem to be able to

Re: UITextView and UiImageView

2009-07-11 Thread Luke Hiesterman
Try using a UIScrollView and adding various UITextViews and UIImageViews as subviews to the content view of the scrollview. It's a little tedious and depending on what you're doing a web view might be better. Hope that helps. Luke Sent from my iPhone. On Jul 11, 2009, at 3:24 AM, M.S.

Re: Clarification on accessors? (was: Yet another memory management question)

2009-07-11 Thread Jim Correia
On Jul 9, 2009, at 5:52 PM, Charles Srstka wrote: On Jul 9, 2009, at 4:29 PM, Ben Trumbull wrote: It may be that under certain circumstances (dictionary storage, synthesized properties on 10.5, etc) that you must use an accessor method even in init dealloc. That requires more care, is

Re: Can't figure out where the memory leak comes from.

2009-07-11 Thread Alexander Spohr
Your code looks fine. Maybe the NSOpenPanel is creating a global singleton in memory. That could look like a leak. atze ps. Why do you copy an array into a dictionary that uses the index as a key? Why not just dump allTheFiles? Am 11.07.2009 um 00:38 schrieb Y. Vera: Hello

Re: Cocoa Frontend to SDL App

2009-07-11 Thread Alexander Spohr
Am 10.07.2009 um 21:35 schrieb Anthony Smith: What I would like to do is be able to somehow make the binary of the SDL app use the Cocoa view as the output device and output all the video there or something similar. Could you please clarify what you mean with binary? A compiled

Re: UIWebview issues

2009-07-11 Thread Alexander Spohr
Please provide a stack trace. At some point something tries to scroll an ordinary UIView. That does not work. atze Am 11.07.2009 um 04:00 schrieb Development: I need to use a UIWebview of an in app paypal purchase, the problem is it does not work. the app hangs up when you try to

dependent unit test

2009-07-11 Thread Ariel Rodriguez
I am trying to include unit test on my development cycle (coming from python, i do love Unit Test), and i have tried

Re: Cocoa Frontend to SDL App

2009-07-11 Thread Anthony Smith
Yes, an OS X Intel compiled executable. Sent from my iPhone On Jul 11, 2009, at 11:51 AM, Alexander Spohr a...@freeport.de wrote: Am 10.07.2009 um 21:35 schrieb Anthony Smith: What I would like to do is be able to somehow make the binary of the SDL app use the Cocoa view as the output

[Offtopic] XCode question: Quickly jump to a particular symbol/selector/class ?

2009-07-11 Thread Debajit Adhikary
(I understand this is more of an XCode question, but knowing that this list has a lot of experienced Cocoa programmers using XCode, I'd specifically like to know what they use for this workflow case) What is the quickest way to jump to a particular symbol/selector/class in XCode? (I'm looking for

Core Data commit changes -- What does that mean?

2009-07-11 Thread Jerry Krinock
Throughout the NSManagedObjectContext API reference I read about changes being committed, but I can't find any definition of that phrase. Since I understand that Core Data is not a database, I don't want to assume database lingo. Is commit changes synonymous with send the managed object

Re: [Offtopic] XCode question: Quickly jump to a particular symbol/selector/class ?

2009-07-11 Thread I. Savant
On Jul 11, 2009, at 4:21 PM, Debajit Adhikary wrote: (I understand this is more of an XCode question, but knowing that this list has a lot of experienced Cocoa programmers using XCode, I'd specifically like to know what they use for this workflow case) It stands to reason that there are

KVC and addObject for to-many properties

2009-07-11 Thread Michael de Haan
Hi all, There have been quite a few questions about RaiseMan in the archives, but none have addressed this and the documentation that I have read does not answer this either, that I can find. :-).After implementing Undo/Redo in the app, where, in a nutshell, the contentArray of an

NSScrollView

2009-07-11 Thread Christopher Henrich
I am working on an app which (among other things) draws a diagram which is likely to be too large for the window in which it is to be displayed. Obviously, this is a job for NSScrollView. I have been perusing the documentation of NSScrollView, and I do not see an explicit statement of how

Re: KVC and addObject for to-many properties

2009-07-11 Thread Kyle Sluder
On Sat, Jul 11, 2009 at 2:36 PM, Michael de Haanm...@comcast.net wrote: The documentation is clear  as to which methods one needs to implement to comply with KVC , but the one that is missing is a simple addObject, which I assume one is doing when the user clicks  the Create New Employee

Re: KVC and addObject for to-many properties

2009-07-11 Thread Quincey Morris
On Jul 11, 2009, at 14:36, Michael de Haan wrote: There have been quite a few questions about RaiseMan in the archives, but none have addressed this and the documentation that I have read does not answer this either, that I can find. :-). After implementing Undo/Redo in the app, where,

Re: NSScrollView

2009-07-11 Thread Steve Christensen
The view hierarchy is: NSScrollView - NSClipView - YourDocumentView. I believe all you need to do is set the frame of your document view to be the size needed to represent your diagram and then everything else should just work, i.e., the scrollbars should correctly reflect the relative

Re: NSScrollView

2009-07-11 Thread Kyle Sluder
On Sat, Jul 11, 2009 at 3:04 PM, Christopher Henrichchenr...@monmouth.com wrote: Based on the section How Scroll Views Work, I surmise that the scroll view uses the frame rectangle to determine the size of the document view. Have I got this right? Not quite. You might want to review the View

Re: Core Data commit changes -- What does that mean?

2009-07-11 Thread Kyle Sluder
On Sat, Jul 11, 2009 at 2:07 PM, Jerry Krinockje...@ieee.org wrote: Is commit changes synonymous with send the managed object context a save: message and see it return YES? In the context of documentation such as that of -[NSManagedObjectContext deleteObjects], yes. That's the circumstance

Re: KVC and addObject for to-many properties

2009-07-11 Thread Michael de Haan
Clear as mud? Actually, Yes. :-) Kyle and Quincy, thank you. Michael. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: iPhone how to suppress phone dialer screen

2009-07-11 Thread William Squires
On May 8, 2009, at 8:16 AM, Conrad Taylor wrote: On Fri, May 8, 2009 at 4:59 AM, Shraddha Karwan shraddha.kar...@gmail.comwrote: On Fri, May 8, 2009 at 5:16 PM, Gwynne Raskind gwy...@darkrainfall.org wrote: Please don't suppress the standard dialer screen. As long as it remains, the

Best 'Cocoa' File Preview

2009-07-11 Thread David Blanton
What is the preferred method of showing a file preview (my unique content) in an NSOpenPanel ? The Accessory View looks 'hooky' to use , I want the preview in the next browser column. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Best 'Cocoa' File Preview

2009-07-11 Thread Rob Keniger
On 12/07/2009, at 1:02 PM, David Blanton wrote: What is the preferred method of showing a file preview (my unique content) in an NSOpenPanel ? The Accessory View looks 'hooky' to use , I want the preview in the next browser column. Write a QuickLook plugin for your document type. That

Re: Core Data commit changes -- What does that mean?

2009-07-11 Thread Jerry Krinock
On 2009 Jul 11, at 15:43, Kyle Sluder wrote: In the context of documentation such as that of -[NSManagedObjectContext deleteObjects], yes. That's the circumstance which sends NSManagedObjectContextDidSaveNotification. There is also discussion of commit editing but that seems to be