Re: NSStackView basics

2013-11-12 Thread Tom Harrington
ng a height (or fastened the edges of A to the > textField), that'd probably do it. > > -ken > > On Fri, Nov 8, 2013 at 5:02 PM, Tom Harrington wrote: > >> I'm trying to use NSStackView in what should be the most basic way >> possible. I create the stack view and

NSStackView basics

2013-11-08 Thread Tom Harrington
I don't know what. I've been looking at Apple's InfoBarStackView demo app but haven't worked out which detail it has that I don't (Apple's demo: https://developer.apple.com/library/mac/samplecode/InfoBarStackView/Introduction/

Document scope security bookmark, catch 22?

2013-08-14 Thread Tom Harrington
ve the user save an empty document first just so I can create these bookmarks the next time around? -- Tom Harrington atomicb...@gmail.com AIM: atomicbird1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

Re: "Stale" URL bookmarks?

2013-08-14 Thread Tom Harrington
On Tue, Aug 13, 2013 at 10:08 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Aug 13, 2013, at 19:20 , Tom Harrington wrote: > > What does "stale" mean in this context? And if the bookmark is stale, what > if anything should I do (or

"Stale" URL bookmarks?

2013-08-13 Thread Tom Harrington
When resolving a URL bookmark, one of the options is a BOOL * that on return tells you if "the bookmark data is stale". What does "stale" mean in this context? And if the bookmark is stale, what if anything should I do (or not do) in response to that? -- Tom Harrington atom

Core Data ignoring validation constraint

2012-01-09 Thread Tom Harrington
mediately. Is there some additional step I've missed? I'm using Xcode 4.2.1 on Mac OS X 10.7.2; results are the same in the simulator and on an iPhone 4s running iOS 5.0.1. -- Tom Harrington atomicb...@gmail.com AIM: atomicbird1 ___ Co

Re: awakeFromInsert called twice with nested contexts

2011-11-27 Thread Tom Harrington
On Sun, Nov 27, 2011 at 6:09 PM, Quincey Morris wrote: > On Nov 27, 2011, at 16:49 , Tom Harrington wrote: > > Actually I don't, so far as I can tell. As I mentioned in my previous > message, I get the same managed object ID both times. I haven't > checked the address

Re: awakeFromInsert called twice with nested contexts

2011-11-27 Thread Tom Harrington
On Sun, Nov 20, 2011 at 2:34 PM, Richard Somers wrote: > On Nov 16, 2011, at 6:16 PM, Tom Harrington wrote: > >> I'm finding that if I use nested managed object contexts, >> awakeFromInsert will be called twice on new objects. > > > On Mac OS X 10.7 NSManagedObject

Re: awakeFromInsert called twice with nested contexts

2011-11-27 Thread Tom Harrington
On Sat, Nov 19, 2011 at 6:49 PM, Roland King wrote: > > On Nov 20, 2011, at 5:48 AM, Jerry Krinock wrote: > >> >> On 2011 Nov 16, at 17:16, Tom Harrington wrote: >> >>> I'm finding that if I use nested managed object contexts, >>> awakeFromInse

awakeFromInsert called twice with nested contexts

2011-11-17 Thread Tom Harrington
umented to be called only once in the object's lifetime, I'm wondering if this is a Core Data bug or a documentation bug. Has anyone else seen this? -- Tom Harrington atomicb...@gmail.com AIM: atomicbird1 ___ Cocoa-dev mailing list (Cocoa-

Re: [Moderator] List Guidelines - Must Read

2008-06-27 Thread Tom Harrington
forum. It seems kind of silly that iPhone discussion is forbidden here when Apple's apparently not concerned with hosting the discussions elsewhere, but hey, what do I know about it. -- Tom Harrington [EMAIL PROTECTED] AIM: atomicbird1 ___ Cocoa

Re: NSURLConnection doesn't post

2008-04-11 Thread Tom Harrington
o just give the thread its own run loop. It all depends on your app architecture. -- Tom Harrington [EMAIL PROTECTED] AIM: atomicbird1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?

2008-04-10 Thread Tom Harrington
] superview] frame]" would give you the current width, and if desired you could adjust mainView's frame appropriately. This would mean designing to Tiger's pref pane width, and then expanding when running on Leopard. Best to stick with looking up the size instead

Re: NSURLConnection doesn't post

2008-04-10 Thread Tom Harrington
st the data and call its delegate methods. Also, is it possible that when -sendLogs is called from another class, it's also called from a separate thread? NSURLConnection's delegate methods are called on the same thread that initiated the connection, and if you've started a differen

Re: Adding commandline batch mode to Cocoa app

2008-03-22 Thread Tom Harrington
ally install the command-line tool. Depending on your architecture the command-line tool could be as simple as a symbolic link to the main bundle's binary. Depending on your requirements, you might consider whether the batch-mode processing would be better i

Re: File upload with NSURLRequest fails

2008-03-14 Thread Tom Harrington
o have two more dashes than the boundary declaration in the content-type header. Once I fixed that, my code worked. -- Tom Harrington [EMAIL PROTECTED] AIM: atomicbird1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: File upload with NSURLRequest fails

2008-03-13 Thread Tom Harrington
r 13, 2008 at 3:02 PM, Tom Harrington <[EMAIL PROTECTED]> wrote: > On Thu, Mar 13, 2008 at 2:50 PM, Tom Harrington <[EMAIL PROTECTED]> wrote: > > [postBody appendData:[[NSString stringWithString:@"Content-Type: > > null\r\n\r\n"] dataUsingEncoding:N

Re: File upload with NSURLRequest fails

2008-03-13 Thread Tom Harrington
On Thu, Mar 13, 2008 at 2:50 PM, Tom Harrington <[EMAIL PROTECTED]> wrote: > [postBody appendData:[[NSString stringWithString:@"Content-Type: > null\r\n\r\n"] dataUsingEncoding:NSUTF8StringEncoding]]; Someone asked about this. FYI, "null" is what the

File upload with NSURLRequest fails

2008-03-13 Thread Tom Harrington
NSData *data = [NSURLConnection sendSynchronousRequest:req returningResponse:&res error:&err]; -- Tom Harrington