Re: contextual menu plugin example in cocoa

2009-09-01 Thread Mr. George Warner
On Tue, 1 Sep 2009 16:12:07 -0700, Mark Munz wrote: > I've filed a number of bugs on Services and recommend you do so as > well. Not sure if it is better to file each issue separately or group > them together. Please file each issue separately; Feel free to cc me on any bug #'s. -- Enjoy, Georg

Re: Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Bill Bumgarner
On Sep 1, 2009, at 10:37 PM, Laurent Daudelin wrote: I don't explicitly create one. However, from inside the beginning of the method that runs in this secondary thread, I did print a trace of the output of [NSRunLoop currentRunLoop] and I did get information about the current runloop, whic

Re: Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Laurent Daudelin
Clark, I don't explicitly create one. However, from inside the beginning of the method that runs in this secondary thread, I did print a trace of the output of [NSRunLoop currentRunLoop] and I did get information about the current runloop, which I assumed was set up when I detached. Am I

Re: Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Clark Cox
On Tue, Sep 1, 2009 at 10:16 PM, Laurent Daudelin wrote: > I've searched everywhere and cannot find the answer to this question. I have > a method that uses NSThread to detach another method in a different thread. > This method will then schedule another method but only after a certain delay > so I

Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Laurent Daudelin
I've searched everywhere and cannot find the answer to this question. I have a method that uses NSThread to detach another method in a different thread. This method will then schedule another method but only after a certain delay so I use performSelector:withObject:afterDelay: but that seco

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Graham Cox
On 02/09/2009, at 2:30 PM, Matthias Arndt wrote: It was my understanding that a custom view could be zoomed in (at least) two ways: (1.) using "scaleUnitSquareToSize" of the clip view (leaving the coordination system of the custom view untouched) or (2.) changing the bounds / frame of th

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Kyle Sluder
On Sep 1, 2009, at 9:30 PM, Matthias Arndt family.com> wrote: (1.) using "scaleUnitSquareToSize" of the clip view (leaving the coordination system of the custom view untouched) or Where did you hear about this technique? I don't know if it's guaranteed to work. The next time the scroll view

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Matthias Arndt
Am 01.09.2009 um 23:59 schrieb Kyle Sluder: Why are you scaling your clip view? It would make more sense to scale your document view. It was my understanding that a custom view could be zoomed in (at least) two ways: (1.) using "scaleUnitSquareToSize" of the clip view (leaving the coord

Re: saving files/folders in foreign language names

2009-09-01 Thread Kyle Sluder
On Tue, Sep 1, 2009 at 8:18 PM, Clark Cox wrote: > Where is that documented? Yes, the on-disk representation is always normalized. I was referring to the HFS+ interface routines. Except at the time I was actually misreading the HFS volume format technote, and I can't find anywhere in the documen

Re: Have sheet delay until done?

2009-09-01 Thread Chase Meadors
Thanks for your answer, I'll do just that. On Sep 1, 2009, at 9:59 PM, Graham Cox wrote: On 02/09/2009, at 12:50 PM, Chase Meadors wrote: the class keeps the "readyNewItem" property updated according to what happens with the sheet. The problem is, the -runNewItemSheet method is returning

Re: saving files/folders in foreign language names

2009-09-01 Thread Clark Cox
On Tue, Sep 1, 2009 at 2:55 PM, Kyle Sluder wrote: > On Tue, Sep 1, 2009 at 2:34 PM, Sean McBride wrote: >> There is no "the" filesystem.  HFS may store decomposed, but other >> systems may not.  And different file systems have a different set of >> allowable filenames.  Some low-ASCII characters a

Re: saving files/folders in foreign language names

2009-09-01 Thread Kyle Sluder
On Tue, Sep 1, 2009 at 2:34 PM, Sean McBride wrote: > There is no "the" filesystem.  HFS may store decomposed, but other > systems may not.  And different file systems have a different set of > allowable filenames.  Some low-ASCII characters are invalid too. 99% of users are running HFS+, which is

Re: Have sheet delay until done?

2009-09-01 Thread Graham Cox
On 02/09/2009, at 12:50 PM, Chase Meadors wrote: the class keeps the "readyNewItem" property updated according to what happens with the sheet. The problem is, the -runNewItemSheet method is returning right after starting the sheet. What I want is for it to wait until the didEnd selector is

Have sheet delay until done?

2009-09-01 Thread Chase Meadors
I have the following method: - (void)runNewItemSheet { [NSApp runSheet: modalForWindow]; } Then I call it in this manner - (void)someMethod { [myClass runNewItemSheet]; id item = [myClass readyNewItem]; //item is nil because -runNewItemSheet has already returned

Re: Changes in KVO behavior on SL?

2009-09-01 Thread Ken Thomases
On Sep 1, 2009, at 7:14 PM, Kevin Brock wrote: We've got an app that is using keyValueForPath: and observeValueForKeyPath:ofObject:change:context: to keep a status window up-to-date. On 10.5 it works fine. On 10.6 keyValueForPath: is called exactly once per property. When we later creat

Re: Changes in KVO behavior on SL?

2009-09-01 Thread Kyle Sluder
On Tue, Sep 1, 2009 at 5:14 PM, Kevin Brock wrote: > We've got an app that is using keyValueForPath: and > observeValueForKeyPath:ofObject:change:context: to keep a status window > up-to-date. It's valueForKeyPath:. > On 10.5 it works fine.  On 10.6 keyValueForPath: is called exactly once per > p

Changes in KVO behavior on SL?

2009-09-01 Thread Kevin Brock
We've got an app that is using keyValueForPath: and observeValueForKeyPath:ofObject:change:context: to keep a status window up-to-date. On 10.5 it works fine. On 10.6 keyValueForPath: is called exactly once per property. When we later create a change dictionary and send observeValueForKeyPa

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Eric Schlegel
On Sep 1, 2009, at 4:12 PM, Mark Munz wrote: I've filed a number of bugs on Services and recommend you do so as well. Not sure if it is better to file each issue separately or group them together. Please file issues separately, thanks. It's much easier for us to track since it's likely that

Re: CGImageDestinationFinalize image destination does not have enough images ?

2009-09-01 Thread Ken Ferry
Hi, -[NSBitmapImageRep representationOfImageRepsInArray:usingType:properties:] requires an array of NSBitmapImageReps, not arbitrary NSImageReps. -Ken On Tue, Sep 1, 2009 at 3:26 AM, DairyKnight wrote: > Hi, > I'm trying to extract pages from PDF files and save them to jpg. But keep > getting th

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Mark Munz
> - Items that change title and effect when modifier keys are used. > - Items that reflect the context on which they're about to operate (such as > a file name or "### Files"). > - Fine control over the conditions under which items are presented. You > can't, for example, define a command to operat

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Gregory Weston
Klaus Wik wrote: Actually, now that services isn't one big bloated list that is always on, it is a sensible replacement. Mixed feelings. It makes a certain kind of sense, but we lose a few things that I've considered important: - Items that change title and effect when modifier keys are us

Re: Build Issue?

2009-09-01 Thread Kyle Sluder
On Tue, Sep 1, 2009 at 2:10 PM, Thomas Willson wrote: > Is there anything else I can include to help someone answer my question? My > next step might have to be reinstalling the OS. You posted a vague question with no code and scant details of circumstance 16 hours ago. Impatience is not apprecia

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Kyle Sluder
On Tue, Sep 1, 2009 at 12:38 PM, Matthias Arndt wrote: > Under Mac OS X 10.5 I wrote an application with an NSScrollView containing a > custom view. The NSScrollView was composed using IB and the > "autohidesScrollers" option checked. As long as the content fits into the > NSScrollView the scroller

Re: saving files/folders in foreign language names

2009-09-01 Thread Sean McBride
On 9/1/09 2:55 PM, Kyle Sluder said: >> That might be the best approach, depending on all the usual things.  But >> 'high-ASCII' filenames have been acceptable on the Mac for a very long >> time, and do work. > >The problem is that the encoding used in the string literal might not >be that used on

Re: Build Issue?

2009-09-01 Thread Ricky Sharp
On Sep 1, 2009, at 4:10 PM, Thomas Willson wrote: Is there anything else I can include to help someone answer my question? My next step might have to be reinstalling the OS. Begin forwarded message: From: Thomas Willson Date: August 31, 2009 10:53:50 PM PDT To: cocoa-dev@lists.apple.com S

Re: Build Issue?

2009-09-01 Thread Uli Kusterer
Am 01.09.2009 um 23:10 schrieb Thomas Willson: Is there anything else I can include to help someone answer my question? My next step might have to be reinstalling the OS. Yes. What program are you running using NSTask, how are you running it, are you using absolute/relative paths, and how a

Re: Finder-style sorting and the SQL Core Data store, best practice?

2009-09-01 Thread Sean McBride
Melissa, Thanks for your speedy reply. That's great news that SnowLeopard supports those! Could you elaborate on performance implications? Does the SQL layer now support fancy sorting? Or is fancy sorting done after results are retrieved from the database? Alas, I must support ppc so I'd stil

Re: Scripting Bridge and multiple attachments

2009-09-01 Thread has
On 1 Sep 2009, at 11:29, cocoa-dev-requ...@lists.apple.com wrote: Israel Chauca Fuentes wrote: I'm using scripting bridge to send emails with Mail.app and I have managed to do so, but I still have a little problem. When adding attachments, the first one is placed at the beginning of the messag

Re: Finder-style sorting and the SQL Core Data store, best practice?

2009-09-01 Thread Melissa J. Turner
As of SnowLeopard, Core Data supports the following selectors for sorting in the SQLite store: compare: (since Tiger(I think)) caseInsensitiveCompare: (since Leopard) localizedCompare: (new in SL) localizedCaseInsensitiveCompare: (new in SL) localizedStandardCompare: (new in SL) The last compa

Re: SCNetworkReachability and impact of Snow Leopard

2009-09-01 Thread Kevin Elliott
On Aug 30, 2009, at 5:11 AM, Stuart Malin wrote: I am writing some code on 10.5 Leopard that uses SCNetworkReachability. The latest documentation (SysConfig.pdf dated 2009-07-30) shows the Network Reachability Flags (with names such as kSCNetworkReachabilityFlagsReachable) as being declar

Re: saving files/folders in foreign language names

2009-09-01 Thread Sean McBride
On 8/31/09 4:57 PM, Kyle Sluder said: >What does foreign language have to do with it? Are you perhaps using >accented characters like é in your pathnames? You need to be very >careful when doing that, because the filesystem stores it in >decomposed form as e + ´, There is no "the" filesystem.

Build Issue?

2009-09-01 Thread Thomas Willson
Is there anything else I can include to help someone answer my question? My next step might have to be reinstalling the OS. Begin forwarded message: From: Thomas Willson Date: August 31, 2009 10:53:50 PM PDT To: cocoa-dev@lists.apple.com Subject: Build Issue? I am having a really odd issue

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Matthias Arndt
When zoomin in the scrollers remain invisible! I can scroll (e. g. using the scrollball of my mouse), but the scrollers aren't shown. And now something really strange (at least for me): After resizing the window the scrollers appear! I've set a breakpoint and checked custom view, clip vie

Possible to set delegate on main menu?

2009-09-01 Thread Francisco Tolmasky
I'd like to populate the main menu in my application with an NSMenuDelegate (my app controller). However, the delegate methods don't seem to get called. Is it only possible to update menus in this manner that aren't the main menu? Thanks, Francisco _

IPhone tab bar problems

2009-09-01 Thread Oliver Doyle
I started developing for iPhone a few months back, which I found a real challenge because I paid my $99 without any programming experience, and since then Ive been having real fun learning about objective C and xcode. A few weeks ago I felt I had a good grasp of what a programmer needs to

Finder-style sorting and the SQL Core Data store, best practice?

2009-09-01 Thread Sean McBride
Hi all, The "Troubleshooting Core Data" document discusses the FAQ "SQLite store does not work with sorting". It suggests: "you may need to subclass NSArrayController so you can have it not pass the sort descriptors to the database and instead do the sorting after your data has been fetched". [1]

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Quincey Morris
On Sep 1, 2009, at 12:38, Matthias Arndt wrote: Under Mac OS X 10.5 I wrote an application with an NSScrollView containing a custom view. The NSScrollView was composed using IB and the "autohidesScrollers" option checked. As long as the content fits into the NSScrollView the scrollers were

Re: learning the NSView structure of an app?

2009-09-01 Thread Sean McBride
On 8/30/09 11:17 AM, Rob Keniger said: >> As a relatively new cocoa developer, one thing I struggle with is >> determining on visual inspection how an app is constructed in terms >> cocoa views. Some things are obvious like splitter views, the >> toolbar, etc. But some are not. Does anyone know

NSScrollView: Scrollers invisible under Mac OS X 10.6

2009-09-01 Thread Matthias Arndt
Hi! Under Mac OS X 10.5 I wrote an application with an NSScrollView containing a custom view. The NSScrollView was composed using IB and the "autohidesScrollers" option checked. As long as the content fits into the NSScrollView the scrollers were hidden. If the NSClipView was zoomed (usin

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Klaus Wik
Jean-Daniel Dupas wrote: Le 1 sept. 2009 à 19:41, Klaus Wik a écrit : Nick Zitzmann wrote: On Aug 19, 2009, at 5:26 PM, augusto callejas wrote: if so, where would i find sample code like above, except using just cocoa? There aren't any. You have to use Carbon for at least the entry point of

Best place to ask about event taps?

2009-09-01 Thread Rick Mann
What's the right list for questions about CGEventTap et al? TIA, Rick ___ 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 cocoa-dev-admins(at)lists.appl

stringByStandardizingPath no longer resolving symlinks in 10.6?

2009-09-01 Thread Jens Alfke
-[NSString stringByStandardizingPath] is supposed to, among other things, resolve symlinks in a path. From the NSString reference: Discussion If stringByStandardizingPath detects symbolic links in a pathname, thestringByResolvingSymlinksInPath method is called to resolve them. In 10.6 this

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Jean-Daniel Dupas
Le 1 sept. 2009 à 19:41, Klaus Wik a écrit : Nick Zitzmann wrote: On Aug 19, 2009, at 5:26 PM, augusto callejas wrote: if so, where would i find sample code like above, except using just cocoa? There aren't any. You have to use Carbon for at least the entry point of a CM plugin. After that,

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Klaus Wik
Nick Zitzmann wrote: On Aug 19, 2009, at 5:26 PM, augusto callejas wrote: if so, where would i find sample code like above, except using just cocoa? There aren't any. You have to use Carbon for at least the entry point of a CM plugin. After that, you can call any Foundation method you want

'auto rearrange content' option missing from NSTreeController, workarounds?

2009-09-01 Thread Sean McBride
Hi all, NSArrayController has the handy 'setAutomaticallyRearrangesObjects' aka 'auto rearrange content' option. However, NSTreeController does not. :( I'm curious why. But in any case, I'm looking for a way to keep my NSOutlineView 'always sorted'. After inline editing, undo, redo, adding a n

Re: Customizing too-tip style

2009-09-01 Thread I. Savant
On Sep 1, 2009, at 11:36 AM, Arun wrote: I want to display tool-tip on text fields in application. I want the tool-tip display style to be like as below -- | NSTextField | -- /\ ( ToolTip ) -

Customizing too-tip style

2009-09-01 Thread Arun
Hi All, I want to display tool-tip on text fields in application. I want the tool-tip display style to be like as below -- | NSTextField | -- /\ ( ToolTip ) --- Any idea on how

Re: NSMenuItem's selectors messages not sent

2009-09-01 Thread Lorenzo Thurman
I don't have GC turned on, I checked and they are not set to auto-enable. I added this to see if the message is even being dispatched and the target message is never sent: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(itemSelected:) name:NSMenuWillSendActionNotification

Re: refresh issue with QLPreviewPanel..!

2009-09-01 Thread Corbin Dunn
On Aug 31, 2009, at 10:26 PM, Naresh Kongara wrote: Hi, In snowleopard the framework is provided under quartz framework, and some changes are made for preview panel also, i.e instead of setting URLS we need to implement datasource methods. I had a seperate implementation for snowleopard.

Re: Drawing over a transparent background

2009-09-01 Thread Ron Fleckner
On 01/09/2009, at 11:31 PM, Dave Keck wrote: For the record... It's considered best practice to limit your drawRect: methods to strictly drawing. Often it's handy to take advantage of drawRect: for testing, but in production code, my original suggestion isn't a good idea. 8) In the past I've

Re: Drawing over a transparent background

2009-09-01 Thread Dave Keck
For the record... It's considered best practice to limit your drawRect: methods to strictly drawing. Often it's handy to take advantage of drawRect: for testing, but in production code, my original suggestion isn't a good idea. 8) In the past I've seen some nasty misuses of drawRect: (setting the

Re: Drawing over a transparent background

2009-09-01 Thread Ron Fleckner
On 01/09/2009, at 10:47 PM, Dave Keck wrote: Probably wherever you do the -setNeedsDisplay: for the view would be about right... ;-) Unfortunately that's not a good place either - the window's shadow needs to be invalidated after the drawing actually occurs, not just when the dirty flag is s

Re: Drawing over a transparent background

2009-09-01 Thread Dave Keck
> Probably wherever you do the -setNeedsDisplay: for the view would be about > right... ;-) Unfortunately that's not a good place either - the window's shadow needs to be invalidated after the drawing actually occurs, not just when the dirty flag is set. Instead of -setNeedsDisplay:, I think you

Re: Drawing over a transparent background

2009-09-01 Thread Graham Cox
On 01/09/2009, at 10:23 PM, Ron Fleckner wrote: I'll have a play/think about where to do it. Maybe in the custom window class or the app delegate. Probably wherever you do the -setNeedsDisplay: for the view would be about right... ;-) --Graham

Re: Drawing over a transparent background

2009-09-01 Thread Ron Fleckner
On 01/09/2009, at 8:36 PM, Dave Keck wrote: I believe you need to tell the window to invalidate its shadow. The end of ClockView's drawRect: is a bad place to do it, but as a proof of concept: - (void)drawRect: (NSRect)rect { ... lots of drawing code ... [[self window] invalidate

Re: How To Unbind

2009-09-01 Thread Mike Abdullah
On 31 Aug 2009, at 13:37, Richard Somers wrote: I have a controller. NSArrayController *controller; Then I establish a binding programmatically which works fine. [controller bind:@"managedObjectContext" toObject:self withKeyPath:@"managedObjectContext"

Re: Drawing over a transparent background

2009-09-01 Thread Dave Keck
I believe you need to tell the window to invalidate its shadow. The end of ClockView's drawRect: is a bad place to do it, but as a proof of concept: - (void)drawRect: (NSRect)rect { ... lots of drawing code ... [[self window] invalidateShadow]; }

Re: [iPhone 3.0] Flipping view doesn't play nice with Navigation and Tab bars.

2009-09-01 Thread Brian Bruinewoud
If it matters, here's the code I'm using to show the back view: - (IBAction) showInfo { GraphSettingsViewController *controller = [[GraphSettingsViewController alloc] initWithNibName:@"GraphSettingsView" bundle:nil]; controller.delegate = self; controller.modalTrans

CGImageDestinationFinalize image destination does not have enough images ?

2009-09-01 Thread DairyKnight
Hi, I'm trying to extract pages from PDF files and save them to jpg. But keep getting the 'doesnt have enough images' error. Anyone knows why? Thanks. Here's the code: // Opens the pdf file and gets the PdfPage PDFDocument *pdfDoc = [[PDFDocument alloc] initWithURL:[NSURL fileURLWithPath:filena

[iPhone 3.0] Flipping view doesn't play nice with Navigation and Tab bars.

2009-09-01 Thread Brian Bruinewoud
I have a Navigation Controller based app. In one of the view that can be navigated to, I have a tab bar and an (i) for information. Tapping the (i) flips the view to show the settings on the 'back'. All standard navigation methods and all more-or-less working EXCEPT, that the back-side view

Re: Drawing over a transparent background

2009-09-01 Thread Ron Fleckner
Well despite some good replies to my original query below, and many thanks for your interest to those who did reply, I'm still no nearer to being able to fix the problem. So I've made a relatively lightweight project that demonstrates what happens:

CoreLocation framework

2009-09-01 Thread Mahaboob
I need to show the nearby hotels,restaurants,hospitals etc. I get the current latitude and longitude by using the CoreLocation framework. How can I get the name of the place from this latitude and longitude? Which reverse geocoder I need to use? I'm using the iPhone OS2.2. Thanks in advance Maha

Re: Adding Segmented Buttons to Toolbar.

2009-09-01 Thread Philip Juel Borges
To Rob Keniger. I sent this message to cocoa-dev mailing list. But coming back from vacation I had forgot to set the Mail Delivery to enabled, so I never got your reply. I only found it today on Cocoabuilder. I'm having troubles setting the segmented cells in the toolbar. Hope you can hel

Re: "Format not a string literal and no format arguments"

2009-09-01 Thread Ken Thomases
On Aug 31, 2009, at 5:23 PM, Sean McBride wrote: #import int main (void) { NSString* foo = [NSString stringWithFormat: NSLocalizedString(@"%d days ago", @"some comment"), 350]; return 0; } $ gcc-4.2 -Wformat=2 -framework Cocoa test.m

Re: Snow Leopard bug?

2009-09-01 Thread Uli Kusterer
Am 01.09.2009 um 07:51 schrieb Graham Cox: Ah thanks, hadn't picked that change up. A trifle annoying, as I dislike the main recents menu filling up with irrelevant documents (so it was set to 0) but each app tracks their own. I guess I can't have it my way now . You could probably use 'd

Re: Scripting Bridge and multiple attachments

2009-09-01 Thread Graham Cox
I don't have an answer, but I recently did the same thing, and found that all my attachments end up at the beginning of the file, ahead of the text, no matter what I did. Here's my code, which is slightly different, but basically semantically identical to yours. iter = [[sel

Re: "Format not a string literal and no format arguments"

2009-09-01 Thread Uli Kusterer
Am 29.08.2009 um 21:25 schrieb Ken Thomases: When you don't provide a constant format string but you do provide arguments, it is assumed that you at least haven't made the most common form of mistake. Your code seems to recognize that the first argument is a format string which may require

Re: "Format not a string literal and no format arguments"

2009-09-01 Thread Uli Kusterer
Am 29.08.2009 um 21:19 schrieb Quincey Morris: So if you provide a string literal, there's no warning because it's assumed you're not going to hard-code stray '%' characters in it. If you provide arguments after the string (whether literal or not), it's assumed you've made sure the string re

Re: Two controllers in a window, how do I get one to run a function in another?

2009-09-01 Thread BareFeet
Hi Graham, To try to isolate the issue, I created a "Refresh" button and hooked it up to a refresh method in MyController. It just calls "init" (as below). When the program runs and instantiates a document that I open, debugging the init call shows the_document as nil. But when I click "R

Re: What sound plays after an Installer runs?

2009-09-01 Thread aaron smith
Thanks for the info. I've been snooping around in the installer app and it's not in there. It's not a huge deal though. Thanks. On Mon, Aug 31, 2009 at 7:15 AM, Steven Degutis wrote: > Aaron, > The sound played is not part of Cocoa if I recall correctly. It is located > inside Installer.app's Re

Scripting Bridge and multiple attachments

2009-09-01 Thread Israel Chauca Fuentes
Hi there! I'm using scripting bridge to send emails with Mail.app and I have managed to do so, but I still have a little problem. When adding attachments, the first one is placed at the beginning of the message, while the rest of them are placed at the end of the message, which is certain

Re: New Developer Docs for Cocoa and QTKit Developers with Snow Leopard Release

2009-09-01 Thread Ariel Feinerman
Hi Tom, I want to capture the rendering from OpenGL app (for example game) in high resolution and save one as a mov file for demo. Does your tutorial help me? -- best regards Ariel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Two controllers in a window, how do I get one to run a function in another?

2009-09-01 Thread Chase Meadors
Define an outlet in "MyController" IBOutlet id documentController; Connect it to "MyDocument" in interface builder. Then call: [documentController fileString]; --- This is a minor annoyance when using multiple controllers, as they will probably need information from the other controllers.

NSScrollView in CaLayer small redraw issues

2009-09-01 Thread Oriol Ferrer Mesià
Hi, I'm working on an app that allows the user to change the size of a textView. I want the user to be able to change the font of the textview, and I want the textview to fadeout and fadein when changing it. To do so, I need to drop the alpha of the textView, and to do so, it needs to be

a bug in iphone SDK's creation of view based xib files.

2009-09-01 Thread jon
a bug in iphone SDK's creation of view based xib files. (this is using 3.1, but other's probably apply) steps to reproduce. step 1. create a new iPhone View-based Application in Xcode. step 2. add a new Class.. "Cocoa Touch Class" of UIViewController subclass. step 3. be sure to incl

Snow Leopard and NSPredicateRowTemplate

2009-09-01 Thread Arved von Brasch
Hi Dev list, I've just updated to Snow Leopard and have found that some of my code no longer works. In particular, an NSPredicateRowTemplate where the contents of the third popup button were filled with the contents of a CoreData store. This is the relevant code: - (id)copyWithZone: (NS