CALayer drawing efficiency

2011-03-13 Thread Martin Hewitson
Dear list, I'm working on an app which will show a grid of CALayers (a few hundred in total), each layer is constrained so that its size scales up and down with the super layer. The super layer is then hosted by a view and resizes with the view. Each of the grid layers then has sublayers showin

Re: SDK 10.6 with Target 10.5

2011-03-13 Thread Chris Hanson
On Mar 13, 2011, at 4:19 PM, Leonardo wrote: > on Xcode 4.0, I have noticed, just accidentally, that when the Base SDK is > set to Mac OS X 10.6 and the deployment target to 10.5, I don't get any > alert about the use of not-available-APIs. This is how the Base SDK and Deployment Target build set

Re: kqueue and kevent

2011-03-13 Thread Kyle Sluder
On Sun, Mar 13, 2011 at 4:48 PM, Jeffrey Walton wrote: > Be careful of this sort of functionality, especially when an adversary > controls the event. In essence, the event should be consider > "untrusted user input". Unless I'm missing something, I don't see how this is any more dangerous than ca

Re: kqueue and kevent

2011-03-13 Thread Jeffrey Walton
On Sun, Mar 13, 2011 at 3:15 PM, Dave Keck wrote: >> I have used kqueue and kevents for event triggering. However i am not sure >> if it is possible to send events to a kqueue? Googling didnt  helped. I was >> thinking as its "kernel" que and kernel notifies. Does it mean that users >> can not sen

SDK 10.6 with Target 10.5

2011-03-13 Thread Leonardo
Hi, on Xcode 4.0, I have noticed, just accidentally, that when the Base SDK is set to Mac OS X 10.6 and the deployment target to 10.5, I don't get any alert about the use of not-available-APIs. In facts I have used [NSNumberFormatter localizedStringFromNumber:... which is available on 10.6 and

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Steve Christensen
On Mar 13, 2011, at 11:05 AM, Matt Neuburg wrote: > On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen said: >> The setup has a MPMoviePlayerController instance that is playing a local >> audio file. There is also a UIWebView whose HTML contains an tag. >> When the play control is tapped, I

Animating window content border

2011-03-13 Thread Quincey Morris
I don't seem to be able to find a way of animating a window's bottom edge content border size ('contentBorderThicknessForEdge:') when resizing a window. Specifically, I have a window with a normal bottom border of (say) 20 points. I want to increase the window height by (say) 30 points, and at

Re: Core Data Intermittently Blocked Over AFP? (Steve Steinitz)

2011-03-13 Thread Steve Steinitz
I wrote: The machines appear to become "blocked", i.e. fetches that usually take a few hundredths of a second begin take 15 to 40. It happens after another machine saves to the database. Only relaunching the App fixes it - until another machine saves. Increasing SQLite's cache_size solved th

Re: kqueue and kevent

2011-03-13 Thread Dave Keck
> I have used kqueue and kevents for event triggering. However i am not sure > if it is possible to send events to a kqueue? Googling didnt  helped. I was > thinking as its "kernel" que and kernel notifies. Does it mean that users > can not send events > to a queue other than signals? The kernel i

kqueue and kevent

2011-03-13 Thread Abhinav Tyagi
Hi, I have used kqueue and kevents for event triggering. However i am not sure if it is possible to send events to a kqueue? Googling didnt helped. I was thinking as its "kernel" que and kernel notifies. Does it mean that users can not send events to a queue other than signals? Abhi

Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]

2011-03-13 Thread Matt Neuburg
On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen said: >The setup has a MPMoviePlayerController instance that is playing a local audio >file. There is also a UIWebView whose HTML contains an tag. When the >play control is tapped, I see a MPMoviePlayerPlaybackDidFinishNotification >notific

Problem with NSPredicate in core data fetch request

2011-03-13 Thread Gideon King
I'm seeing a strange thing with a predicate. When I apply the predicate to a fetch request, it doesn't return any results, but when I do the fetch without the predicate and then use filteredArrayUsingPredicate to filter the results, it has the matching row that I expect. Here are the results of

Re: Using the same typedef in multiple files

2011-03-13 Thread Joanna Carter
> I have what I suppose is a very basic question about the use of a typedef'd > enumerated data type. I want to use such a definition in multiple > implementation files in my project, and I'm wondering what would be the best > place to put the definition, so it is accessible from all these diffe

Using the same typedef in multiple files

2011-03-13 Thread Luc Van Bogaert
Hi, I have what I suppose is a very basic question about the use of a typedef'd enumerated data type. I want to use such a definition in multiple implementation files in my project, and I'm wondering what would be the best place to put the definition, so it is accessible from all these differen