re: Core Data : Multiuser ?

2010-08-06 Thread Ben Trumbull
p.s. - Ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

re: Core Data : Multiuser ?

2010-08-06 Thread Ben Trumbull
> Can more than one process be accessing the same Core Data sqlite file? > > This post from author Marcus Zarra says "no"∑ > > http://forums.pragprog.com/forums/90/topics/1476 > > But this post from Ben Trumbull seems to say "yes", as long as the two > processes are accessing it via the same

Split View / drill down

2010-08-06 Thread Gerd Moe-Behrens
Hi, I would like to create a drill down as done in mail. I found a nice tutorialhttp://www.iphonesdkarticles.com/2009/03/uitableview-drill-down-table-view.html. It worked fine for a navigation based template. I tried to modify it for a split view template. In this case the I got: terminating

NStoolbaritem and a custom view

2010-08-06 Thread Tony Romano
For NSToolbarItem and a custom view, do you need to call the selector for the action or is that handled automatically? I think it's not handled automatically because I have to handle the mouse events to update the drawing so I assume by calling super, it won't invoke the action because I change

Re: Main Thread Crashing in Multithreaded App

2010-08-06 Thread Quincey Morris
On Aug 6, 2010, at 19:25, Carter R. Harrison wrote: > The call I'm making to establish the 2nd thread is: > > [self performSelectorInBackground:@selector(executeQueryHelper:) > withObject:[myMutableDictionary mutableCopy]]; > > That selector runs a whole lot of stuff that I know performs solid

[Moderator - End of this thread] Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Scott Anguish
Erik had a good intention in starting this thread and we’ve discussed it off list. But this isn’t relevant to what we’re supposed to be talking about here. Cocoa development. The macosx-users list at Omnigroup would be an excellent location for this discussion. But this list isn’t. It needs t

Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Sherm Pendley
On Fri, Aug 6, 2010 at 6:21 PM, Todd Heberlein wrote: > > It took a lot longer to bring out Mac OS X than I expected after the > acquisition. We never got our "yellow box" for windows (with the promised > free runtime libraries). Have you seen Cocotron? Not from A

Re: settings computer name, host name, & local host name

2010-08-06 Thread Stephen J. Butler
On Fri, Aug 6, 2010 at 4:22 PM, Jeremy Matthews wrote: > So, I know there are a number of ways to GET computer name, local host name, > and host name (this one only by scutil??) - is there a method folks out there > are using to SET each of these? > Other than NSTask and scutil??? Not Cocoa, bu

Re: Main Thread Crashing in Multithreaded App

2010-08-06 Thread Nick Zitzmann
On Aug 6, 2010, at 8:25 PM, Carter R. Harrison wrote: > 0 objc_msgSend > 1 __CFArrayReleaseValues > 2 _CFRelease > 3 _CFAutoReleasePoolPop > 4 -[NSAutoReleasePool drain] > 5 -[NSApplication run] > 6 NSApplicationMain > 7 main [...] > Anybody have any solid ideas on

Re: keyboard shortcut for segments of a segmented control?

2010-08-06 Thread Graham Cox
On 07/08/2010, at 2:03 AM, Brian Postow wrote: > I have a segmented control to do up and down pages, that lives in an > NSToolbar. I'd like to make it so that up and down arrow select the 0 and 1 > segment respectively. However, I don't see a "Key equivalent" in the object > inspector... > >

Re: NSPathControl w/ popups and icons

2010-08-06 Thread Shane
On Sat, Jul 31, 2010 at 7:44 PM, Shane wrote: > I'm trying to create an NSPathControl where there are several items > (components) within the row and each item (component) is a popup menu. > And then I would populate each of those popups w/ items. But I'm > having a problem in understanding if tha

Re: Core Data : Multiuser ?

2010-08-06 Thread Kyle Sluder
On Aug 6, 2010, at 6:27 PM, Jerry Krinock wrote: > which is what I'm interested in. Two processes, same Mac, same user. > Okay, when you said "same filesystem," I immediately thought you wanted clarification on AFP vs. SMB vs. NFS. --Kyle Sluder___

Main Thread Crashing in Multithreaded App

2010-08-06 Thread Carter R. Harrison
My Cocoa application's main thread is crashing with EXC_BAD_ACCESS when it becomes multithreaded. The crash always occurs in the main thread when the call stack is: 0 objc_msgSend 1 __CFArrayReleaseValues 2 _CFRelease 3 _CFAutoReleasePoolPop 4 -[NSAutoReleasePool d

