Re: redraw problem

2010-07-29 Thread Tony Romano
That was it Michael. Thank you. On Jul 29, 2010, at 9:19 PM, Michael Ash wrote: > On Thu, Jul 29, 2010 at 4:26 PM, Tony Romano wrote: >> I have a document based Cocoa App and I am trying to understand what is >> causing these residual lines to happen. Attached is a link to what I am >> referr

Re: redraw problem

2010-07-29 Thread Michael Ash
On Thu, Jul 29, 2010 at 4:26 PM, Tony Romano wrote: > I have a document based Cocoa App and I am trying to understand what is > causing these residual lines to happen.  Attached is a link to what I am > referring to.  The solid blue lines are the new lines after they have moved.   > The greyish

Re: redraw problem

2010-07-29 Thread Markus Spoettl
On Jul 29, 2010, at 7:30 PM, Tony Romano wrote: > Moved the code to here. http://dl.dropbox.com/u/5614061/snippet.txt > > The drawRect redraws the entire view. So, in a sense, I am drawing over > everything in that view. What's interesting, is the lines are left from the > first time I adjust

Re: [iphone] Hud style UIView

2010-07-29 Thread Sandro Noël
No one? On 2010-07-28, at 11:47 AM, Sandro Noël wrote: > Greetings! > > my goal: > prompt the user for a single line of text with a modal view containing a text > field and the keyboard. > the keyboard becomes visible as it should when the text field becomes first > responder. > > What I've

Re: Cocoa-dev Digest, Vol 7, Issue 777

2010-07-29 Thread Martin Stanley
Thanks for the response, >> With SmartGroups the situation is different. The relationship is not >> explicit; it is due to the fact that the entity's name is used in the >> predicate. If the user deletes the referenced entity the predicate will no >> longer be valid. This is possibly okay in t

[MEET] August CocoaHeads Mac Developer Meetings

2010-07-29 Thread Stephen Zyszkiewicz
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, August 5, 2010 18:30 Canada Ottawa/Gatineau, Ontario - Thursday, August 12, 2010 1

Re: redraw problem

2010-07-29 Thread Tony Romano
Moved the code to here. http://dl.dropbox.com/u/5614061/snippet.txt The drawRect redraws the entire view. So, in a sense, I am drawing over everything in that view. What's interesting, is the lines are left from the first time I adjust the blue lines, any additional adjustments to the blue lin

Re: help with methods

2010-07-29 Thread Quincey Morris
On Jul 28, 2010, at 21:26, Rounak Jain wrote: > But I don't understand what > > [toDoList objectAtIndex:rowIndex]; > > means. Now would be a good time to go back to Apple's documentation, which is written to answer exactly the kinds of questions you're asking. You should start with:

Re: redraw problem

2010-07-29 Thread Gideon King
Yeah, hard to be of help without the source ...and you could use Quartz Debug to see what is actually being redrawn. (/Developer/Applications/Graphics Tools) On 30/07/2010, at 6:37 AM, Michael Dautermann wrote: > On Jul 29, 2010, at 1:26 PM, Tony Romano wrote: > >> I have a document based Coc

Re: help with methods

2010-07-29 Thread Rounak Jain
On Jul 29, 2010, at 4:17 AM, Ken Thomases wrote: On Jul 28, 2010, at 1:27 PM, Rounak Jain wrote: (NSString *) is the type of the variableName and variableName is the variable However, I feel helpless when I see something like this: - (void)tableView:(NSTableView *)aTableView setObject

Storing help pages on Remote Server

2010-07-29 Thread Devarshi Kulshreshtha
Hi all, I have made a sample application in which I am able to implement help book via help viewer . Right now it is storing and displaying content from application bundle, but I want to implement Internet Primary help book content, in which it checks the server to determine whether a newer versi

Re: redraw problem

2010-07-29 Thread Michael Dautermann
On Jul 29, 2010, at 1:26 PM, Tony Romano wrote: > I have a document based Cocoa App and I am trying to understand what is > causing these residual lines to happen. Attached is a link to what I am > referring to. The solid blue lines are the new lines after they have moved. > The greyish line

redraw problem

