HI, I have a subclass of NSTextView that I am showing on a window. I sometimes
want to display it zoomed in, so have been using scaleUnitSquareToSize:, and
this works fine so long as the text is left aligned.
When I am zoomed in, and using either center alignment or right alignment the
text a
I saw that assertion yesterday in a bit of code that was accidentally calling a
MPMoviePlayerController method from a secondary thread.
Dave
On Mar 8, 2011, at 5:01 PM, Steve Christensen wrote:
> I'm seeing the above assertion in an app running on iOS 4.2.1. It then throws
> an NSInternalIncon
Hi,
I have a plist with an array of dictionaries.
Now every of these dictionaries has a key 'ID' with an integer.
Now how I can get only one dictionary element out of this array where key is
equal to x?
thanks for any advice!
___
Cocoa-dev mailing
Load the array into memory.
Create an NSPredicate with the predicateFormat: @"ID = %d", myID
Use filteredArrayUsingPredicate:
The resulting array contains the dictionaries you're looking for.
OR
Loop through the array and find it yourself.
Dave
On Mar 9, 2011, at 9:18 AM, Martin Batholdy wrote:
Matt, Kyle,
Thanks for taking your time to give me your thoughts on this. It's
good food-for-thought and "thought" is what I need now... Thanks!
Chris
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderato
Kevin,
> I see -abortParse and parseErrorOccurred: as there for when your
> parser chokes on the data.
> I think you're jumping in a bit early by using abort.
Okay, I've got it. Thanks very much for the input! I plan to answer my
question on StackOverflow and I'll give you a mention unless you
ob
Since Xcode 4 was just released on the App Store and can now be downloaded by
anyone with an internet connection, is it safe to say that it no longer has
“secret” status and can be talked about without violating NDA?
Charles___
Cocoa-dev mailing list
On Wed, Mar 9, 2011 at 1:16 PM, Charles Srstka wrote:
> Since Xcode 4 was just released on the App Store and can now be downloaded by
> anyone with an internet connection, is it safe to say that it no longer has
> “secret” status and can be talked about without violating NDA?
If you do want to
CocoaHeads Lake Forest will be meeting on the second Wednesday of the month.
Please join us TONIGHT from 7pm to 9pm on Wednesday, 3/9. We will be
meeting at the Orange County Public Library (El Toro) community room, 24672
Raymond Way, Lake Forest, CA 92630
This will be a somewhat informal meetin
On Mar 3, 2011, at 3:31 AM, Uli Kusterer wrote:
> On 02.03.2011, at 10:54, Andreas Grosam wrote:
>> I have a very basic custom UIViewController with its own associated nib
>> file. This view controller is the "root view controller" of a Navigation
>> Controller which is itself embedded within a
In my app I want to find all mounted DVD volumes, including those mounted from
other Macs on my network.
The reason is that I want the user to be able to choose the one they want.
Here is the code I am using to find them (based on the CDROM sample from Apple):
kern_return_t FindEjectableDVDMedia
11 matches
Mail list logo