Hello, List,
I'm working on the migration for one of my Core Data document based
application, i've created a mapping model in XCode and am using the
"NSMigratePersistentStoresAutomaticallyOption" property by overriding the
"configurePersistentStoreCoordinatorForURL:..." method. as described in
Hi !
I'm using an IKImageBrowserView to show a series of image captures
and it works really well. I would like to be able to manage the number
of images shown in a row in a precise way, and I'd like to know if there
is any "public" way to do this ?
The zoom variable is nice, but I don't like havin
On 2009 Dec 20, at 13:50, François Guillet wrote:
> EXC_BAD_ACCESS error :
> #0 0x7fff86951466 in -[NSScriptCommand _sendToRemainingReceivers] ()
> #1 0x7fff86951fe5 in -[NSScriptCommand executeCommand] ()
> #2 0x7fff8696902e in -[NSScriptingAppleEventHandler
> handleCommandEvent
I understand your proposition. For some reason, the spaces are
stripped off by the e-mail system, but you got it right.
Did your email system also capitalize ObjectValueForTableColumn?
Actually, segmentDict contains the copy of a global dictionary
created by the method [[MyDocument getSec
Greg,
I understand your proposition. For some reason, the spaces are stripped off by
the e-mail system, but you got it right.
Actually, segmentDict contains the copy of a global dictionary created by the
method [[MyDocument getSectorSegmentData:(id) sender] > mutableCopy].
Unfortunately i ca
On Dec 20, 2009, at 3:29 PM, Graham Cox wrote:
> I think what the OP was talking about was making a called method sensitive to
> its caller, which is a no-no.
That's what I thought the OP was saying, and I agree. It would mean that doing
a refactor and changing a method's name, or even adding
On 21/12/2009, at 5:05 AM, Jeffrey Oleander wrote:
> OTOH
[]
> An action is the message a control sends to the target
Target/action is not what I was talking about at all. It's OK to store a SEL
which is invoked as a response - the signature of that SEL does not change the
behaviour or state
See
http://developer.apple.com/mac/library/documentation/cocoa/conceptual/ObjectiveC/Articles/ocProtocols.html#//apple_ref/doc/uid/TP30001163-CH15-TPXREF149
On 20 Dec 2009, at 20:15, aaron smith wrote:
> Hey all, quick question. How you do pass around protocol references?
>
> I'm looking to do
Hi All,
I'm trying to implement an object-first command targeted at the document of a
document based app. Doing so always results in the same EXC_BAD_ACCESS error :
#0 0x7fff86951466 in -[NSScriptCommand _sendToRemainingReceivers] ()
#1 0x7fff86951fe5 in -[NSScriptCommand executeComman
In getting quotes from many localization companies, I've found that some have
different processes. For example, one company would prefer if I just provide
.string files. During their QA process, they'll then run the app and look at
everything in context.
While generating .strings from nibs i
Hey all, quick question. How you do pass around protocol references?
I'm looking to do something like what NSDistantObject uses to set a
protocol, (setProtocolForProxy:). That method takes a (Proxy *), and all
I've found is that in some headers they declare a class (@class Protocol).
So does this
Yes, I set the breakpoint on the data source methods? The
datasource methods are not reached at all.
Then you must consider the possibility that your table view has a nil
data source, or a data source of a different class.
If the methods definitely aren't being called, then simple logic
.. I think I got it... I overwrote the mouseDown method from NSResponder, and
the sorting doesn't happen... so I guess I must aim my efforts starting form
this method.
I will let you know my progress.
G.
On Dec 20, 2009, at 5:30 PM, Gustavo Pizano wrote:
> Hello,
> After reading some post, a
On Dec 20, 2009, at 09:16, Nick Banks wrote:
> Yes I did use the [managedObjectContext save:&error], in the same fashion as
> in some of the examples provided by Apple. Interestingly, I am using the
> same mechanism in a completely unrelated project with no problems, and have
> studied the Cor
Am 20.12.2009 um 18:32 schrieb aronis...@afroamerica.net:
> I did not give you all the methods in my code (it is too lengthy).
> segmentDict is a global variable because I need it somewhere else.
Sounds like bad design ;)
> a dealloc method takes care of releasing the arrays and dictionary.
On Dec 20, 2009, at 1:05 PM, Jeffrey Oleander wrote:
>> On Sun, 2009/12/20, Graham Cox wrote:
>>
[...]
>> Good programming practice encourages the idea that
>> functions and methods are complete in and of themselves, and
>> are invariant under different calling conditions. Variations
>> should b
On Mon, 21 Dec 2009 00:29:00 +1100, Graham Cox
said:
>
>On 21/12/2009, at 12:18 AM, Chunk 1978 wrote:
>
>> i have a bunch of methods that will call one method. currently, i'm
>> passing a string object so the called method will know which method
>> had called it, and complete the proper task base
> On Sun, 2009/12/20, Graham Cox wrote:
> From: Graham Cox
> Subject: Re: passing a method name?
> To: "Chunk 1978"
> Cc: "cocoa-dev Dev"
> Date: Sunday, 2009 December 20, 07:29
>> On 2009/12/21, at 00:18, Chunk 1978 wrote:
>> i have a bunch of methods that will call one
>> method. currently,
Alexander,
Thanks for your help.
Yes, I set the breakpoint on the data source methods? The datasource methods
are not reached at all.
I did not give you all the methods in my code (it is too lengthy). segmentDict
is a global variable because I need it somewhere else.
segmentIndustryData is popu
You can pass the hidden parameter _cmd which is of type SEL you can then use
@selector() to do your test, this whole thing you are doing
sounds really strange, it would be good to see what you are doing to find a
better approach. based on what little information your are giving us I would be
se
Thanks Greg,
Yes I did use the [managedObjectContext save:&error], in the same fashion as in
some of the examples provided by Apple. Interestingly, I am using the same
mechanism in a completely unrelated project with no problems, and have studied
the Core Data documentation for some time.
If
Ok so after a couple suggestions and rereading the Quartz information on
shadows I modified my code but it's mostly all redundant since the shadow color
is whatever the image color is and I cant seem to change that. Anyway Below is
the code I am trying to use to draw a drop shadow under a UIImag
I will be out of the office starting 12/18/2009 and will not return until
01/05/2010.
I will respond to your message when I return.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
On Sun, 20 Dec 2009 08:18:36 -0500, Chunk 1978 said:
>i have a bunch of methods that will call one method. currently, i'm
>passing a string object so the called method will know which method
>had called it, and complete the proper task based on the method that
>called it.
>
>instead of creating s
On Sat, 19 Dec 2009 13:27:01 +0200, Oleg Krupnov
said:
>Anyway, I have just found that the following code works:
>
>NSExceptionHandler *handler = [NSExceptionHandler defaultExceptionHandler];
> [handler setExceptionHandlingMask:NSLogAndHandleEveryExceptionMask];
> [handler setDelegate:self];
>
>T
Hello,
After reading some post, and coding my own class, I was able to set up a custom
glossy background color, then I realize the title was behind it, so I just
place it above the background..
So, so far so good.
But now when I click in the header of a column, of course because its a custom
I think that you want to implement the awakeFrom* methods on NSManagedObject
rather than the validate* methods for your purposes.
But as for them never getting called, make sure that your NSArrayController
bindings are correct. Specifically that it's mapped to your NSManagedObject
subclass. Also
On or about 12/19/09 12:08 PM, thus spake "Randall Meadows"
:
> On Dec 19, 2009, at 12:53 PM, Matt Neuburg wrote:
>
>> The iPhone app I'm currently writing is autorotated at startup (see my
>> previous posts on this topic). I've noticed that there's an area about 24
>> pixels wide at the left end
> Hi,
>
> I have an application that persists its data using core data.
>
> It uses an NSOperation to download new versions of the data asynchronously.
> This NSOperation uses its own MOC (moc2) (as opposed to the MOC (moc1) used
> in the main thread, which is used by the UI). Both MOCs sh
Did you set a breakpoint on the data source methods?
Please reread about memory management. Your code is full of wrong retains.
Why is segmentDict a global variable? You just assign to it but never release
it.
segmentIndustry is a class and should be named with a capital S.
segmentIndustryData
On 21/12/2009, at 12:18 AM, Chunk 1978 wrote:
> i have a bunch of methods that will call one method. currently, i'm
> passing a string object so the called method will know which method
> had called it, and complete the proper task based on the method that
> called it.
Good programming practice
i have a bunch of methods that will call one method. currently, i'm
passing a string object so the called method will know which method
had called it, and complete the proper task based on the method that
called it.
instead of creating strings and passing them, is it possible to pass
the method n
I think you misunderstand what -validateForInsert: and friends are for. They
use "insert" here in the sense of inserting into the persistent store.
So -validateForInsert: is called the first time the object is added to the
store (calling -[NSManagedObjectContext save:] ). From then on,
-validat
I have a document based Core Data app.
MyDocument.nib contains an NSTableView bound to an NSArrayController.
There also are "+" and "-" buttons, which send "add:" resp. "remove:" to the
array controller.
SomeEntity.m (subclass of NSManagedObject) implements validateForInsert:,
validateForUpdate
34 matches
Mail list logo