On 9 Oct 2012, at 04:54, Flavio Donadio wrote:
> On 08/10/2012, at 17:56, Alex Zavatone wrote:
>
>> Thank you Flavio. Out of curiosity, did you encounter pessimistic vs.
>> optimistic locking performance/data reliability issue in having many clients
>> writing to potentially the same places
Flavio Donadio writes:
> The interface will be like in Address Book: the user opens a
> card/record for viewing, but has to click an "Edit" button to make
> changes. If the record is locked, the user will get an alert when
> he/she clicks the button. I need:
> 1. A mechanism to avoid users openi
On 09/10/2012, at 01:46, z...@mac.com wrote:
> For 2. Can you use a NSNotification to fire and forget an unlock event?
Not really. The server can't send the notification back to the client. There's
a RESTful web service between the client and the database.
> But are you merely querying the dat
On Oct 8, 2012, at 9:54 PM, Flavio Donadio wrote:
> The interface will be like in Address Book: the user opens a card/record for
> viewing, but has to click an "Edit" button to make changes. If the record is
> locked, the user will get an alert when he/she clicks the button. I need:
>
> 1. A m
On Oct 9, 2012, at 10:42 AM, Flavio Donadio wrote:
> On 09/10/2012, at 01:46, z...@mac.com wrote:
>
>> For 2. Can you use a NSNotification to fire and forget an unlock event?
>
> Not really. The server can't send the notification back to the client.
> There's a RESTful web service between the
I added a category to NSScreen containing the following:
- (CGDirectDisplayID) screenID {
NSDictionary *dict = self.deviceDescription;
CGDirectDisplayID theID = [dict[@"NSScreenNumber"] unsignedIntValue];
return theID;
}
+ (NSScreen*) menuScreen {
return [[self screens] objectAtIn
On 09/10/2012, at 11:57, Keary Suska wrote:
> This is not an easy problem, although I would say it is more of a business
> logic issue than a technical one. Namely, what would be the uncommitted data
> policy? Discard all changes? Or commit with a discard fallback (in case of
> validation error
Is there a good, supported way to use Autolayout in a sort of hybrid mode where
you use IB to add and configure views, put text in labels etc, but actually add
the constraints in code using the rather clever constraint string
representation at runtime? If you turn Autolayout off for a Storyboard
I have XML like this:
Katsup
Mustard
...
While in the question element, I'd like to pull out each of those option
node values to create a mutable array from and stuff into a mutable
dictionary. I'm not sure how to do that (I'm using ARC)...
- (void)parseT
On Oct 9, 2012, at 10:38 AM, Gordon Apple wrote:
> OK, this sucks. So how does one get a reliable (and persistent storage
> capable) way to identify a screen?
I use frame comparisons. I think the answer is going to depend on what you
need it for.
--
Seth Willits
_
On 09/10/2012, at 12:10, Alex Zavatone wrote:
> 3. If you want to have your GUI respond to changes in the DB, and you have no
> method to yap back to the GUI, then seems like you're going to have to poll.
>
> You might want to consider how to make the basic design work, then plan on
> ways that
Is it possible to embed an Input Method implementation in an app?
If not what is the recommended or preferred install process for an Input Method?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comm
There is a way shown in WWDC AutoLayout session. Keep XIB AutoLayout enabled,
then subclass the container control and override its updateConstraints method.
In the very beginning call [self setAutoTranslateAutoResizingMasks:NO];
Depending on your situation, you might also need to set
autoTrans
On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said:
>Sandboxed apps can resolve aliases and follow symlinks, but unless the
>destination is within their sandbox already they do not gain access to
>it, sadly. I recommend filing a radar requesting this.
I will.
Do you agree with me that pathCon
14 matches
Mail list logo