Regarding MVC design pattern

2010-05-16 Thread Sai
Hi All, I am new to cocoa development. Suppose I have an iPhone application follow the MVC design pattern. The Model is presented by an custom object. And I have declared an instance of the Model Object as a IBOutlet in my Controller class. I found that every time I start my application, this insta

Re: Regarding MVC design pattern

2010-05-18 Thread Sai
r instance else(all are primitive types) in that Model object are fine(contains correct value). So where does it go wrong? Hopefully I state things clearly this time. Thank you all. On Mon, May 17, 2010 at 1:29 PM, Henry McGilton < appledevelo...@trilithon.com> wrote: > > On May 15,

Re: Regarding MVC design pattern

2010-05-18 Thread Sai
e, May 18, 2010 at 7:07 PM, Jack Nutting wrote: > On Tue, May 18, 2010 at 12:40 PM, Sai wrote: > > However, I declare a NSDictionary instance variable in my model object. > This > > NSDictionary instance > > store some data I need. And I will create this NSDictionary

Re: Regarding MVC design pattern

2010-05-19 Thread Sai
Hi all, I have gone through the Memory Management Programming Guide document last night, and modify my codes a little bit. Even the program runs well without crashing, but I still have some questions remained. I will attach some of my codes as follow: 1. I have both Controller Object and MyModel

Re: Regarding MVC design pattern

2010-05-19 Thread Sai
, Jack Nutting wrote: > On Wed, May 19, 2010 at 10:48 AM, Sai wrote: > > I have two questions: > > 1. Look at the awakeFromNib method of Controller, my output of the retain > > count to the console are > > myModel retain count: 5 > > controller retain count: 17 &

How does chromium simulate keyboard events using CGEventPost in pre login agent?

2017-01-04 Thread Sai Prasanna
I have created a pre-login agent which uses CGEventPost for simulating keyboard. FYI I am developing a remote control app similar to teamviewer. Keyboard (I tried other event sources too) CGEventRef keyEvent = CGEventCreateKeyboardEvent( NULL, keyCode, down ) ; CGEventPost( kCGHIDEventTap, keyEve

Re: How does chromium simulate keyboard events using CGEventPost in pre login agent?

2017-01-05 Thread Sai Prasanna
I am developing remote control app like chromium, we are doing a pre login agent for unattended access.I can divulge details of my project and it's letigmiacy through private email if anybody from apple wants it. If coregraphics API are not meant for this mailing list please point me to the corre

Re: How does chromium simulate keyboard events using CGEventPost in pre login agent?

2017-01-05 Thread Sai Prasanna
om a daemon. On Fri, 6 Jan 2017 at 1:35 AM, Doug Hill wrote: > It’s possible “untrusted” means not code-signed. > > > > > > > On Jan 4, 2017, at 11:36 PM, Sai Prasanna > wrote: > > > > > > I have created a pre-login agent which uses CGEventPost f

Fwd: How does chromium simulate keyboard events using CGEventPost in pre login agent?

2017-01-05 Thread Sai Prasanna
-- Forwarded message - From: Sai Prasanna Date: Fri, 6 Jan 2017 at 12:51 AM Subject: Re: How does chromium simulate keyboard events using CGEventPost in pre login agent? To: Jens Alfke I posted here because I seen a similar question, which may have gone unanswered . Posted in

Issue with Input method using IMK

2009-12-07 Thread Sai Naveen
Hi, I am trying to develop an input method using IMKit approach by implementing the below. -(BOOL)inputText:(NSString*) string key:(NSInteger)keyCode modifiers:(NSUInteger)flags client:(id)sender I took the IMK sample available at ADC, and understood the flow by installing and dumping the traces