
Nekbeth
Apr 26, 10:29 PM
What if after pressing the start button, you create a timer and start it. Then pressing the cancel button invalidates and releases it. Then pressing the start button would create another timer, using the same pointer.
Totally untested and probably broken code below, but should demonstrate the idea:
-(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];
}
// Now that we know myTimer doesn't point to a timer already..
myTimer = [NSTimer scheduledTimerWithTimeInterval:aTimeInterval target:self selector:@selector(echoIt:) userInfo:myDict repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
}
Update *** "I though it worked but the timer kept going on the background.
crashed :confused:
wlh99, do you get an exception in the invalid method " [myTimer Invalidate]" ?
Totally untested and probably broken code below, but should demonstrate the idea:
-(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];
}
// Now that we know myTimer doesn't point to a timer already..
myTimer = [NSTimer scheduledTimerWithTimeInterval:aTimeInterval target:self selector:@selector(echoIt:) userInfo:myDict repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
}
Update *** "I though it worked but the timer kept going on the background.
crashed :confused:
wlh99, do you get an exception in the invalid method " [myTimer Invalidate]" ?
bruinsrme
Oct 6, 11:35 AM
It was a good message until they stated "Before you pick a phone, pick a network." That would be valid in an iPhone-less world. They would still be selling us phones based on a spinning CGI rendering of a phone's outer shell. "Look! A plastic candy bar! You like candy, don't you? Then you'll love our rectangular phone! Brand new features like rounded edges and three colors!"
Apple changed the game. The device should now be the focus. The service should be an afterthought in the background.
Why would anyone by something as expensive as an iPhone if the coverage is not as good As another carrier or existan at all? Yeah I want to pay $90 a month for a phone that doesn't work well in the area I spent most of my time in.
Apple changed the game. The device should now be the focus. The service should be an afterthought in the background.
Why would anyone by something as expensive as an iPhone if the coverage is not as good As another carrier or existan at all? Yeah I want to pay $90 a month for a phone that doesn't work well in the area I spent most of my time in.
leekohler
Mar 4, 05:43 AM
Jail time for strikers is bizarre and totally unacceptable.
Additionally there is no way you can claim that it is a "individual liberty" position to hold to be for jailing strikers.
You should know by noe that fivepoint is only interested in individual freedom when it's an issue he agrees with.
Additionally there is no way you can claim that it is a "individual liberty" position to hold to be for jailing strikers.
You should know by noe that fivepoint is only interested in individual freedom when it's an issue he agrees with.
Vidder
Dec 8, 04:09 PM
Treyarch seemed to make a decision to nerf the whole snipe/camp thing, making sniping more difficult, and camping a risky & questionable proposition. Running & gunning is the way Black Ops seems to go, if you want to camp, stack killstreaks, modern warfare is the way to go. The amount of times I have seen someone going XX kills & 0 deaths I can count on one hand, while in MW2 I had done it quite a few times.
I think Black Ops has become a nice alternative, and not just a continuation of modern warfare. It gives players choices.
The multiple games give you choices...but this game alone gives you no choice but to run and gun. If i wanted to Run and Gun and waste my life i'd go join the taliban and pray to Allah.
This game gives you very little choice and in that makes the game terrible.
And you said it yourself. Treyarch ruined the game for all the snipers. Great job!
Treyarch = morons and dip*****. Bring back Infinity War. Black Ops Blows.
I think Black Ops has become a nice alternative, and not just a continuation of modern warfare. It gives players choices.
The multiple games give you choices...but this game alone gives you no choice but to run and gun. If i wanted to Run and Gun and waste my life i'd go join the taliban and pray to Allah.
This game gives you very little choice and in that makes the game terrible.
And you said it yourself. Treyarch ruined the game for all the snipers. Great job!
Treyarch = morons and dip*****. Bring back Infinity War. Black Ops Blows.
more...
skinned66
May 4, 04:05 AM
North American cellular providers are anti-consumer, nickel & diming scumbags? Say it ain't so...
:rolleyes:
:rolleyes:
Shadow
Nov 24, 05:59 PM
All the Apple Stores are really slow, they must be getting *hammered*.
more...
ThunderSkunk
Apr 29, 06:39 PM
Hm. I hate to say it but I'm preparing to be a little disappointed.
The shading of a button is about the most minor UI change I could think of, compared to the big changes I was expecting. As for the color schema, I thought i'd be glossy black... like imovie, fcp, etc... nice clean, high contrast, classy look, keeps your focus on your content.
But I guess I was expecting some next-generation stuff, like a semi-intelligent contextual version of Finder that'd closer integrate into applications, to put compatible files at your fingertips, & make the OS work with you, instead of be worked by you.
...Integration of cross-OS applications, like auto-syncable iWork, Garageband, iMovie projects, etc... so your content can be worked on seamlessly from one device to another & allow us to focus even more on our content & less on our tools.
an 20 foot voice activated foldable touchscreens and and... i know, i know...
The shading of a button is about the most minor UI change I could think of, compared to the big changes I was expecting. As for the color schema, I thought i'd be glossy black... like imovie, fcp, etc... nice clean, high contrast, classy look, keeps your focus on your content.
But I guess I was expecting some next-generation stuff, like a semi-intelligent contextual version of Finder that'd closer integrate into applications, to put compatible files at your fingertips, & make the OS work with you, instead of be worked by you.
...Integration of cross-OS applications, like auto-syncable iWork, Garageband, iMovie projects, etc... so your content can be worked on seamlessly from one device to another & allow us to focus even more on our content & less on our tools.
an 20 foot voice activated foldable touchscreens and and... i know, i know...
quagmire
Nov 14, 09:30 PM
I beat both MW games on Hardened, and about half of the levels of each on Veteran. While the plot in both was ludicrous, they were at least fun. Lots of clear objectives, teammates who would stay out of the way, and very few of those "monster closet" moments (grrrrr, Favela :mad:) Those games were fun from start to finish. Black Ops is just a mess of crazy flashbacks cutscenes, messy game design, and terrible direction.
MW2's plot wasn't too ludicrous. You infiltrate a Russian terrorist cell, you're commanding officer betrays you, starts a war between the US and Russia. The only ludicrous part that I can remember is a nuke blowing apart the ISS.
How about Fallout 3? I've never been to DC, but I find it really funny how when I see it on TV or in movies now, I recognize so much of it, and where things are, just from my hundreds of hours in that game. :D
Haven't played Fallout 3.
MW2's plot wasn't too ludicrous. You infiltrate a Russian terrorist cell, you're commanding officer betrays you, starts a war between the US and Russia. The only ludicrous part that I can remember is a nuke blowing apart the ISS.
How about Fallout 3? I've never been to DC, but I find it really funny how when I see it on TV or in movies now, I recognize so much of it, and where things are, just from my hundreds of hours in that game. :D
Haven't played Fallout 3.
more...
Ger Teunis
Apr 29, 03:15 PM
nevermind
dr Dunkel
May 2, 11:17 AM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; sv-se) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5)
Location tracking "bug"... haha... well, I'm glad Apple got caught.
Location tracking "bug"... haha... well, I'm glad Apple got caught.
more...
thatisme
Jul 21, 09:36 AM
I find it great that they are doing this... in so far as it illustrates what their testing shows, that the iPhone 4 is not the only phone to have "antenna issues"
I don't see Apple as using this in an advertising campaign, just that they are backing up their claims and research with true visual evidence
If they were acting immaturely, they would have just left it at "well, everyone else has the problems like this too" and not offer up any data, evidence, etc to back up their claim.... It is very similar to a vocal majority on this site saying "Apple's antenna design is defective" and "All iPhone 4's are defective" as well as "Every iPhone 4 loses reception just by touching it"... no hard data showing that ALL phones are defective or that the antenna doesn't work...
I don't see Apple as using this in an advertising campaign, just that they are backing up their claims and research with true visual evidence
If they were acting immaturely, they would have just left it at "well, everyone else has the problems like this too" and not offer up any data, evidence, etc to back up their claim.... It is very similar to a vocal majority on this site saying "Apple's antenna design is defective" and "All iPhone 4's are defective" as well as "Every iPhone 4 loses reception just by touching it"... no hard data showing that ALL phones are defective or that the antenna doesn't work...
skunk
Apr 21, 11:11 AM
I give it three phooeys.
more...
aswitcher
Sep 12, 07:23 AM
Can't wait :D
The Australian store is claiming that the store is busy or to check my connection :confused:
Aus store is up for me...
The Australian store is claiming that the store is busy or to check my connection :confused:
Aus store is up for me...
Stridder44
Mar 24, 03:07 PM
OS X? Never heard of it. It'll probably fail and fall into product obscurity hell like the iPod did.
more...

