Brief background: I'm porting an audio generation system to Mac OS.
The code for generating audio is in C and has run on a couple of other
OSs. It's been reasonably straight forward to model the parameters for
this system with Core Data, and I'm excited about getting CD to handle
multiple Undo
If I invoke NSSound to play the same sound more than once, without
cycling through a run loop, it only plays the first time, and other
times, fails silently. [1]
If I cycle through a run loop, then it works fine. [2]
The documentation states that NSSounds play in a separate thread and I
Is it OK to perform a fetch during validateForInsert:/
validateForUpdate:? I have a Core Data entity named 'Person' with an
attribute named 'uniqueNumber'. I want to ensure that no two People
have the same uniqueNumber.
It's not a great idea during validateForDelete: It fine during
I can not find any data structure in Cocoa that maintains sorting
order of items gradually added in, using the pairwise comparison
results, something like the canonical set in C++'s STL that is usually
implemented as a balanced tree.
Thanks in advance.
Welcome to drink some Cocoa, play
On 28 Mar 09, at 01:25, an0...@gmail.com wrote:
I can not find any data structure in Cocoa that maintains sorting
order of items gradually added in, using the pairwise comparison
results, something like the canonical set in C++'s STL that is
usually implemented as a balanced tree.
Unlike
On 28.03.2009, at 09:25, an0...@gmail.com wrote:
I can not find any data structure in Cocoa that maintains sorting
order of items gradually added in, using the pairwise comparison
results, something like the canonical set in C++'s STL that is
usually implemented as a balanced tree.
See
There's nothing wrong with using Launch Services still. Jut because
it's a C API, doesn't mean it's Carbon and bad. NSWorkspace is just
an Obj-C wrapper round some of LaunchServices.
On 27 Mar 2009, at 18:47, Nathaniel Cunningham wrote:
Greetings,
I'm new to Cocoa, and helping to port a
Namaste!
This is off-list.
You know, I just went through this with the validateKey: bit. I found
that a side effect of fetching during that validateKey was the save
all pending changes bug.
I then tried the performSelector, which worked, however, then the
validateKey was no longer
Guess that WASN'T off-list. Sorry for the noise!
___
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.apple.com
I have core data document based application with a custom opengl layer-
hosting view. Everything works except when objects are added or
removed from the managed object model the view is not redrawn. So I
add the following to code to redraw the view but then automatic undo
is broken.
//
I'm using an NSCollectionViewItem to represent a core data model in an
NSCollectionView and need to find out wether or not the
NSCollectionViewItem is selected through a view embedded in the view
which is connected to the view outlet of the NSCollectionViewItem.
I've tried connecting an
I don't care the naming style, I care about the functionalities. And
it seems Cocoa is weak at supporting sorting-order-keeping data
structures at the high level APIs.
However, the reference is valuable. Thank you.
On Mar 28, 2009, at 6:45 PM, Andrew Farmer wrote:
On 28 Mar 09, at 01:25,
On Mar 28, 2009, at 7:33 AM, Richard Somers wrote:
I have core data document based application with a custom opengl
layer-hosting view. Everything works except when objects are added
or removed from the managed object model the view is not redrawn. So
I add the following to code to redraw
On Mar 28, 2009, at 9:15 AM, an0...@gmail.com wrote:
I don't care the naming style
Right, because that's utterly unimportant.
--
I.S.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
A guy in our CocoaHeads group (Quinn Taylor, works at Apple), adopted
the old abandoned DataStructures framework by Phillip Morelock and has
given it new life. You can checkout the source from our SVN
repository here:
http://cocoaheads.byu.edu/code/CHDataStructures
I must say, Quinn has
On Mar 28, 2009, at 3:25 AM, an0...@gmail.com wrote:
I can not find any data structure in Cocoa that maintains sorting
order of items gradually added in, using the pairwise comparison
results, something like the canonical set in C++'s STL that is
usually implemented as a balanced tree.
On Mar 28, 2009, at 1:33 PM, Richard Somers wrote:
I have core data document based application with a custom opengl
layer-hosting view. Everything works except when objects are added
or removed from the managed object model the view is not redrawn. So
I add the following to code to redraw
Hey,
I think I have figured out how to make stationary layers layout (stay
centered in the superlayer) automatically when the superlayer resizes, using
either autoresizeMask or the constraints, but I need to do the same for
layers that are moving.
I have a simple animation in which I set the
Hello,
I'm a bit confused by the documentation regarding UIViewController's
viewDidAppear:, viewDidDisappear:, viewWillAppear:, and
viewWillDisappear:.
Consider what the documentation says for viewDidAppear:
===
viewDidAppear:
Sent to the controller after the view fully appears and
On Mar 28, 2009, at 2:31 AM, Quincey Morris wrote:
On Mar 27, 2009, at 15:48, Stuart Malin wrote:
I have a view that contains an NSTextView. I place NSTrackingAreas
on portions of the TextView's text. I attach a userInfo dictionary
to each of the tracking areas with a variety of parameters.
I'm trying to use the new MPMediaItem class in iPhone SDK 3.0 to
obtain artist and album information. Every time I try to retrieve a
value based on the key constants it crashes telling me that it is not
key complaint for that key (ie title or artist etc)
NSString *aTitle =
https://devforums.apple.com/community/iphone/30beta
Cheers,
Dave
On Mar 28, 2009, at 2:48 PM, Bryan Hansen wrote:
I'm trying to use the new MPMediaItem class in iPhone SDK 3.0 to
obtain artist and album information. Every time I try to retrieve a
value based on the key constants it
1) If the default implementation does nothing, why must I invoke
super when overriding this method?
You're right, that's confusing. Could be several answers though: maybe
super does nothing visible, but still something; or maybe super could
start doing something in the future. It's better
Hi Hank,
thanks for your quick reply.
On Mar 28, 2009, at 9:56 PM, Hank Heijink (Mailinglists) wrote:
1) If the default implementation does nothing, why must I invoke
super when overriding this method?
You're right, that's confusing. Could be several answers though:
maybe super does
Is there an easy way to convert an existing SQLite database so it is
compatible with CoreData?
I would like to convert a non-CoreData SQLite database to a CoreData
SQLite database and bundle it with my application.
Do I have to build my own converter application to do this or is there
already
On Mar 28, 2009, at 2:52 PM, Greg Robertson wrote:
Is there an easy way to convert an existing SQLite database so it is
compatible with CoreData?
I would like to convert a non-CoreData SQLite database to a CoreData
SQLite database and bundle it with my application.
Do I have to build my own
Hi all,
I emailed the dev, and was given the sourcecode for SafariPlus, and
are currently trying to update it for Leopard.
I have very limited coding abilities, and was hoping it would be a lot
easier
I was hoping someone with some spare time, may be able to take a look
at the
the iPhone 3.0 SDK is under non-disclosure. You can't talk about it
publicly, including this mailing list.
The Apple Developer Forums (http://devforums.apple.com) provide an
appropriate forum for discussing iPhone 3.0 SDK without violating your
agreement.
Scott
[Moderator]
On
On Sat, Mar 28, 2009 at 2:11 AM, Jerry Krinock je...@ieee.org wrote:
If I invoke NSSound to play the same sound more than once, without cycling
through a run loop, it only plays the first time, and other times, fails
silently. [1]
If I cycle through a run loop, then it works fine. [2]
The
On Mar 23, 2009, at 19:53 , Development wrote:
I'm using an an NSXMLParser to parse a document. some of the
elements are as follows: element property=valueSome Thing/
element
The problem is that I cannot seem to come up with the element's
property. During the parse which callback is going
On Mar 23, 2009, at 20:13 , Dave Geering wrote:
On Tue, Mar 24, 2009 at 1:53 PM, Development
developm...@fornextsoft.com wrote:
I'm using an an NSXMLParser to parse a document. some of the
elements are as
follows: element property=valueSome Thing/element
The problem is that I cannot seem to
Hi everyone.
I have been looking into a way to search the user's hard drive for a files
and have settled on Spotlight. I will say ahead of time that if anyone has
a better way to search for files that are in changing places, I would love
to hear about it! Anyway, all the documentation I found
32 matches
Mail list logo