Re: Core Data : Multiuser ?

2010-08-06 Thread Jerry Krinock
On 2010 Aug 06, at 17:03, Kyle Sluder wrote: > http://lists.apple.com/archives/cocoa-dev/2010/Mar/msg01026.html > > Short answer: it's not supported. I'm not sure, Kyle. In the message you linked to, Ben was talking about access from multiple machines. But in an earlier message in that threa

Re: Scroller With CATiledLayer Running out of Memory

2010-08-06 Thread Gordon Apple
I thought that was what the scroller was supposed to do for you, at least if you actually optimized drawing to use the "rect" in drawRect, which is what I am currently trying to do. I may have something else going on. The version in the app store works fine, but my current one is now crashing all

Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread John Joyce
This is a Cocoa list. Please keep the posts on topic. ___ 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/Unsubsc

Re: Scroller With CATiledLayer Running out of Memory

2010-08-06 Thread David Duncan
On Aug 6, 2010, at 2:09 PM, Gordon Apple wrote: > BTW, the reason I went to a tiled layer in the first place is that CALayer > crapped out long before that and only allowed a fairly short document view > length. The trick is to do something similar to what UITableView does – (re)use a small set

Re: Core Data : Multiuser ?

2010-08-06 Thread Kyle Sluder
On Fri, Aug 6, 2010 at 4:51 PM, Jerry Krinock wrote: > Which one am I misunderstanding? Neither, but the world has changed: http://lists.apple.com/archives/cocoa-dev/2010/Mar/msg01026.html Short answer: it's not supported. --Kyle Sluder ___ Cocoa-dev

Core Data : Multiuser ?

2010-08-06 Thread Jerry Krinock
Can more than one process be accessing the same Core Data sqlite file? This post from author Marcus Zarra says "no"… http://forums.pragprog.com/forums/90/topics/1476 But this post from Ben Trumbull seems to say "yes", as long as the two processes are accessing it via the same filesystem:

Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Todd Heberlein
> I had a shrinkwraped OPENSTEP Enterprise 4.2 CD from March 1997 in my file > cabinet, so I just installed it on a crap 1.83GHz Core 2 (not-duo) running > Windows XP SP3. I wonder how much value it lost when you removed the shrink wrap? I've kept only two old computers with me over the years -

