eZone];
NSLog(@"V date string: %@", [dateFormatter stringFromDate:[NSDate date]]);
[1] http://unicode.org/reports/tr35/tr35-10.html#Date_Format_Patterns
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, Feb 13, 2012 at 12:09 PM, Peter Ed
I don’t know of an easy workaround. Back in the day I would have suggested
creating a category on CGColor that adds the required archiving methods,
but doing this will get you rejected from the App Store. You may need to
write a function that walks through a mutable attributed string and finds
all
http://i.stack.imgur.com/GeKA8.png
gdb-i386-apple-darwin needs to take control of another process for
debugging to continue. Type your password to allow this.
http://i.stack.imgur.com/sg9rv.png
My user is an admin user. I never saw these alerts before. How do I
get them to stop?
-Heath Bo
bbreviation: %@", [timeZone
abbreviationForDate:[NSDate date]]);
output:
date string: GMT+05:30
time zone abbreviation: IST
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, Nov 21, 2011 at 1:54 AM, Peter Edberg wrote:
>
> On Nov 17, 2
ion: %@", [timeZone
abbreviationForDate:[NSDate date]]); // "IST"
I expect the above code to output
IST
IST
but it outputs
GMT+05:30
IST
Is this a bug? Am I doing something wrong? People have mentioned that
NSDateFormatter has bugs, especially when a time zone is specified in
/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/searchDisplayController
[2] http://stackoverflow.com/q/2395272/9636
[3]
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
You specify a URL for the persistent store when you create it. Just find the
store at that URL.
-Heath
On Sep 30, 2011 12:33 AM, "Luke Sneeringer"
wrote:
> Hey all,
> I am working on writing my first Core Data application. I made an entity,
did some work to test it, and then made another (linked)
I've done something similar in two of my projects. However, I only shared
the sqlite file, not the momd.
I created a command-line build tool, and generated a sqlite coredata store
with it. Then I copy the sqlite into my iOS project and add it to the Copy
Bundle Resources phase. I do NOT copy the
You must call remove as many times as you call add. Otherwise,
subclasses and superclasses would interfere with each other's
observations.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Fri, Aug 26, 2011 at 4:34 AM, Rick Mann wrote:
A managed object context needs to be used and created from the same thread.
Create and use childContext in a single dispatchAsync block.
-Heath
On Aug 4, 2011 5:32 PM, "Jeff Kelley" wrote:
> I’m having some issues with concurrency with Core Data. I create an object
> that has a to-many relationsh
urage any feedback about ways to make this more efficient or any
other convenience APIs or basic functional APIs I could add.
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
___
Cocoa-dev mailing list (
You could do key-value observing on currentPlaybackRate.
http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMediaPlayback_protocol/Reference/Reference.html#//apple_ref/occ/intfp/MPMediaPlayback/currentPlaybackRate
-Heath Borders
heath.bord...@gmail.com
Twitter
Is your topic node self-referential? Maybe CoreData doesn't prefetch
circular references.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Jul 19, 2011 at 12:21 AM, Gideon King wrote:
> Hi, I'm doing a fetch of some obje
I would use CLucene for this. It isn't as easy to use as CoreData (it
is written in C++, so you'll need some Objective-C++ as a shim at a
minimum), but it is powerful and VERY fast.
-Heath
>From my iTouch4
On Jul 14, 2011, at 1:17 PM, Indragie Karunaratne wrote:
> Hi guys,
>
> I'm working on a
I'm pretty sure someone else on the list tried exactly that, and it didn't work.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Wed, Jul 6, 2011 at 11:40 AM, Steve Christensen wrote:
> With the caveat that I haven't actually
You might also try HBCollections, a series of collections categories I wrote
that makes it easy to do stuff like this.
https://github.com/hborders/HBCollections
-Heath
On Jun 30, 2011 2:10 PM, "Dave DeLong" wrote:
___
Cocoa-dev mailing list (Cocoa-dev
You could base64 your image data and use a data url to refer to it
within your HTML. Then, you wouldn't have to attach it.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Sun, Jun 26, 2011 at 6:14 PM, Pierre Fournier wrote:
>
> Hi,is
Make sure your subviews are small enough to fit inside your view initially.
I've had issues with resizing clipped subviews.
-Heath
On Jun 6, 2011 1:52 AM, "Development" wrote:
> I thought I understood how auto resizing worked but I don't
>
>
> According to the docs if I want to automatically resi
Perform the second transform after the first animation completes in a
separate animation block. You can start the second animation block
from the first animation block's completion block.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Wed,
CLucene might be a bit heavy, but it works great for me.
-Heath
>From my iTouch4
On May 31, 2011, at 12:02 PM, "Eric E. Dolecki" wrote:
> Thanks - I'm not sure that's going to be flexible enough for me or not, but
> I'll give it a go. Thanks again!
>
>
> Google Voice: (508) 656-0622
> Twitter
Try NSConditionLock. Its documentation should be pretty self-explanatory.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Thu, May 5, 2011 at 8:33 AM, eveningnick eveningnick
wrote:
> Hello
> I have a thread A that spawns a thread B, and
I've seen this behavior as well, and I solved it the same way you did.
I hope there is a better way.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, May 2, 2011 at 3:15 AM, Roland King wrote:
> I have a UIView subclass which has a n
Obviously, there are sometimes overlaps between encodings when you're
trying to guess.
http://en.wikipedia.org/wiki/Bush_hid_the_facts
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Apr 26, 2011 at 1:18 PM, Dave DeLong wrote:
> Yo
> It sure would have been helpful if viewWillDisappear was sent as
> documented. When the home button is pressed, and the home screen is
> presented, the view has clearly disappeared (no offense Alex).
I was seeing this when switching tabs, not when the home button was pressed.
-Heat
I've seen this behavior also, specifically on iOS 3.1 while using a
UIViewController inside a UINavigationController inside a
UITabBarController.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, Apr 25, 2011 at 9:59 PM, Jeffrey Walton
!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
___
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
For thread-safety's sake why don't you just create a separate
NSManagedObjectContext for your asyncTask? They are cheap.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Mar 29, 2011 at 4:38 PM, Steve Mykytyn wrote:
> countFo
Your NSOperation is probably running on a background thread managed by
the NSOperationQueue. Your test needs to wait until the
NSOperationQueue has processed all its tasks.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Mar 22, 2011 at 10
thePlayer prepareToPlay];
makes my code work.
Thanks again for your help, Matt!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Mar 22, 2011 at 8:30 AM, Heath Borders wrote:
> Your code worked! Thanks! The main difference between
I'll post back when I figure out what went wrong.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, Mar 21, 2011 at 11:50 PM, Matt Neuburg wrote:
> On Mon, 21 Mar 2011 22:59:04 -0500, Heath Borders
> said:
>>That's ex
break;
case MPMovieLoadStateStalled:
NSLog(@"stalled");
break;
default:
break;
}
this issue isn't indicative of a larger
problem.
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderato
ttp://example.com}foo', attribute 'space': The attribute
'space' is not allowed.
Element '{http://example.com}foo', attribute 'space': The attribute
'space' is not allowed.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.b
instance";
stringValue:@"http://example.com/document document.xsd"];
[rootXmlElement addAttribute:schemaLocationAttributeXmlNode];
Success! I got good xml:
http://example.com/document";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc
That worked!
I actually changed it to:
nodesForXPath:@"/root/*[name() = \"example:foo\"]
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Sat, Mar 5, 2011 at 2:27 PM, Matt Neuburg wrote:
> On Fri, 04 Mar 2011 14:
ot;" (empty)
This seems inconsistent with
"Note that white space in text nodes is always preserved, and is not
affected by the NSXMLNodePreserveWhitespace option."
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Fri, Mar 4, 2011
e programmatically, but I'd rather not have to
modify the document. This namespace usage should be legal. Am I
doing something wrong?
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
___
Cocoa-de
xmlns:space="preserve" attribute.
(Input)
Available in Mac OS X v10.4 and later.
Declared in NSXMLNodeOptions.h.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Thu, Mar 3, 2011 at 10:33 PM, Gideon King wrote:
> I recall that I had probl
r.
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
___
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
39 matches
Mail list logo