Nekbeth
Apr 27, 08:39 PM
.h
#import <UIKit/UIKit.h>
@interface ATimerViewController : UIViewController {
Emo Boys in Love by ~midoban
hey Edit hey section
[Anime Guy]
more...
hot - Anime Guys Photo
Emo Girl
more...
Emo-Anime-Guy-anime-guys-
OMG i absolutly love emo anime
more...
emo guys anime.
It#39;s sad that the luckiest guy
more...
hot emo guys anime. Emo anime
emo guys anime.
more...
Anime Guys
anime drawings emo. anime emo
more...
anime guy
emo guys anime. emo hair boy
more...
Anime Emo Guy by Demongurl15
emo quot;guyquot;, thus a quot;hequot;.
cute anime emo guys
#import <UIKit/UIKit.h>
@interface ATimerViewController : UIViewController {
Ommid
Apr 25, 12:50 PM
Fake, the hand looks all wrong. He has creepier thumbs than Megan fox!!!:eek:
How do you know? Are you holding her hand as you type?
How do you know? Are you holding her hand as you type?
AppliedVisual
Oct 17, 11:15 AM
More simply, I'm curious of who out there needs to burn 30 to 50 GB chunks of data, too large for a dual layer DVD to hold, and why.
I routinely work with video files and animation frames/models/scenes that are several gigabytes in size. Our current back-up solution is an ever-evolving archive on a redundant SAN with rotating tape archives. It would sure be nice to be able to record a project onto a single disc again instead of multiple discs. Because, doing the whole multi-DVD backup of a project is a pain in the arse and I rearely mess with such a thing given the other solutions in place.
HD-DVD and Blu-Ray are just another evolution of the CD / DVD / optical disc format. Just as CPU speeds and hard drive storage capacities increase, so must the capacities of other types of media.
As for yoru comment on 1080p displays... All HDTV sets are now in the progression to 1080p with most new '06 model DLP and LCOS rear projection sets now accepting and displaying full 1080p. There are currently 4 plasma displays on the market between the US and Japan that are full 1080p and several LCD models.
FWIW and I'm not trying to boast too much, I waited patiently to replace my old 36" tube set until 1080p was reality. I finally did so this July and bought the Samsung HL-S7178W - a 71" DLP TV with full 1080p and it's absolutely stunning. Did cost me $3600 on special with another coupon, but that's actually $180 less than I paid for the set it replaced when I bought it about 7 years ago.
I routinely work with video files and animation frames/models/scenes that are several gigabytes in size. Our current back-up solution is an ever-evolving archive on a redundant SAN with rotating tape archives. It would sure be nice to be able to record a project onto a single disc again instead of multiple discs. Because, doing the whole multi-DVD backup of a project is a pain in the arse and I rearely mess with such a thing given the other solutions in place.
HD-DVD and Blu-Ray are just another evolution of the CD / DVD / optical disc format. Just as CPU speeds and hard drive storage capacities increase, so must the capacities of other types of media.
As for yoru comment on 1080p displays... All HDTV sets are now in the progression to 1080p with most new '06 model DLP and LCOS rear projection sets now accepting and displaying full 1080p. There are currently 4 plasma displays on the market between the US and Japan that are full 1080p and several LCD models.
FWIW and I'm not trying to boast too much, I waited patiently to replace my old 36" tube set until 1080p was reality. I finally did so this July and bought the Samsung HL-S7178W - a 71" DLP TV with full 1080p and it's absolutely stunning. Did cost me $3600 on special with another coupon, but that's actually $180 less than I paid for the set it replaced when I bought it about 7 years ago.
*LTD*
Mar 13, 08:07 AM
No. A new market has been opened by Apple. That is as far as it goes. An iPad is not for everyone. Tablets will never kill off Laptops or Desktops or Servers.
Wait a while.
Wait a while.
more...
Glideslope
Apr 25, 03:59 PM
Is it just me, or does the back of the iPhone look like the iPod touch (like recent rumours claimed)?
By the way, it would be moronic for Apple to use 4s instead of 5. They used 3Gs simply because you can't have an iPhone 3G and then a successor named iPhone 3.
Just you. :apple:
By the way, it would be moronic for Apple to use 4s instead of 5. They used 3Gs simply because you can't have an iPhone 3G and then a successor named iPhone 3.
Just you. :apple:
generik
Sep 26, 03:33 AM
OMFG OMFG! Apple didn't just do Macbook/Pro silent update to Merom!
Whinge again tomorrow, when it is Tuesday!
Whinge again tomorrow, when it is Tuesday!
more...
MacFan1957
Jul 21, 10:23 AM
I hate to add to this whole tiresome "debate" but it does amuse me how a video of an iPhone 4 losing signal is proof *positive* of a design flaw whereas a similar video of a different smartphone is no proof at all!
I have an iPhone 4, its the best phone I have ever had and by a mile! I'm happy with it and frankly I'm pretty much sick and tired of folks telling me I'm mad or stupid for saying so!
Keith
I have an iPhone 4, its the best phone I have ever had and by a mile! I'm happy with it and frankly I'm pretty much sick and tired of folks telling me I'm mad or stupid for saying so!
Keith
flopticalcube
Nov 27, 05:48 PM
Sale Day MB 2/120 now shipping! :)
Shipment exception. :(
C'est la vie.
Shipment exception. :(
C'est la vie.
more...
MagnusVonMagnum
Apr 29, 03:19 PM
I sure as hell wouldnt move back to Windows for my everyday machine. I would move back to my Commodore 64 before that. :)
I wouldn't necessarily move to Windows for my everyday machine. Linux isn't too bad these days except for the lack of commercial software. It may end up being the OS of choice some day simply out of pure distaste for closed systems.
Uh huh. Then just jailbreak this hypothetical Mac, or buy the developer Mac that's going to be needed to make software for the iOS Mac.
What effect would 'needing' to jailbreak have on the Mac software market? How many developers will want to bother? How many more will bother after Apple refuses to carry their software on the App store for various reasons? (e.g. it competes with something made by Apple; they don't like the adult theme; it's not politically correct enough, etc. etc.)
This will happen eventually, but not just with Apple. All commercial OS's will go "closed". But not in 2-3 years, more like 10-15 or so. Your only chance for an open OS will be stuff like Linux then.
Anyway, I've already said too much. :)
It'll only happen if people put up with it. The only way to voice your opinion sometimes in a capitalistic society is to simply walk away and not buy/put up with the offending product. I don't like Windows, but I wouldn't like the closed/app store only system on OSX proper either. Linux would be fine if they would standardize a few areas and get some commercial developers on-board (but a good part of that community doesn't like commercial anything).
That's impressive. You've shown you don't understand business, software engineering, or computer engineering, all in one paragraph.
Nice!
All you've shown me is you are as utterly clueless as they come. :cool:
Software and computer engineering have zero to do with anything I said, BTW. The business angle of combining iOS with OSX proper is subjective to say the least since we have not seen a market reaction to it yet. In other words, I don't know what you've been smoking, but where can I get some? :p
I wouldn't necessarily move to Windows for my everyday machine. Linux isn't too bad these days except for the lack of commercial software. It may end up being the OS of choice some day simply out of pure distaste for closed systems.
Uh huh. Then just jailbreak this hypothetical Mac, or buy the developer Mac that's going to be needed to make software for the iOS Mac.
What effect would 'needing' to jailbreak have on the Mac software market? How many developers will want to bother? How many more will bother after Apple refuses to carry their software on the App store for various reasons? (e.g. it competes with something made by Apple; they don't like the adult theme; it's not politically correct enough, etc. etc.)
This will happen eventually, but not just with Apple. All commercial OS's will go "closed". But not in 2-3 years, more like 10-15 or so. Your only chance for an open OS will be stuff like Linux then.
Anyway, I've already said too much. :)
It'll only happen if people put up with it. The only way to voice your opinion sometimes in a capitalistic society is to simply walk away and not buy/put up with the offending product. I don't like Windows, but I wouldn't like the closed/app store only system on OSX proper either. Linux would be fine if they would standardize a few areas and get some commercial developers on-board (but a good part of that community doesn't like commercial anything).
That's impressive. You've shown you don't understand business, software engineering, or computer engineering, all in one paragraph.
Nice!
All you've shown me is you are as utterly clueless as they come. :cool:
Software and computer engineering have zero to do with anything I said, BTW. The business angle of combining iOS with OSX proper is subjective to say the least since we have not seen a market reaction to it yet. In other words, I don't know what you've been smoking, but where can I get some? :p
BadMoon
Mar 17, 11:18 AM
I would just like people to know a few things about me:
I'm an Indian Shaman and a King
I had coffee this morning
I'm sick of NYC and the scalpers
My P is about 3 inches (from the ground)
I wrote Jobs an email for free **** because I can't wait for shipping
I was raised in the everybody wins society by useless parents
I hate everyone that has an iPad 2 right now
Did I mention the NYC scalpers?
I love useless threads on MacRumors
I'm entitled to whatever I want as long as I say so
There I think I covered just about every useless thread this place has seen lately. :D
I'm an Indian Shaman and a King
I had coffee this morning
I'm sick of NYC and the scalpers
My P is about 3 inches (from the ground)
I wrote Jobs an email for free **** because I can't wait for shipping
I was raised in the everybody wins society by useless parents
I hate everyone that has an iPad 2 right now
Did I mention the NYC scalpers?
I love useless threads on MacRumors
I'm entitled to whatever I want as long as I say so
There I think I covered just about every useless thread this place has seen lately. :D
more...
dunk321
Mar 17, 01:17 AM
He probably did pocket the cash, since he asked if everything was cool when he handed me the bag, that def ran through my mind a few times.
jav6454
Dec 10, 02:45 PM
...running at 3.7 ghz, the temps are in the low 80's C. not good. we'll see how it goes
Yeah, that is not good. Thermal paste perhaps?
Yeah, that is not good. Thermal paste perhaps?
more...
azentropy
Dec 13, 02:47 PM
I just don't see Apple creating a situation where they're going to have 2 separate refresh dates for the iPhone. Whatever they do, they're going to make it so they refresh ALL of their iPhones around June of every year. Otherwise they're going to put one of the carriers at a distinct disadvantage because Verizon will have the latest technology for up to 6 months before it goes to ATT--which will hurt apple sales overall.
Actually I think this is what might happen, eventually. But rather than AT&T getting the same spec iPhone "A" 6 months later, they will get the "B" with some improvements, then the next year Verizon gets the "C" 6 months after that and so on... Where they will just keep leap frogging each other. I think the market is moving too fast for Apple to continue with just yearly updates.
Actually I think this is what might happen, eventually. But rather than AT&T getting the same spec iPhone "A" 6 months later, they will get the "B" with some improvements, then the next year Verizon gets the "C" 6 months after that and so on... Where they will just keep leap frogging each other. I think the market is moving too fast for Apple to continue with just yearly updates.
fivepoint
May 4, 03:38 PM
Sorry, during which year of medical school do doctors receive gun safety training? How many hours of coursework on home safety do they complete? The typical MD is no more qualified to discuss these matters than any bozo on the street with more than an ounce of common sense. If they really want to help their patients child-proof their homes effectively, providing a helpful checklist would far more effective than interrogating parents.
I tend to agree with you regarding a physician's readiness to provide gun safety lessons, but I think you're missing the bigger picture. Do you think that the government should be OUTLAWING physicians from asking their patients questions? It doesn't matter what the question is... is that the role of government?
I tend to agree with you regarding a physician's readiness to provide gun safety lessons, but I think you're missing the bigger picture. Do you think that the government should be OUTLAWING physicians from asking their patients questions? It doesn't matter what the question is... is that the role of government?
more...
Whyren
Sep 7, 08:25 PM
Jobs in 2008 is that what i am hearing. YAY president Jobs.
Ha ha, well he's already got the Mac crowd. Advertise he's CEO of Pixar and you've got a good portion of the parental/Disney crowd too. :D
Ha ha, well he's already got the Mac crowd. Advertise he's CEO of Pixar and you've got a good portion of the parental/Disney crowd too. :D
robbieduncan
Apr 26, 10:53 AM
Y
P.S. The box surrounding the up/down buttons is baboon-ass ugly.
What box? Not seeing one here (Firefox 4 on Windows Vista at work)
P.S. The box surrounding the up/down buttons is baboon-ass ugly.
What box? Not seeing one here (Firefox 4 on Windows Vista at work)
more...
semaja2
Oct 29, 01:08 AM
Say good bye to programs like InsomniaX/Sleepless and other hacks.
I mention the two first apps because they were relying on the 10.4.8 source code to see what has broken the software from 10.4.7
I mention the two first apps because they were relying on the 10.4.8 source code to see what has broken the software from 10.4.7
msb3079
Apr 25, 03:45 PM
I'd much rather have a slightly bigger screen (mostly for less "dead" space) than performance improvements, when I'm happy with current performance. WTF do you people do on your phones anyway...??
rkahl
Mar 17, 12:24 PM
He could probably earn more if he worked else where. :)
"Uh yeah, if you want to work 40 HOURS A WEEK!"
"Uh yeah, if you want to work 40 HOURS A WEEK!"
JForestZ34
Mar 17, 04:18 PM
Bottom line is this kid probably got fired and is now liable for $300 bucks, is seen as a thief by his family, friends and ex-coworkers, will probably hold a guilt trip for some time and probably start him down the road of failure. All this kid was doing, was trying to work at a job. Something admirable. But it's all ok. Because you have your iPad2 at a discounted price. enjoy yourself.
Why are you saying that the OP is the only one to blame.. It doesn't matter if the kid is trying to work a job and is being admirable... The point is HE KNEW he didn't have all the money and yet let him walk out with the ipad.. The employee is TOO MAKE SURE the customer paid what is owed.. Don't act like the OP is all at fault...
How many times did you pick up a penny from the leave a penny- take a penny thing at register in a WAWA or someplace.. Is that your money to take.. NOPE... SO everybody get off their high horse cause we all know damn well you would do the same thing...
How many of you go to out to eat and see that they didn't but a soda on your bill or they forgot to put your appetizer on it.. Do you tell the waitress that she forgot to but it on your bill? I BET NOT... I bet 90% of you would not say a word if you could save a few bucks...
James
Why are you saying that the OP is the only one to blame.. It doesn't matter if the kid is trying to work a job and is being admirable... The point is HE KNEW he didn't have all the money and yet let him walk out with the ipad.. The employee is TOO MAKE SURE the customer paid what is owed.. Don't act like the OP is all at fault...
How many times did you pick up a penny from the leave a penny- take a penny thing at register in a WAWA or someplace.. Is that your money to take.. NOPE... SO everybody get off their high horse cause we all know damn well you would do the same thing...
How many of you go to out to eat and see that they didn't but a soda on your bill or they forgot to put your appetizer on it.. Do you tell the waitress that she forgot to but it on your bill? I BET NOT... I bet 90% of you would not say a word if you could save a few bucks...
James
idanchez
Apr 15, 05:36 PM
I hope this is a fake.What is the long slot on the side? Is it a spot for a memory card?
I think this is for the Volume Button... not memory card slot... It will probably look like the new iPad volume button.
I think this is for the Volume Button... not memory card slot... It will probably look like the new iPad volume button.
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.
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.
theosib
Apr 29, 08:17 PM
I like it as it is in Snow Leopard.
Yes! I completely agree! What's wrong with Aqua candy blue style? It looks great and is intuitive. This gray-only stuff seems like a step backwards.
Yes! I completely agree! What's wrong with Aqua candy blue style? It looks great and is intuitive. This gray-only stuff seems like a step backwards.
Lord Blackadder
Nov 16, 11:55 AM
Well, people have hacked OSX to run on AMD computers, so I don't think many (if any) software changes would be necessary.
No comments:
Post a Comment