I have a UIView subclass that overrides UIResponder's touchesMoved: message. 
I've noticed that when I swipe my finger very quickly across the UIView, my 
touchesMoved: message only gets called every so often and not constantly 
getting messaged.

Any ideas?

Thanks.




On Apr 21, 2010, at 3:03 PM, cocoa-dev-requ...@lists.apple.com wrote:

> Send Cocoa-dev mailing list submissions to
>       cocoa-dev@lists.apple.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.apple.com/mailman/listinfo/cocoa-dev
> or, via email, send a message with subject or body 'help' to
>       cocoa-dev-requ...@lists.apple.com
> 
> You can reach the person managing the list at
>       cocoa-dev-ow...@lists.apple.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cocoa-dev digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: appscript project gives warning with XCODE 3.2.2
>      (Karl Moskowski)
>   2. Determining preferred localizations (Gregory Weston)
>   3. NaN Problem Adding Numbers from NSTableView (Philip Juel Borges)
>   4. Re: Custom progress bar for QTMovie?? (douglas welton)
>   5. playing QuickTime movies on iPhone/iPad? (Steve Christensen)
>   6. Re: Determining preferred localizations (Gary L. Wade)
>   7. Re: need help getting Apple sample code to compile (David Duncan)
>   8. Re: using coregraphics with vector art from illustrator
>      (Ross Carter)
>   9. Re: Why is compiler warning for
>      +setKeys:triggerChangeNotificationsForDependentKey: ?? (Greg Parker)
>  10. Re: CoreData: updating property of fetched object and
>      refetching (olivier destrebecq)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 21 Apr 2010 09:02:06 -0400
> From: Karl Moskowski <kolpa...@voodooergonomics.com>
> Subject: Re: appscript project gives warning with XCODE 3.2.2
> To: cocoa-dev@lists.apple.com
> Cc: jote...@charter.net
> Message-ID:
>       <d2944e51-f639-4b96-8b0d-e02525b3b...@voodooergonomics.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> 
> On 2010-04-21, at 8:17 AM, John Love wrote:
> 
>> Everything worked just dandy for SourceForge's "appscript" with XCODE 3.2.1. 
>>  But, with updating to 3.2.2, it is giving me some grief:
>> 
>> For one project, it's giving a warning:
>> 
>> ld: warning: directory '/Users/johnlove/Documents/XCode/Calculate 
>> Medical/../../../appscript/Appscript Framework Project/build/Debug' 
>> following -F not found
>> 
>> Being a warning, app still runs and runs impeccably.
>> 
>> I thought that maybe the appscript framework needed to be re-built with 
>> XCODE 3.2.2 .. but that attempt generates an error:
>> 
>> There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'.
>> 
>> I can hardly remember Tiger sdk's being on my hard drive.
>> 
>> Building with 3.2.1 gives no error.
> 
> I've seen the same problem with tool-type targets, though only in build 
> configs with the setting Build Active Architecture Only unchecked (e.g., the 
> Release config, in a new Foundation tool project). I first noticed it with 
> Sparkle on 3.2.2 - building the relaunch tool target shows these warnings.
> 
> It looks like it's a bug in 3.2.2. I filed it (rdar://7872548), in case 
> anyone else wants to jump on the bandwagon.
> 
> ----
> Karl Moskowski <kolpa...@voodooergonomics.com>
> Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 3692 bytes
> Desc: not available
> Url : 
> http://lists.apple.com/pipermail/cocoa-dev/attachments/20100421/50349804/smime.bin
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 21 Apr 2010 09:59:48 -0400
> From: Gregory Weston <gwes...@mac.com>
> Subject: Determining preferred localizations
> To: cocoa-dev Dev <cocoa-dev@lists.apple.com>
> Message-ID: <a977463a-b8f0-4b24-9284-03012bee3...@mac.com>
> Content-Type: text/plain; charset=us-ascii
> 
> I'm trying to display a localized list of attached displays, and getting 
> unexpected results in Carbon and Cocoa when attempting to determine the best 
> localization. I did all the obvious-to-me Google searches without finding 
> much except a couple of other people over the years having similar issues and 
> no real resolution. Sample code and results follow. Hoping someone can point 
> me in the right direction.
> 
> FWIW, I've tried both "en" and "English" for both the Info.plist development 
> region and the localized resources folder in the app.
> 
> Thanks for any help.
> 
> Greg
> 
> - (NSString*)bestLocalization:(NSArray*)inChoices
> {
>  NSUserDefaults* theDefaults = [NSUserDefaults standardUserDefaults];
>  NSArray* theUserSettings = [theDefaults objectForKey:@"AppleLanguages"];
>  NSLog(@"User Settings: %@", theUserSettings);
> 
>  NSLog(@"Choices: %@", inChoices);
> 
>  NSArray* theBestOnes = [NSBundle preferredLocalizationsFromArray:inChoices];
>  NSLog(@"Chose: %@", theBestOnes);
> 
>  return [theBestOnes objectAtIndex:0];
> }
> 
> Mac mini (Early 2009) 10.6.3 with Dell 2007WFP:
> 
> User Settings: (English)
> Choices: ("en_US")
> Chose: ("en_US")
> 
> MacBook Core 2 Duo 10.6.3:
> 
> User Settings: (en, fr, ja, de, es, it, nl, sv, nb, da, fi, pt, "zh-Hans", 
> "zh-Hant", ko, ru, pl, "pt-PT")
> Choices: ("nl_NL", "da_DK", "pl_PL", "en_US", "nb_NO", "fr_FR", "pt_BR", 
> "pt_PT", "zh_CN", "es_ES", "ja_JP", "ru_RU", "sv_SE", "zh_TW", "de_DE", 
> "fi_FI", "it_IT", "ko_KR")
> Chose: ("zh_CN")
> 
> MacBook Pro 10.5.8 plus Apple Cinema Display:
> 
> User Settings: (en, fr, ja, de, es, it, pt, "pt-PT", nl, sv, nb, da, fi, ru, 
> pl, "zh-Hans", "zh-Hant", ko)
> Choices: ("it_IT", "en_US", "ko_KR", "fi_FI", "nb_NO", "ru_RU", "zh_CN", 
> "nl_NL", "de_DE", "ja_JP", "pl_PL", "es_ES", "fr_FR", "zh_TW", "da_DK", 
> "sv_SE", "pt_BR", "pt_PT")
> Chose: ("fr_FR")
> User Settings: (en, fr, ja, de, es, it, pt, "pt-PT", nl, sv, nb, da, fi, ru, 
> pl, "zh-Hans", "zh-Hant", ko)
> Choices: ("it_IT", "en_US", "ko_KR", "fi_FI", "nb_NO", "ru_RU", "zh_CN", 
> "nl_NL", "de_DE", "ja_JP", "pl_PL", "es_ES", "fr_FR", "zh_TW", "da_DK", 
> "sv_SE", "pt_BR", "pt_PT")
> Chose: ("fr_FR")
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 21 Apr 2010 16:53:29 +0200
> From: Philip Juel Borges <philipjbor...@gmail.com>
> Subject: NaN Problem Adding Numbers from NSTableView
> To: cocoa-dev@lists.apple.com
> Message-ID: <58156fbd-ca5f-464f-937e-85829a2f1...@gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> 
> Hi,
> 
> I've googled this issue to no avail until now. In my application I  
> have a tableview with 6 columns to enter numbers for statistic  
> purposes. That works fine. Yet, I've run into a problem adding the  
> numbers together. Under each column below the tableview I have placed  
> an NSLabel to show the total amount. I bind that label under Value in  
> the bindings panel like so:
> 
> Bind To: myArrayController
> Controller Key: arrangedObjects
> Model Key Path: properti...@sum.hours
> 
> But some times I need to leave a tableview cell blank and then it  
> writes NaN in the label. If I type in 0 (zero) it adds up the numbers  
> nicely. But I'd rather just leave the selection empty rather than  
> typing in a zero.
> 
> Any ideas how to solve the NaN issue?
> 
> --Philip
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 21 Apr 2010 10:57:04 -0400
> From: douglas welton <douglas_wel...@earthlink.net>
> Subject: Re: Custom progress bar for QTMovie??
> To: Chase Meadors <c.m.cocoa...@gmail.com>
> Cc: Cocoa-Dev List <cocoa-dev@lists.apple.com>
> Message-ID: <74db30ed-99eb-462e-90c2-a446846c7...@earthlink.net>
> Content-Type: text/plain; charset=us-ascii
> 
> Chase,
> 
> The method I use for doing this relies on QuickTime, not QTKit.  Even so, I 
> think it is most effective.  I implement a movieController action callback 
> filter.  This method is demonstrated in the "Adding New Capabilities to the 
> QTKitPlayer Application" section of this document:
> 
> <http://developer.apple.com/legacy/mac/library/documentation/QuickTime/Conceptual/QTKitProgrammingGuide/Chapter05/AddingToQTKitPlayer.html#//apple_ref/doc/uid/TP40001245-CH207-TPXREF101>
> 
> later,
> 
> douglas
> 
> 
> 
> 
> Establish a 
> 
> On Apr 20, 2010, at 11:09 PM, Chase Meadors wrote:
> 
>> I'm making a completely custom CoreAnimation-based view that plays an audio 
>> media stored in a QT movie. However, I'm struck with an implementation 
>> problem with indicating the current time in the movie.
>> 
>> Ideally, if QTMovie defined a currentTime property, I could use bindings or 
>> a binding-like design to handle the implementation of some time text & 
>> progress bar. However, QTMovie does not define it as a property. It appears 
>> setCurrentTime is not meant as an accessor to the variable; it's not called 
>> when current time changes. There also is no delegate method or anything that 
>> is called when currentTime changes.
>> 
>> I could setup a timer to check on my QTMovie's currentTime, but that seems 
>> silly to setup a 1 second timer to check that the current time has increased 
>> by 1 second, when I could just maintain my own current time property.
>> 
>> As said before, I could maintain my own currentTime property, incrementing 
>> it every second that the QTMovie is playing, and I suppose re-sync it 
>> whenever the user manually changes the currentTime. However, this just seems 
>> like horrible design.
>> 
>> So anyway, QTMovie doesn't appear to support a bindings like design for it's 
>> currentTime, so how would one go about implementing a custom progress 
>> slider, or text, representing the current time of a QTMovie??
>> 
>> Thanks for any thoughts! -Chase
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Wed, 21 Apr 2010 08:01:08 -0700
> From: Steve Christensen <puns...@mac.com>
> Subject: playing QuickTime movies on iPhone/iPad?
> To: cocoa-dev Dev <cocoa-dev@lists.apple.com>
> Message-ID: <84b16fee-9232-40d9-87c9-ae0847ef3...@mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> 
> I have a need to be able to play a QuickTime movie containing subtitle  
> tracks, and to be able to turn specific tracks on or off. In looking  
> through the iPhone/iPad docs, it looks like the movie player classes  
> are pretty much restricted to simple playback functions. Have I missed  
> something?
> 
> steve
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Wed, 21 Apr 2010 08:25:39 -0700
> From: "Gary L. Wade" <garyw...@desisoftsystems.com>
> Subject: Re: Determining preferred localizations
> To: <cocoa-dev@lists.apple.com>
> Message-ID: <c7f46703.27d84%garyw...@desisoftsystems.com>
> Content-Type: text/plain;     charset="US-ASCII"
> 
> The list you are getting is a set of preferred localizations, so when trying
> to get a resource from the first one, if not available, will go on to the
> next one and so forth.
> 
> You should utilize the localization-aware methods to handle getting
> resources rather than trying to manage this yourself.  There's really only
> two reasons I've encountered a need for this kind of granularity, the first
> where you're forced to use a set of legacy resources that you're unable to
> move into the right places, and the second a localization utility.
> 
> 
> On 04/21/2010 6:59 AM, "Gregory Weston" <gwes...@mac.com> wrote:
> 
>> I'm trying to display a localized list of attached displays, and getting
>> unexpected results in Carbon and Cocoa when attempting to determine the best
>> localization. I did all the obvious-to-me Google searches without finding 
>> much
>> except a couple of other people over the years having similar issues and no
>> real resolution. Sample code and results follow. Hoping someone can point me
>> in the right direction.
>> 
>> FWIW, I've tried both "en" and "English" for both the Info.plist development
>> region and the localized resources folder in the app.
>> 
>> Thanks for any help.
>> 
>> Greg
>> 
>> - (NSString*)bestLocalization:(NSArray*)inChoices
>> {
>>  NSUserDefaults* theDefaults = [NSUserDefaults standardUserDefaults];
>>  NSArray* theUserSettings = [theDefaults objectForKey:@"AppleLanguages"];
>>  NSLog(@"User Settings: %@", theUserSettings);
>> 
>>  NSLog(@"Choices: %@", inChoices);
>> 
>>  NSArray* theBestOnes = [NSBundle preferredLocalizationsFromArray:inChoices];
>>  NSLog(@"Chose: %@", theBestOnes);
>> 
>>  return [theBestOnes objectAtIndex:0];
>> }
>> 
>> Mac mini (Early 2009) 10.6.3 with Dell 2007WFP:
>> 
>> User Settings: (English)
>> Choices: ("en_US")
>> Chose: ("en_US")
>> 
>> MacBook Core 2 Duo 10.6.3:
>> 
>> User Settings: (en, fr, ja, de, es, it, nl, sv, nb, da, fi, pt, "zh-Hans",
>> "zh-Hant", ko, ru, pl, "pt-PT")
>> Choices: ("nl_NL", "da_DK", "pl_PL", "en_US", "nb_NO", "fr_FR", "pt_BR",
>> "pt_PT", "zh_CN", "es_ES", "ja_JP", "ru_RU", "sv_SE", "zh_TW", "de_DE",
>> "fi_FI", "it_IT", "ko_KR")
>> Chose: ("zh_CN")
>> 
>> MacBook Pro 10.5.8 plus Apple Cinema Display:
>> 
>> User Settings: (en, fr, ja, de, es, it, pt, "pt-PT", nl, sv, nb, da, fi, ru,
>> pl, "zh-Hans", "zh-Hant", ko)
>> Choices: ("it_IT", "en_US", "ko_KR", "fi_FI", "nb_NO", "ru_RU", "zh_CN",
>> "nl_NL", "de_DE", "ja_JP", "pl_PL", "es_ES", "fr_FR", "zh_TW", "da_DK",
>> "sv_SE", "pt_BR", "pt_PT")
>> Chose: ("fr_FR")
>> User Settings: (en, fr, ja, de, es, it, pt, "pt-PT", nl, sv, nb, da, fi, ru,
>> pl, "zh-Hans", "zh-Hant", ko)
>> Choices: ("it_IT", "en_US", "ko_KR", "fi_FI", "nb_NO", "ru_RU", "zh_CN",
>> "nl_NL", "de_DE", "ja_JP", "pl_PL", "es_ES", "fr_FR", "zh_TW", "da_DK",
>> "sv_SE", "pt_BR", "pt_PT")
>> Chose: ("fr_FR")
>> _______________________________________________
>> 
>> 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
>> 
>> Help/Unsubscribe/Update your Subscription:
>> 
> http://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.co>
> m
>> 
>> This email sent to garyw...@desisoftsystems.com
> 
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Wed, 21 Apr 2010 09:06:11 -0700
> From: David Duncan <david.dun...@apple.com>
> Subject: Re: need help getting Apple sample code to compile
> To: WT <jrca...@gmail.com>
> Cc: Cocoa Dev <cocoa-dev@lists.apple.com>
> Message-ID: <4379b7df-c725-4dcf-8195-a37acbb9d...@apple.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Apr 21, 2010, at 3:51 AM, WT wrote:
> 
>> I'm trying to compile the XML Performance sample code for the iPhone, but I 
>> have so far been unsuccessful.
> 
> I just downloaded and built the sample without issue, the ReadMe describes 
> what you might need to do to include libXML in your own project, not 
> modifications necessary to the sample (sample code is designed to be self 
> contained and built without modification as a general case).
> 
>> What am I missing?
> 
> 
>> From what I can tell, your doing too much.
> --
> David Duncan
> Apple DTS Animation and Printing
> 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Wed, 21 Apr 2010 13:47:59 -0400
> From: Ross Carter <rosscarter...@me.com>
> Subject: Re: using coregraphics with vector art from illustrator
> To: Cocoa-dev <cocoa-dev@lists.apple.com>
> Message-ID: <c9bd67c7-caac-48b3-bc11-6b0c584bd...@me.com>
> Content-Type: text/plain; charset=us-ascii
> 
>> Is there perhaps a way to create vector art paths in illustrator, and import
>> the data into xcode and use those paths in CG and stroke/fill them there?
> 
> It might be worth looking at Opacity from likethought.com. It exports 
> directly into source code.
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Wed, 21 Apr 2010 10:49:18 -0700
> From: Greg Parker <gpar...@apple.com>
> Subject: Re: Why is compiler warning for
>       +setKeys:triggerChangeNotificationsForDependentKey: ??
> To: Roland King <r...@rols.org>
> Cc: Steve Cronin <steve_cro...@mac.com>,      Cocoa-Dev List
>       <cocoa-dev@lists.apple.com>
> Message-ID: <27db1710-31d3-4637-a887-43fd358ba...@apple.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Apr 20, 2010, at 7:16 PM, Roland King wrote:
>> Either way I still don't see why you'd get a method potentially not found 
>> warning, I'd expect a deprecation warning.
> 
> There was a compiler bug wherein deprecation warnings on class methods did 
> not work. It should be fixed in a future developer tools release, if it isn't 
> fixed already.
> 
> 
> -- 
> Greg Parker     gpar...@apple.com     Runtime Wrangler
> 
> 
> 
> 
> ------------------------------
> 
> Message: 10
> Date: Wed, 21 Apr 2010 11:14:30 -0700
> From: olivier destrebecq <oliv...@umich.edu>
> Subject: Re: CoreData: updating property of fetched object and
>       refetching
> To: Keary Suska <cocoa-...@esoteritech.com>
> Cc: "Cocoa-Dev \(Apple\)" <cocoa-dev@lists.apple.com>
> Message-ID:
>       <z2p586a4de21004211114w69cfeee8l2918909b221aa...@mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> Thanks, that solved it.
> 
> Olivier
> http://www.flickr.com/photos/otusweb/
> 
> 
> 
> On Tue, Apr 20, 2010 at 4:16 PM, Keary Suska <cocoa-...@esoteritech.com>wrote:
> 
>> On Apr 20, 2010, at 11:22 AM, olivier destrebecq wrote:
>> 
>>> Just to clarify, when i say save, i mean call save: on the context and
>> write
>>> it to disk. Which  the documentation state that you don't have to call
>> save:
>>> to be able to query for objects and that modified object will be found.
>> 
>> Yes. Everything the person said in their email was entirely false (even the
>> statement about SQL). Ignore it completely.
>> 
>>> If i wait a little bit (probably for the next event in the event loop)
>> then
>>> the object is found and i never called save: on the context (which will
>> save
>>> the context to disk). I actually only  call save:  when the app exits.
>>> 
>>> The save: method will commit to disk, i'll looking for what trigger a
>> commit
>>> to context I guess.
>> 
>> All the save: does is flush all changes to the context to the persistent
>> store. Therefore, they must already be "committed" to the context, so to
>> speak. Assuming that you have only one context and are not using multiple
>> threads, you may be running into an issue where you have to call
>> -processPendingChanges on the context. This might be why you see the delay
>> in "committing", as processPendingChanges  is normally called in the run
>> loop. Give that a shot.
>> 
>>> I think what i'm running into is this:
>>> "If you fetch some objects, work with them, and then execute a new fetch
>>> that includes a superset of those objects, you do not get new
>>> instances or*update data for the existing objects
>>> *˜you get the existing objects with their current in-memory state."
>>> 
>>> The question is how do i commit the updated data to the in memory
>>> representation?
>> 
>> Just to clarify that statement, the docs are simply saying that, no matter
>> what, you will always get the in-memory representation, and in fact, will
>> get the very same manage object that you have previously edited, rather than
>> a new object with updated values.
>> 
>>> On Tue, Apr 20, 2010 at 9:23 AM, Joanna Carter <
>>> cocoa...@carterconsulting.org.uk> wrote:
>>> 
>>>> Hi Olivier
>>>> 
>>>>> I create an object and insert it into the context, then i update a
>> couple
>>>>> properties.
>>>>> 
>>>>> Later I i do a fetch request with a predicate on the property i updated
>>>>> after the insertion. If i do this fetch right after the update of the
>>>>> property (using the accessors provided by coreData), then the fetch
>> does
>>>> not
>>>>> find the object I created. If i wait longer then it finds it.
>>>>> 
>>>>> Is there a way to "commit" the change so that the fetch will find the
>>>> object
>>>>> without saving. I don't want to save every time i update a property.
>>>> 
>>>> Since a fetch request returns fully saved objects, I can't see how you
>> can
>>>> expect it to see unsaved changes.
>>>> 
>>>> Think about it in database terms - you wouldn't expect a SQL statement
>> to
>>>> return anything other than committed rows. Essentially Core Data is an
>> "OO
>>>> database" and, unless you write your own caching, I doubt if you are
>> going
>>>> to get what you want without saving.
>>>> 
>>>> Joanna
>>>> 
>>>> --
>>>> Joanna Carter
>>>> Carter Consulting
>>>> 
>>>> 
>>> _______________________________________________
>>> 
>>> 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
>>> 
>>> Help/Unsubscribe/Update your Subscription:
>>> 
>> http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev%40esoteritech.com
>>> 
>>> This email sent to cocoa-...@esoteritech.com
>>> 
>> 
>> 
>> Keary Suska
>> Esoteritech, Inc.
>> "Demystifying technology for your home or business"
>> 
>> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> 
> Cocoa-dev mailing list      (Cocoa-dev@lists.apple.com)
> 
> Do not post admin requests or moderator comments to the list.  
> Contact the moderators at cocoa-dev-admins (at) lists.apple.com
> 
> http://lists.apple.com/mailman/listinfo/cocoa-dev
> 
> 
> End of Cocoa-dev Digest, Vol 7, Issue 449
> *****************************************

_______________________________________________

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

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to