Re: Getting current mouse position after scroll

2010-12-03 Thread Dave Fernandes
I'm just playing with this myself, and when using an NSTrackingArea, I find I get cursorUpdate: events when scrolling. This event provides the mouse location just like mouseMoved:. Based on the sparse description for cursorUpdate:, however, I can't tell whether I can count on this behavior. Can

Re: PSClientDelegate

2010-12-03 Thread Stephen J. Butler
On Fri, Dec 3, 2010 at 5:38 PM, Daniel DeCovnick wrote: > For that matter, I'm not sure when to use these methods, versus when to > register for the PSFeedRefreshingNotification, > PSFeedEntriesChangedNotification, etc. In general, a framework that sends notifications will also, as a convenienc

PSClientDelegate

2010-12-03 Thread Daniel DeCovnick
Has anyone got any experience using the PubSub framework, specifically the PSClientDelegate API? There's no documentation on it whatsoever (except for one mention that it exists) (rdar://8395669). Looking in the header file, I see the following methods: - (void) feedDidBeginRefresh:(PSFeed *)f

Re: navigation bar tint color issue on iOS 4.2

2010-12-03 Thread Phillip Mills
On 2010-12-03, at 3:10 PM, Matt Neuburg wrote: > But obviously this is something the framework would rather you didn't do. :) ...and if the framework and IB had agreed that it was a bad idea, I probably wouldn't have bothered trying...for those hours. :-)__

Re: navigation bar tint color issue on iOS 4.2

2010-12-03 Thread Matt Neuburg
On Fri, 3 Dec 2010 13:24:03 -0500, Phillip Mills said: >On 2010-12-03, at 1:15 PM, Phillip Mills wrote: > >> I can affect the tint of the buttons but not the toolbar or navigationBar >> areas shown in the view controller that the popover is presenting. > >Just as a side note, it seems interesting

Re: CoreData not noticing changes to transformable properties

2010-12-03 Thread Adam Swift
Core data attributes are expected to be immutable and will be treated as such. To property track changes to the value of an attribute you'll need to replace the attribute object on the owning managed object with a different instance. Take a look at the encapsulation section of the model objec

CoreData not noticing changes to transformable properties

2010-12-03 Thread Jonathan del Strother
Hi, I have an NSManagedObject with a transformable property arrayOfWidgets, which is an NSArray of Widget instances, which implement encodeWithCoder: If I treat the Widget class as immutable, it all works fine : I assign an NSArray of initialized widgets to arrayOfWidgets, and call save on the ma

Re: navigation bar tint color issue on iOS 4.2

2010-12-03 Thread Phillip Mills
On 2010-12-03, at 1:15 PM, Phillip Mills wrote: > I can affect the tint of the buttons but not the toolbar or navigationBar > areas shown in the view controller that the popover is presenting. Just as a side note, it seems interesting that the toolbar reverts to its intended appearance when rot

Re: rotate UIImage based on rotation of UIView

2010-12-03 Thread Steve Christensen
One thing I noticed is that you're using the transform from wrapperView, which may not exclusively have your modifications applied. Have you tried caching the resultant scale, translation and rotation values from any gestures and then using those values to create a new transform from scratch? S

Re: navigation bar tint color issue on iOS 4.2

2010-12-03 Thread Phillip Mills
On 2010-12-03, at 11:13 AM, Matt Neuburg wrote: > On Thu, 02 Dec 2010 22:03:50 +0800, Kin Mak said: >> >> I have just upgraded my XCode to 3.2.5 and built and linked my iPad app >> using iOS 4.2. However, there seems to be a bug regarding navigation's bar >> tint color and popover: >> >> I a

Re: NSToolbar removeItemAtIndex

2010-12-03 Thread Fritz Anderson
On 2 Dec 2010, at 8:47 PM, k...@highrolls.net wrote: > In the app delegate applicationDidFinishLaunching I call > > [m_toolbar removeItemAtIndex:15]; > [m_toolbar removeItemAtIndex:17]; Examine m_toolbar. Is it nil? — F ___ Cocoa-dev mailing

Re: navigation bar tint color issue on iOS 4.2

2010-12-03 Thread Matt Neuburg
On Thu, 02 Dec 2010 22:03:50 +0800, Kin Mak said: > >I have just upgraded my XCode to 3.2.5 and built and linked my iPad app using >iOS 4.2. However, there seems to be a bug regarding navigation's bar tint >color and popover: > >I am having an iPad app using split view controller. The pop over c

QT streaming with initWithAttributes

2010-12-03 Thread Leonardo
Hi, I successfully create a QT streaming using initWithAttributes. The movie data is embedded within a "local" file, so I define (on the attributes) the offset and the length of the movie data within this file. Everything works well. But I can't get this to work when the file is over the internet.

Re: Basic HTTP program failed to compile

2010-12-03 Thread Sherm Pendley
On Fri, Dec 3, 2010 at 2:06 AM, ico wrote: > > My program is actually a Mac program rather than iPhone In that case... >> > On Fri, Dec 3, 2010 at 12:49 AM, ico wrote: >> > >> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/CoreFoundation.framewor

Re: Using MAPM with Cocoa/ObjectiveC

2010-12-03 Thread Martin Stanley
Duh!!! (Insert forehead slap here) Thanks for the very quick response. Martin On 2010-12-02, at 11:47 PM, Stephen J. Butler wrote: > Not at all familiar with this library but... > > On Thu, Dec 2, 2010 at 10:36 PM, Martin Stanley > wrote: >>int digits3 = m_apm_significant_digits(mapm3

Re: [iOS] How to know when AVPlayer is ready to play its remote url music

2010-12-03 Thread Tharindu Madushanka
Hi, Got it finally working with Blocks. But I am not sure whether this is the right way.. Is there any better way to determine playing started or not ?? // add time observer // obs (id) defined in class header obs = [[player addPeriodicTimeObserverForInterval:CMTimeMake(1, 3)

[iOS] How to know when AVPlayer is ready to play its remote url music

2010-12-03 Thread Tharindu Madushanka
Hi, I use following code to play a remote url mp3. But I want to know when its ready to play the music to show up some loading indicator until then. AVPlayer *player = [[AVPlayer playerWithURL:[NSURL URLWithString:awdioURL]] retain]; -- How do I update my view when I am using AVPlayer. There's