Willis
Sep 12, 06:33 AM
I cant believe how much press Apple is getting. It was never like this before. IE. when the battery recall was on the news, the BBC/ITV were camped outside of Regent street's Apple store talking about the batteries and what went wrong and what not, even though Dell was involved too. Bit harsh I think.
But, it still suprises me about people and their iPods. I was at college the other day and someone had their iPod out. I pulled my first Gen iPod out my pocket and said "Now this is old school. You can only use this with a Mac" and the student said to me "Whats a Mac?"
After explaining that the iPod is made by a company called Apple, which has made PC's since the 70/80s, he then replied... "oooh, those computers are rubbish"
yeah, whatever you say mate...
EDIT: sorry, just a rant really... but on topic!
But, it still suprises me about people and their iPods. I was at college the other day and someone had their iPod out. I pulled my first Gen iPod out my pocket and said "Now this is old school. You can only use this with a Mac" and the student said to me "Whats a Mac?"
After explaining that the iPod is made by a company called Apple, which has made PC's since the 70/80s, he then replied... "oooh, those computers are rubbish"
yeah, whatever you say mate...
EDIT: sorry, just a rant really... but on topic!
benjayman2
Apr 7, 12:17 AM
About damn time too...
Looking forward to shooting with this new gear...
I am literally glowing green. Hopefully one day I'll I'll be as pro as this pic is. Gah I can't hold it in OMGFJFC that is BAMF canon haul if I ever saw one.
Looking forward to shooting with this new gear...
I am literally glowing green. Hopefully one day I'll I'll be as pro as this pic is. Gah I can't hold it in OMGFJFC that is BAMF canon haul if I ever saw one.
more...
Bevz
Apr 15, 08:37 PM
Probably a fake, but i like the design anyway...
BLUELION
Apr 6, 01:17 PM
Well, take the superbowl ads. Many, and I mean mean are lame but you know what people flock to them every hear like flies on scat just to watch. Why? Because there is a hype around the superbowl event and we have been conditioned over time to tune in.
There is no event going with the app except that apple's iAd company developed many of them. Its just a collection of ads to being public awareness in what is being developed in advertisements. You don't have do download all the apps to see the content, just the one and you can review, browse all you want. Kind of like Macrumors and the articles. You don't have to read these things, but you do and you rate it as postive and negative or you leave your comments like you did before.
Its just a marketing exposure thing dude, get over it.
haha this is as lame as a tv station bringing out a half hour of the most "unique" and "fascinating" ads, wow.
also, maybe if they were some good, funny ads it would be ok, but no. The ads shown in the pic are just "EAT MCRIB" and "MAYBELLINE"...
There is no event going with the app except that apple's iAd company developed many of them. Its just a collection of ads to being public awareness in what is being developed in advertisements. You don't have do download all the apps to see the content, just the one and you can review, browse all you want. Kind of like Macrumors and the articles. You don't have to read these things, but you do and you rate it as postive and negative or you leave your comments like you did before.
Its just a marketing exposure thing dude, get over it.
haha this is as lame as a tv station bringing out a half hour of the most "unique" and "fascinating" ads, wow.
also, maybe if they were some good, funny ads it would be ok, but no. The ads shown in the pic are just "EAT MCRIB" and "MAYBELLINE"...
secondhandloser
Mar 11, 01:42 PM
Milestone 1:
http://www.youtube.com/watch?v=G0FtgZNOD44
Milestone 2:
http://www.youtube.com/watch?v=ftf4riVJyqw
Milestone 3 (the most recent):
http://www.youtube.com/watch?v=OBhYxj2SvRI
Any questions?
[Citation needed]
Fun fact: Showing SJ talk does not mean Apple has "redefined" computing. They have helped evolve it, as a player in the industry, of course. Hardly anything that could be called redefining.
http://www.youtube.com/watch?v=G0FtgZNOD44
Milestone 2:
http://www.youtube.com/watch?v=ftf4riVJyqw
Milestone 3 (the most recent):
http://www.youtube.com/watch?v=OBhYxj2SvRI
Any questions?
[Citation needed]
Fun fact: Showing SJ talk does not mean Apple has "redefined" computing. They have helped evolve it, as a player in the industry, of course. Hardly anything that could be called redefining.
STYF
Apr 4, 08:50 AM
Wow some great detective work, let us know how it works out and good luck.
And wow once it's dugg the forum get 1000 extra guests!
And wow once it's dugg the forum get 1000 extra guests!
AVMasterpiece
Jan 15, 01:36 PM
I too am slighty disappointed, but not stunned. I really wanted a MBP with penryn released today, but it will come soon enough. The iPhone upgrade is free, and at least that will tide me over for awhile. I need to replace my 15" Powerbook G4, and a MacBook Air will certainly not cut it, as it is in a different class of laptop. Steve Jobs, please, please don't wait too long to release a new iteration of a MacBook Pro, sans Randy Newman if you could.
franswa za
May 2, 10:45 AM
I find it amusing that the G1 can run Android Gingerbread fairly well, but Apple makes it impossible to upgrade the original iPhone to the latest and greatest iOS.
and, your point is?
"old tech" wanting 2 b supported to include WHAT? you can still phone from the device, yes, my droogie?,
and, your point is?
"old tech" wanting 2 b supported to include WHAT? you can still phone from the device, yes, my droogie?,
John Purple
Jan 15, 04:24 PM
One thing I think people need to keep in mind about the MB Air... it's NOT a replacement laptop or a replacement workstation!
Stop looking for the big power and flexibility! It's a product designed for the road warrior. Someone that is always on the road and needs a light but functional laptop will find the Air useful and not a bad value compared to others on the market in the category.
People should look at the MB Air as a technology demonstration of whats possible and what will come in the future to more laptops... I'm guessing the next MB's and MB Pros are going to be thinner and have solid state drives as an option.
All I'm saying is keep it in perspective... the MB Air is NOT FOR EVERYONE!
MBA is ok for whoever wants one. It's nice, light etc. etc.
Nevertheless it does not help those of us who were hoping for all that other stuff that is overdue.
Stop looking for the big power and flexibility! It's a product designed for the road warrior. Someone that is always on the road and needs a light but functional laptop will find the Air useful and not a bad value compared to others on the market in the category.
People should look at the MB Air as a technology demonstration of whats possible and what will come in the future to more laptops... I'm guessing the next MB's and MB Pros are going to be thinner and have solid state drives as an option.
All I'm saying is keep it in perspective... the MB Air is NOT FOR EVERYONE!
MBA is ok for whoever wants one. It's nice, light etc. etc.
Nevertheless it does not help those of us who were hoping for all that other stuff that is overdue.
rhett7660
Apr 22, 10:15 AM
Boy I can't wait to see this used on some of the posts by certain members. This is going to be down right comical. Nothing like seeing a -54 on a post. :D
No comments:
Post a Comment