On Oct 27, 2010, at 22:53, Ken Ferry wrote:
> Anyway, NSMomentaryLightButton sets highlightsBy to
> NSChangeGrayCellMask|NSChangeBackgroundCellMask and showsStateBy to 0.
>
> NSMomentaryPushInButton sets highlightsBy to NSPushInCellMask and
> showsStateBy to 0.
Well, the thorough explanation i
I currently have a property declared as follows:
@property(atomic, readwrite, retain) MyFrame* latestFrame;
When the value is set, I would like to broadcast a notification on the main
thread, and one way of doing that would be to write my own custom setter that
sets the value and then broadcasts
On Oct 28, 2010, at 7:01 AM, Jonny Taylor wrote:
> I currently have a property declared as follows:
> @property(atomic, readwrite, retain) MyFrame* latestFrame;
>
> When the value is set, I would like to broadcast a notification on the main
> thread, and one way of doing that would be to write
Hi Ken.
Thank you very much for the explanation.
I agree that using showsStateBy and highlightsBy directly seems to make more
sense. These settings are not available in Interface Builder, unfortunately,
only the button type.
By using setHighlightsBy: directly, I was able to see a difference be
Thanks for your answers Bill, that has cleared up some of my confusion.
> In the manual case, 'atomic' only has meaning if you make it meaningful. I'd
> be interested in knowing why you need an atomic property in this case as
> atomicity at the property level rarely contributes to thread safety
On Oct 27, 2010, at 8:38 pm, Paul Johnson wrote:
> I took your suggestion to archive the array to a NSData object. I needed to
> implement encodeWithCoder for the object that defines the data for a row
> (containing 3 columns with an NSString in each column). I used the Data
> Modeler to define t
On Oct 28, 2010, at 9:09 AM, Jeff Johnson
wrote:
> By using setHighlightsBy: directly, I was able to see a difference between
> NSChangeGrayCellMask and NSChangeBackgroundCellMask. The documentation seems
> to be a bit lacking:
Much of the NSButton and NS*Cell documentation hasn't been update
On 2010 Oct 27, at 12:36, Ayers, Joseph wrote:
> Do I have to provide the CoreDataGeneratedAccessors, or does core data
> generate them as the name implies?
Kind of. Read in Core Data Programming Guide ▸ Managed Object Accessor Methods
▸ Dynamically-Generated Accessor Methods ▸ Implementation
On Oct 28, 2010, at 9:16 AM, Jonny Taylor wrote:
>> Note that sending notifications to other threads while holding locks in the
>> current thread (or queue) is rife with danger & fragility. It is great way
>> to create deadlocks and, if not, to end up with a solution that has all the
>> mainte
Greetings.
I am trying to draw a UIButton in the application's main window so the
button remains visible no matter what the user does in the sub view's.
(TabBar based with a bunch of NavBars.)...
This works great in the default device orientation.
But left, right and upside down, the orientatio
On Thu, 28 Oct 2010 14:10:28 -0400, Sandro No?l
said:
>Greetings.
>
>I am trying to draw a UIButton in the application's main window so the
>button remains visible no matter what the user does in the sub view's.
>(TabBar based with a bunch of NavBars.)...
>
>This works great in the default devic
Matt that worked out perfectly!
instead of
[self.window addSubview:pButton];
changed it to
[self.tabBarController.view addSubview:pButton];
Coordinates and orientation are now right in the spot ... thank you !!!
Sandro.
On 2010-10-28, at 3:54 PM, Matt Neuburg wrote:
> On Thu, 28 Oct 2010 14:
On Tue, 19 Oct 2010 10:33:39 +0700, Gerriet M. Denkmann said:
>So, what to do now?
>Conclude that AppKit is full of leaks?
AppKit is full of leaks, just like most all real world code. Create a
new document-based Cocoa app from Xcode stationary, run it, open the
about box, open panel, save panel,
Thanks, Graham. Let me restate the "drag and drop" problem I'm having and
maybe someone with Core Data experience can give me some further help:
I have been trying to get drag and drop working to copy from one tableview
to another in the same application. Each table view uses Core Data to obtain
i
m_statusPane1 is a NSTextField
[m_statusPane1 setBackgroundColor:[NSColor redColor]];
The background color does not change after the above.
Do I need to do something else?
(I have done display but no change)
-koko
___
Cocoa-dev mailing list (Cocoa
On Mon, 25 Oct 2010 12:55:32 -0500, Paul Johnson said:
>I have two table views and I want to drag and drop from one to the other.
>
>
>I'm using Core Data and Bindings, and the
>
>
>I'm able to select items in the source table and I'm copying an index set
>listing indexes of the selected items to
On Oct 28, 2010, at 2:20 pm, Paul Johnson wrote:
> The model for the data in the destination tableview is essentially the same
> as for the source tableview. The only difference is that the data model for
> the destination tableview has an additional entity and a relationship.
>
Then it's not th
Disregard.
setDrawsBackground was not YES.
OK now!
-koko
On Oct 28, 2010, at 3:28 PM, k...@highrolls.net wrote:
m_statusPane1 is a NSTextField
[m_statusPane1 setBackgroundColor:[NSColor redColor]];
The background color does not change after the above.
Do I need to do something else?
(I
Hi,
I have received some additional guidance from the Google Enterprise
Sales team:
"...Unfortunately I have to reiterate, if there is any payment for any
aspect of a service which involves maps, then this requires a license..."
However, this *appears* not to be the case for iOS application
Sean, the sample code you refer to doesn't use Core Data. My issue is with
the use of Core Data along with drag and drop.
On Thu, Oct 28, 2010 at 4:34 PM, Sean McBride wrote:
> On Mon, 25 Oct 2010 12:55:32 -0500, Paul Johnson said:
>
> >I have two table views and I want to drag and drop from one
On Thu, Oct 28, 2010 at 3:43 PM, Paul Johnson wrote:
> Sean, the sample code you refer to doesn't use Core Data. My issue is with
> the use of Core Data along with drag and drop.
No, your issue is that you haven't learned how to implement drag and
drop. The fact that you're using Core Data is ort
The link you included in your post is broken. And I will continue to study
the Core Data Programming Guide and other sources of info on Core Data. My
issue is with Drag and Drop in conjunction with Core Data.
On Thu, Oct 28, 2010 at 4:36 PM, mmalc Crawford wrote:
>
> On Oct 28, 2010, at 2:20 pm,
Although it may be "orthogonal" and I may not have learned everything about
drag and drop, I believe my code does follow the code samples suppled my
Apple. I've also found other code samples elsewhere that agree with Apple's
and with mine. I do have a case where there is a relationship between drag
It will fail and return NO if there's an editor registered with the controller
that fails to commit editing. e.g. you're editing some text in a table bound to
the controller, and that text fails validation.
On 27 Oct 2010, at 22:30, vincent habchi wrote:
> Hi there,
> sorry for being rather ter
I believe I've found the answer to my drag and drop problem:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html
Drag and Drop is just a glorified copy/paste and on that web page I found:
"If you just want to copy a managed object’s attributes,
Paul Johnson wrote:
> I could build an array with the strings I want to drag and drop and that
> appears to be the proper way to implement this. So far I've found that info
> on Core Data is rather sparse, especially as it pertains to sample code.
The Core Data Programming Guide contains a secti
Greetings,
CocoaHeads is an international Mac programmer's group. Meetings are free and
open to the public. We specialize in Cocoa, but everything Mac programming
related is welcome.
Australia
Sydney - Thursday, November 4, 2010 18:30
France
Bordeaux - Thursday, November 4, 2010 18:00
Germany
Thank you guys for answer, but the problem still remains for me
> HI ,
> launch an applescript / shell script when uninstall button is clicked .
> This should first quit the App and wait for it to terminate and then delete
> the bundle and plist
> Rajendran P
I'm sorry for asking such a prim
Thanks to everyone who helped me out on this problem.
___
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
Thanks for the response, Sherm. I added the code as you suggested but
the leak persists. I originally discovered this issue because my
program would grow slowly over several days; the code I originally
posted was being called once a second from the event loop, which I
guess would allow the autorele
George Nachman wrote:
> In trying to figure this out, I downloaded the binary distribution of
> my program that someone else built (before I took it over). That
> version does not leak. But if I check out the code they used and build
> my own deployment build, that does leak.
>
> What could be dif
On 2010-10-29, at 12:14 PM, eveningnick eveningnick wrote:
> Thank you guys for answer, but the problem still remains for me
>
>> HI ,
>> launch an applescript / shell script when uninstall button is clicked .
>> This should first quit the App and wait for it to terminate and then delete
>>
Hi,
I tried to find an example of subclassing NSURLProtocol.
Some web forums points to /Developer/Examples/WebKit/PictureBrowser/, which
is not on my system. How do I install that?
Or is there another similar example?
--
W. Shao
___
Cocoa-dev mailing
33 matches
Mail list logo