2010-07-29 Thread Tony Romano
I have a document based Cocoa App and I am trying to understand what is causing these residual lines to happen. Attached is a link to what I am referring to. The solid blue lines are the new lines after they have moved. The greyish lines are what's being left behind. http://dl.dropbox.com/u/5

Re: Intercepting deletion of NSManagedObjects or how to handle deletion in non-explicit relationships?

2010-07-29 Thread Keary Suska
On Jul 28, 2010, at 8:28 PM, Martin Stanley wrote: > With SmartGroups the situation is different. The relationship is not > explicit; it is due to the fact that the entity's name is used in the > predicate. If the user deletes the referenced entity the predicate will no > longer be valid. This

Re: View not visible

2010-07-29 Thread spsaxena
Thanks Kyle for so quick reply. Please read my answers inline. On Thu, Jul 29, 2010 at 12:36 PM, Kyle Sluder wrote: > On Thu, Jul 29, 2010 at 12:01 AM, spsaxena > wrote: > > Sorry for the newb question. I am just trying to create a view > > programatically, then add it to window and color it. B

RE: PMSessionBeginPage

2010-07-29 Thread Shilpi Aggarwal
Okie. Will take care in future. -Shilpi -Original Message- From: John Joyce [mailto:jjo...@apple.com] Sent: Thursday, July 29, 2010 12:55 PM To: Shilpi Aggarwal Cc: Kyle Sluder; Cocoa-dev@lists.apple.com Subject: Re: PMSessionBeginPage Posting on multiple mailing-lists is considered cro

Re: PMSessionBeginPage

2010-07-29 Thread John Joyce
Posting on multiple mailing-lists is considered cross-posting. Please keep a post to the appropriate list only. Thank you. On Jul 29, 2010, at 2:09 AM, Shilpi Aggarwal wrote: > I posted this on these three mailing lists ONCE to get views from wider > audience. > -Shilpi > > -Original Messa

RE: PMSessionBeginPage

2010-07-29 Thread Shilpi Aggarwal
I posted this on these three mailing lists ONCE to get views from wider audience. -Shilpi -Original Message- From: Kyle Sluder [mailto:kyle.slu...@gmail.com] Sent: Thursday, July 29, 2010 12:37 PM To: Shilpi Aggarwal Cc: Cocoa-dev@lists.apple.com Subject: Re: PMSessionBeginPage On Thu,

Re: PMSessionBeginPage

2010-07-29 Thread Kyle Sluder
On Thu, Jul 29, 2010 at 12:04 AM, Shilpi Aggarwal wrote: > I have not posted this topic thrice. Yes you did, to cocoa-dev, carbon-dev, and printing-dev. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin req

Re: View not visible

2010-07-29 Thread Kyle Sluder
On Thu, Jul 29, 2010 at 12:01 AM, spsaxena wrote: > Sorry for the newb question. I am just trying to create a view > programatically, then add it to window and color it. But when I run it I do > not see the colored view. First thing's first, do you have a reason you're not using Interface Builder

RE: PMSessionBeginPage

2010-07-29 Thread Shilpi Aggarwal
I have not posted this topic thrice. -Shilpi -Original Message- From: Kyle Sluder [mailto:kyle.slu...@gmail.com] Sent: Thursday, July 29, 2010 12:30 PM To: Shilpi Aggarwal Cc: Cocoa-dev@lists.apple.com Subject: Re: PMSessionBeginPage On Wed, Jul 28, 2010 at 11:46 PM, Kyle Sluder wrote:

View not visible

2010-07-29 Thread spsaxena
Sorry for the newb question. I am just trying to create a view programatically, then add it to window and color it. But when I run it I do not see the colored view. Can you please point as to what I am doing wrong. Following is my code - NSView * windowView = [[self window] contentView]; NSRect wi

Re: PMSessionBeginPage

2010-07-29 Thread Kyle Sluder
On Wed, Jul 28, 2010 at 11:46 PM, Kyle Sluder wrote: > On Wed, Jul 28, 2010 at 10:44 PM, Shilpi Aggarwal wrote: >> I want to use PMSessionBeginPage in a 64 bit application but this API is not >> available for 64 bit applications. > > Because you should be using Cocoa. Especially since you're ask