Monday, May 30, 2011

miss you best friend

miss you best friend. miss you best friend. miss you
  • miss you best friend. miss you



  • wlh99
    Apr 28, 10:08 AM
    By the way, what's with 3rd person reference? the OP? you can call me Nekbeth or Chrystian, it's a lot more polite. Maybe you guys have a way to refer to someone , I don't know.

    I appologize for that. I didn't recall your name. I was replying to KnightWRX, so I took a shorcut (original poster).

    I won't do that any further.

    I through together a simple program that I think does exactly as you want. It is a Mac version, but the different there is trival, and instead of a picker, it is a text field the user enters a time into for the timer duration. You will need to change the NSTextFields into UITextFields.

    The bulk of the code is exactly what I posted before, but I modified the EchoIt method to work with an NSDate. I implemeted it in the appDelegate, and you are using your viewController. That doesn't change the code any, and your way is more correct.

    I can email you the whole project as a zip if you want. It is about 2.5 meg. Just PM me your email address.


    //
    // timertestAppDelegate.m
    // timertest
    //
    // Created by Warren Holybee on 4/27/11.
    // Copyright 2011 Warren Holybee. All rights reserved.
    //

    #import "timertestAppDelegate.h"

    @implementation timertestAppDelegate

    @synthesize window, timeTextField, elapsedTimeTextField, timeLeftTextField;

    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application
    }

    -(IBAction)startButton:(id) sender {
    // myTimer is declared in header file ...

    if (myTimer!=nil) { // if the pointer already points to a timer, you don't want to
    //create a second one without stoping and destroying the first

    [myTimer invalidate];
    [myTimer release];
    [startDate release];
    }

    // Now that we know myTimer doesn't point to a timer already..

    startDate = [[NSDate date] retain]; // remember what time this timer is created and started
    // so we can calculate elapsed time later


    NSTimeInterval myTimeInterval = 0.1; // How often the timer fires.
    myTimer = [NSTimer scheduledTimerWithTimeInterval:myTimeInterval target:self selector:@selector(echoIt)
    userInfo:nil repeats:YES];
    [myTimer retain];
    }

    -(IBAction)cancelIt:(id) sender {
    [myTimer invalidate];
    [myTimer release]; // This timer is now gone, and you won't reuse it.
    myTimer = nil;
    }

    -(void)echoIt {


    NSDate *now = [[NSDate date] retain]; // Get the current time
    NSTimeInterval elapsedTime = [now timeIntervalSinceDate:startDate]; // compare the current time to
    [now release]; // our remembered time

    NSLog(@"Elapsed Time = %.1f",elapsedTime); // log it and display it in a textField
    [elapsedTimeTextField setStringValue:[NSString stringWithFormat:@"%.1f",elapsedTime]];

    float timeValue = [timeTextField floatValue]; // timeValueTextField is where a user
    // enters the countdown length

    float timeLeft = timeValue - elapsedTime; // Calculate How much time is left.
    NSLog(@"Time Left = %.1f",timeLeft); // log it and display it
    [timeLeftTextField setStringValue:[NSString stringWithFormat:@"%.1f",timeLeft]];

    if (timeLeft < 0) { // if the time is up, send "cancelIt:"
    [self cancelIt:self]; // message to ourself.
    }


    }




    @end


    *edit:
    If you like, later tonight I can show you how to do this as you first tried, by incrementing a seconds variable. Or wait for KnightWRX. My concern is accuracy of the timer. It might be off by several seconds after running an hour. That might not be an issue for your application, but you should be aware of it.





    miss you best friend. Posted in Missing You Quotes
  • Posted in Missing You Quotes



  • fivepoint
    May 4, 03:19 PM
    Any law that tells a physician what they can and can't ask a patient, or who they must treat despite their own personal views - is stupid. Physicians should be able to ask whatever they want, if the person answers that's their own choice, and if the physician no longer wants to treat them, thats his/her choice. Sames for guns, same for gays, same for anything. A private business person should be able to serve whomever they want to serve... period.

    The hypocrisy from those of you on the left on this issue is pretty clear. If this was the GLBTA trying to pass a similar law regarding homosexuality, etc. you'd have no problem with it.





    miss you best friend. i miss you best friend poems.
  • i miss you best friend poems.



  • iphones4evry1
    Oct 6, 07:49 PM
    Good !
    I'm getting sick and tired of AT&T's decline in coverage and spotty coverage. When I had my RAZR phone, I used to have great coverage everywhere on AT&T, but over the past year AT&T's coverage and quality of coverage has declined BIG TIME. I'm sick and tired of it! I hope Verizon launches a HUGE campaign showing all the spots on the map where AT&T has lousy coverage and it motivates AT&T to get off their laurels and DO SOMETHING ABOUT IT!!!!!!!!!!! :mad::mad::mad:





    miss you best friend. miss you best friend. miss you
  • miss you best friend. miss you



  • nicroma
    Apr 29, 01:51 PM
    What stage will this be stable enough to use as your main OS? :apple:

    10.7.1 or .2 is the rule I go by.



    more...


    miss you best friend. miss you best friend. i miss
  • miss you best friend. i miss



  • TimUSCA
    Apr 25, 12:08 PM
    I seriously doubt Apple is going to change the screen size so slightly because it may require a lot of software re-writes (unless the apps are truly resolution independent).

    Perhaps, the screen only appears bigger because the borders will relatively shrink in the next generation????

    The resolution would stay the same, so no extra coding would be required. Only the pixel density would change (PPI).





    miss you best friend. miss you best friend. i miss
  • miss you best friend. i miss



  • OrangeSVTguy
    Dec 13, 11:25 AM
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)

    Good. I'm still in my 30 days to cancel AT&T if this indeed come out after Christmas.



    more...


    miss you best friend. miss you best friend. miss you
  • miss you best friend. miss you



  • Yamcha
    Apr 30, 07:50 PM
    I've been using OSX Lion for a day, so far its pretty great, except I don't understand why Apple didn't add an option for a mouse shortcut for Launchpad =/, it would make things so much easier..





    miss you best friend. i miss you best friend quotes.
  • i miss you best friend quotes.



  • Balli
    Sep 12, 02:51 AM
    10am Cupertino (west coast US) time. Just over 9 hours to go.

    That's 7pm here in the UK... Just when I get home from work! :)

    Are any sites offering live feeds, etc?



    more...


    miss you best friend. I miss you, est friend.
  • I miss you, est friend.



  • Polo5
    Oct 6, 10:13 AM
    could i move in with you steve? :p





    miss you best friend. miss you best friend. miss you
  • miss you best friend. miss you



  • ct-scan
    Oct 3, 01:09 PM
    iPhone will come out before X'mas.

    Xmas 2007 maybe :rolleyes:



    more...


    miss you best friend. i miss you best friend
  • i miss you best friend



  • jrtc27
    Apr 30, 03:45 AM
    No, because then as pointed out by your MS friend, it would be Windows NT 6.1 ;) Your blog post even says it doesn't make sense, so I don't see how "MS gave you info" when your "source" says it doesn't make any sense.

    The reason why it is 6.1 is to maintain compatibility with software/drivers that worked in Vista - they did not want another Vista moment!

    I don't get why everybody hates this UI change - I personally think it looks a lot better and people will not get confused:).





    miss you best friend. miss you best friend.
  • miss you best friend.



  • CrownSeven
    Oct 14, 04:55 PM
    Wow. Do you people realize that this topic was originally posted WAY WAY back on Jan 10, 03:12 PM??? 10 months ago?



    more...


    miss you best friend. The Loss of My Best Friend.
  • The Loss of My Best Friend.



  • iansilv
    Apr 29, 11:23 PM
    GOOD. I hate tweaking stuff just for the sake of tweaking it. If it works, leave it- no reason to throw out simple intuitive controls.





    miss you best friend. miss you best friend. i miss
  • miss you best friend. i miss



  • Eye4Desyn
    Apr 16, 07:09 AM
    I'm calling it B.S. for sure. The shell geometry is insanely archaic and looks nothing like the fluidic form-factor seen on current and previous iPhones as well as the iPad. Creases where edges and surfaces meet are way too harsh for Apple's I.D. standards. FAKE!!



    more...


    miss you best friend. miss you best friend. i miss
  • miss you best friend. i miss



  • dsnort
    Aug 2, 07:06 AM
    Does anyone know what became of the constitutional challenge to the french iTunes law? I had read somewhere that the opposition party was trying to get the law overturned, haven't seen anything more about it since.





    miss you best friend. i miss you best friend quotes.
  • i miss you best friend quotes.



  • Macopotamus
    May 3, 02:29 PM
    I'm not surprised by this, it's pressure from the carriers.

    BTW the AT&T link doesn't work.



    more...


    miss you best friend. miss you best friend quotes. i
  • miss you best friend quotes. i



  • aswitcher
    Sep 12, 08:14 AM
    3am for the four hundredth billionth time.

    I see the cracks of frustration are showing...or should that be showtiming... :rolleyes:





    miss you best friend. miss you best friend.
  • miss you best friend.



  • JAT
    May 2, 09:07 PM
    You obviously missed the irony of it all (and yes, OSX is around 10 years old now). Windows was never called "1, 2, 3" etc. so there's more irony for OSX which did takes 10 years to get where it is now
    ??? Actually, those first versions of Windows were the only ones with names based on the version number.

    Although, I can't make out what either of you are saying.





    miss you best friend. miss you best friend quotes
  • miss you best friend quotes



  • glocke12
    May 4, 05:38 PM
    Guns are within my scope of practice (http://www.sfgate.com/cgi-bin/blogs/rchoi/detail?entry_id=88328)



    Couple this with the fact that the NRA has prevented any studies on guns and their impact on American society and I think we can all rest assured that we're heading towards a society ruled by the American Taliban. Heavy sarcasm intended.

    If guns are so important to society, why is it taboo to have an adult conversation about their impact on that society?

    Sorry, but whether I have guns in my house with my kids is not anyones business but my own.





    -hh
    Oct 19, 01:05 PM
    Let's do this math...
    $1,810,330 - $94,070.00 = $1,716,260.00 stock worth.

    I have not sold one share. Now who is laughing. Thank you iPod.


    Does this mean you're buying lunch for all of us? :)

    FWIW, I regret not buying some AAPL a long, long time ago...didn't do it because my employer makes it a major hassle to own individual stocks because they apply stricter financial reporting requirements (if I were to set up an automatic monthly purchase, I'd have to report it every month, run it up through management for signatures *every* month, etc, etc. Very painful).


    -hh





    AlphaMikeRome0
    Apr 16, 11:19 AM
    Agreed.

    Well thats the end of that one then , also i prefer the current placstic for the iphone





    emotion
    Nov 16, 07:23 AM
    I'd consider it highly unlikley but here's the rumour (it's be wise for Apple to have rumours circulated just to keep Intel sharp):

    http://www.digitimes.com/systems/a20061115PR207.html





    balamw
    Oct 3, 12:14 AM
    charcoal gray.
    That was my point, until it's thoroughly tested in court (or repealed or modified) it remains up to interpretation, which makes most encryption/DRM reverse engineering related work in the US (somewhat) risky business.

    DVD Jon may have found a way around this in that he's not currently trying to circumvent the access control, he appears to be trying to apply a compatible access control to files that would not otherwise have one.

    B





    blaqink
    Apr 15, 12:27 PM
    looks like a rendering



    No comments:

    Post a Comment

    Blog Archive