[Moderator[ Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Scott Anguish
This type of language is ENTIRELY UNACCEPTABLE for this list. All users are expected to act as professionals. Scott [ moderator ] On Aug 6, 2010, at 5:16 PM, Martin Glaß wrote: > you just outlined one of the reasons why is going to die. > that creature got too old. cannot even move o

Getting Source List font sizes right

2010-08-06 Thread Rick Mann
I've got half a source list working, using Leopard's support. However, I can't get the section title font size correct, and the arrow doesn't line up properly with the text. Here's a screenshot. The thing on the left is the SourceView sample code, the thing on the right is my code. Doing my bes

settings computer name, host name, & local host name

2010-08-06 Thread Jeremy Matthews
So, I know there are a number of ways to GET computer name, local host name, and host name (this one only by scutil??) - is there a method folks out there are using to SET each of these? Other than NSTask and scutil??? Thanks, j ___ Cocoa-dev mailing

Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Martin Glaß
you just outlined one of the reasons why microshit is going to die. that creature got too old. cannot even move out of the way... Am 06.08.2010 um 22:44 schrieb Erik Buck : > For comparison, I installed MS Visual Studio 2010 Express Edition C++ on the > same machine. It takes 14 minutes not cou

Re: Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread John Ackert
> Alternately, it is sad how little Cocoa development has improved in 13 years. Well I guess this is the prove for how perfect the framework already is :) ~John On Aug 6, 2010, at 10:26 PM, Erik Buck wrote: > I had a shrinkwraped OPENSTEP Enterprise 4.2 CD from March 1997 in my file > cabinet,

Re: Scroller With CATiledLayer Running out of Memory

2010-08-06 Thread Gordon Apple
I chose 1024 width so that it would at least cover the (landscape) width, and not have to redraw the same line multiple times. The optimized drawing requires some computation itself, so I figured 512 was a good compromise that would require three tiles max per screen. Font size can go up to 192 p

Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Erik Buck
For comparison, I installed MS Visual Studio 2010 Express Edition C++ on the same machine.  It takes 14 minutes not counting the 2 reboots required.  The first time Visual Studio 2010 C++ starts, it takes more than one minute to get past the splash screen.   The user interface MS Visual Studio 2

Wow! Just installed OPENSTEP ENTERPRISE 4.2

2010-08-06 Thread Erik Buck
I had a shrinkwraped OPENSTEP Enterprise 4.2 CD from March 1997 in my file cabinet, so I just installed it on a crap 1.83GHz Core 2 (not-duo) running Windows XP SP3.   - OPENSTEP Enterprise 4.2 installes from CD in less than 1 minute (not counting the neccessary reboot that follows)   It is amaz

Re: Scroller With CATiledLayer Running out of Memory

2010-08-06 Thread David Duncan
On Aug 6, 2010, at 12:29 PM, Gordon Apple wrote: > I'm having a major problem. If I scroll slowly, or in small jumps, no > problem. However, if I scroll fast over a longer length, the app terminates > with memory exceeded. I don't believe I have any significant leaks. This > doesn't happen in

Scroller With CATiledLayer Running out of Memory

2010-08-06 Thread Gordon Apple
I have a very long text view (CoreText) for iPad. It a CATiledLayer, 1024 x 512 tiles. I'm doing optimized drawing (first to last line) in drawRect, which gets called for each tile. I have a vertical slider that appears when you tap the right side in order to fast (live) scroll when needed. I'm

Re: String Tables

2010-08-06 Thread Luther Baker
In addition to context, another consideration is refactoring ... IE: over time, you may change the text, even in the primary language. If that be the case, your message will not match your key anymore (unless you change your code ... which seems counterproductive). I tend to use keys like:

Re: Getting a list of web browsers

2010-08-06 Thread Mike Manzano
Good stuff. Thanks guys, looks like that's exactly what I was looking for. Mike On Aug 4, 2010, at 5:36 PM, Ken Thomases wrote: > On Aug 4, 2010, at 7:31 PM, Nick Zitzmann wrote: > >> On Aug 4, 2010, at 6:24 PM, Mike Manzano wrote: >> >>> How would one go about getting a list of web browsers o

Re: String Tables

2010-08-06 Thread Mark Ritchie
Hey Richard! On 6/Aug/2010, at 8:50 AM, Richard Somers wrote: > It appears that literal keys would easier to translate because no cross > referencing would be required. Why then are symbolic keys also used? I think it's a matter of choosing what works best for your workflow and all parties invo

Re: String Tables

2010-08-06 Thread Jerry Krinock
On 2010 Aug 06, at 09:05, Dave DeLong wrote: > Sometimes a word in your original language can have multiple translations, > depending in the context. Yes. Example: /* Name of a preference tab which contains preference settings for how things look when they are viewed. This is intentionally

Re: String Tables

2010-08-06 Thread Dave DeLong
Sometimes a word in your original language can have multiple translations, depending in the context. Where I work, we use symbolic keys so that we can allow for context-sensitive translations. Dave Sent from my iPhone On Aug 6, 2010, at 9:50 AM, Richard Somers wrote: > String table entrys h

keyboard shortcut for segments of a segmented control?

2010-08-06 Thread Brian Postow
I have a segmented control to do up and down pages, that lives in an NSToolbar. I'd like to make it so that up and down arrow select the 0 and 1 segment respectively. However, I don't see a "Key equivalent" in the object inspector... A little research shows that the fact that its in a toolbar

String Tables

2010-08-06 Thread Richard Somers
String table entrys have the following form. "Key1" = "Value1" There appears to be two different ways to approach naming the keys. The first way is to use a literal key where the key and value are equal for the primary language. /* Ask user a question. */ "Do you need help?"

Re: UIActionSheet - Insert button at index?

2010-08-06 Thread Keary Suska
On Aug 5, 2010, at 8:54 PM, Joshua Tucker wrote: > Hey, > > is there a way I can insert a button into a UIActionSheet with specific > index? Doesn't appear to be, but cancelButtonIndex and destructiveButtonIndex are assignable, so there may be side effects to those properties. Keary Suska Es

Re: core data structure?

2010-08-06 Thread Fritz Anderson
On 6 Aug 2010, at 7:20 AM, Amy Gibbs wrote: > I have 2 entities, product and order. At the moment they are linked with a > many to many relationship as an order will have many products, and products > may be in more than one order. My issue is that when I link them I cannot > link quantities. F

core data structure?

2010-08-06 Thread Amy Gibbs
Hi, I was wondering if anyone could point me in the right direction? I have 2 entities, product and order. At the moment they are linked with a many to many relationship as an order will have many products, and products may be in more than one order. My issue is that when I link them I can