Eidorian
Apr 29, 01:28 PM
And people kept telling me that OSX and iOS weren't going to merge in any meaningful manner for years ahead, if ever. Yeah right. I'd bet the one after this has them nearly fully merged and I mean towards iOS for the most part. OSX will be dumbed down to the lowest common brain cell and you won't be able to get free/open software anymore. It'll have to come through the App Store or not at all. Wait and see. That is the point I'll be moving on.Credit card numbers are much more important.
curmi
Nov 24, 04:09 AM
Huge saving on airport express. New Airport Ultra Express (802.11n) at Macworld!
Confirmed! :)
Confirmed! :)
KnightWRX
Apr 28, 09:42 AM
So, please don't take everything I typed and generalize it, because it's not for everyone.
I do understand where Dejo, Balamw and the others are coming from though. And frankly, they are probably better suited to help you than I am. I don't have a lot of experience with Objective-C and Cocoa, not like they do, having mostly come into it recently.
Back to the code, here is a photo of my connections (ignore canceBigtimer). What you say is true I don't know how NSTimer works entirely , just some parts, I realize that and it is one of the reason I postpone my timer for a future update (need to study it).
I have two timers, because, like I said.. I don't have full knowledge of timers. I know now that 1 timer is enough, even if I use two timers and start them at the same time, the log only shows 1 loop and the countdown in separate labels show e.g. 59 in one and 58 in another and so on.
Ok, how about we work on making 1 timer work then ? The code you posted is very complicated and I don't think it has to be this complicated. Going 1 timer would simplify this.
I see your Start Button is associated to 3 actions. Is this really what you want ? Let's simplify this. As an exercise, make 1 method, call it startTimer (like I did) and have only that action associated with your start button. From there, you can call the other methods yourself as needed.
Once you have modified the code in this way, post again what you have in full, what it is doing and what you think it should be doing. We'll go from there.
You mention my two global variables, It makes sense that the timer does not stop because the variables are outside the method that creates the timer. is that whats going on?
No, the variables are "fine" where they are. They would be better positionned in the @interface block and declared as instance variables, but implementation scope globals work too.
What you need to do however is reset those if you want your timer to start back at 0. Somewhere in your "stop/reset" code, there needs to be an initialization of those back to 0 :
seconds = 0;
minutes = 0;
If your Cancel button is what should reset it, then this should be right now in newActionTimer. But ideally, we'll get rid of that function when you simplify the code down to 1 timer.
Look at my NSLog outputs in my screenshot earlier. There's 3 methods there. updateLabel, cancelTimer, startTimer. This should have given you a big indication of how not complicated you should have made this.
If you want 3 buttons, start, reset, stop, you'd technically need 4 methods, as follows :
-(IBAction) startTimer: (id) sender;
-(IBAction) stopTimer: (id) sender;
-(IBAction) resetTimer: (id) sender;
-(void) updateLabel;
One to update the label as needed, one to start the timer, one to stop it and one to reset it.
Also, NSTimer is not your timer. The timer is what you are creating with ATimerViewController. You need to grasp this. NSTimer simply calls methods, in this case, it should be update label. That's about all it should be doing. Both the stop and reset methods should release the NSTimer object instance. startTimer should always create a new one. However, reset should be the one to set back seconds/minutes to 0.
I do understand where Dejo, Balamw and the others are coming from though. And frankly, they are probably better suited to help you than I am. I don't have a lot of experience with Objective-C and Cocoa, not like they do, having mostly come into it recently.
Back to the code, here is a photo of my connections (ignore canceBigtimer). What you say is true I don't know how NSTimer works entirely , just some parts, I realize that and it is one of the reason I postpone my timer for a future update (need to study it).
I have two timers, because, like I said.. I don't have full knowledge of timers. I know now that 1 timer is enough, even if I use two timers and start them at the same time, the log only shows 1 loop and the countdown in separate labels show e.g. 59 in one and 58 in another and so on.
Ok, how about we work on making 1 timer work then ? The code you posted is very complicated and I don't think it has to be this complicated. Going 1 timer would simplify this.
I see your Start Button is associated to 3 actions. Is this really what you want ? Let's simplify this. As an exercise, make 1 method, call it startTimer (like I did) and have only that action associated with your start button. From there, you can call the other methods yourself as needed.
Once you have modified the code in this way, post again what you have in full, what it is doing and what you think it should be doing. We'll go from there.
You mention my two global variables, It makes sense that the timer does not stop because the variables are outside the method that creates the timer. is that whats going on?
No, the variables are "fine" where they are. They would be better positionned in the @interface block and declared as instance variables, but implementation scope globals work too.
What you need to do however is reset those if you want your timer to start back at 0. Somewhere in your "stop/reset" code, there needs to be an initialization of those back to 0 :
seconds = 0;
minutes = 0;
If your Cancel button is what should reset it, then this should be right now in newActionTimer. But ideally, we'll get rid of that function when you simplify the code down to 1 timer.
Look at my NSLog outputs in my screenshot earlier. There's 3 methods there. updateLabel, cancelTimer, startTimer. This should have given you a big indication of how not complicated you should have made this.
If you want 3 buttons, start, reset, stop, you'd technically need 4 methods, as follows :
-(IBAction) startTimer: (id) sender;
-(IBAction) stopTimer: (id) sender;
-(IBAction) resetTimer: (id) sender;
-(void) updateLabel;
One to update the label as needed, one to start the timer, one to stop it and one to reset it.
Also, NSTimer is not your timer. The timer is what you are creating with ATimerViewController. You need to grasp this. NSTimer simply calls methods, in this case, it should be update label. That's about all it should be doing. Both the stop and reset methods should release the NSTimer object instance. startTimer should always create a new one. However, reset should be the one to set back seconds/minutes to 0.
fikonhjul
May 4, 07:12 PM
Looks like Roambi??
Second guess is MicroStrategy
Could very well be, but I haven't seen that particular coolness demoed anywhere. Maybe an upcoming version of one of those, or some other business data visualizer?
Second guess is MicroStrategy
Could very well be, but I haven't seen that particular coolness demoed anywhere. Maybe an upcoming version of one of those, or some other business data visualizer?
more...
TPFolair
Sep 12, 07:54 AM
hate to ask a stupid, perhaps already answered a gagillion times, question but
is there a live feed of today's proceedings?
is there a live feed of today's proceedings?
asdf542
Apr 29, 02:35 PM
They won't make Lion "uninstallable" on it. But it might be "unbearable" for all but the most casual of users. ;)
On a side note, I've noticed there's now a "Show downloads" button to the left of the Search Field:
Image (http://forums.macrumors.com/attachment.php?attachmentid=283487&stc=1&d=1304105242)
Hmm, a lot of new white UI elements(this and Quick Look). I wouldn't be surprised if Apple started offering Macs with a white bezel option.
On a side note, I've noticed there's now a "Show downloads" button to the left of the Search Field:
Image (http://forums.macrumors.com/attachment.php?attachmentid=283487&stc=1&d=1304105242)
Hmm, a lot of new white UI elements(this and Quick Look). I wouldn't be surprised if Apple started offering Macs with a white bezel option.
more...
ThaDoggg
Mar 18, 11:49 AM
My friends never do this to me and I don't get strangers on the street commenting about my iPhone either. :p I think it's just you. :apple:
Abstract
Sep 7, 10:00 PM
The croud in that event didn't care for his performance and for sure wasn't in their taste, as I havn't see a jurnalists go "Yo, Yo, wut up dude?"
I've never heard myself say "Yo, Yo, wut up dude?" either, and yet I still like Kanye West. And you can't assume peoples musical tastes just because of their job or race. Computer people and reporters could have enjoyed the music as well. You can't say that they didn't with any certainty. I enjoy all sorts of music, and I'm sure many other people do as well.
You mean from iTMS? Did you get it pre-order?
No, I downloaded it from somewhere else.
*wink wink, nudge nudge*
I've never heard myself say "Yo, Yo, wut up dude?" either, and yet I still like Kanye West. And you can't assume peoples musical tastes just because of their job or race. Computer people and reporters could have enjoyed the music as well. You can't say that they didn't with any certainty. I enjoy all sorts of music, and I'm sure many other people do as well.
You mean from iTMS? Did you get it pre-order?
No, I downloaded it from somewhere else.
*wink wink, nudge nudge*
more...
KnightWRX
Apr 8, 01:08 PM
It's still pretty ******.
If I walk into a Best Buy and to buy a product that's for sale, knowing full well they have it in stock but they just want to "hold it" for something, I'd be pissed.
I walked into Best Buy to buy a PS3 with Metal Gear Solid a few years ago when that was the "bundle of the month". The guy said he had one but couldn't sell it without a PSP.
He hadn't even finished his sentence that I was sitting in my car driving away.
No need to get emotional, they don't want my money, they don't get it. I bought it at Toys R' Us instead. I still shop at Best Buy to this day if they have what I want and will sell it to me. If they don't, no harm done, I walk away.
Apple should dump BB base on their "search" practice alone. If you go to BB and search for iPad, BB doesn't show iPad. It shows the options to select iPad or many other tablets. If you search "Sony LCD", you will get "Sony LCD' and not other brands.:rolleyes:
Yeah, how evil of them! Showing a page where you can either get the "iPad! The one and only! or some of these other tablet thingies no one cares about". I actually thought the opposite, that page was a major case of "sucking up to Apple".
If I walk into a Best Buy and to buy a product that's for sale, knowing full well they have it in stock but they just want to "hold it" for something, I'd be pissed.
I walked into Best Buy to buy a PS3 with Metal Gear Solid a few years ago when that was the "bundle of the month". The guy said he had one but couldn't sell it without a PSP.
He hadn't even finished his sentence that I was sitting in my car driving away.
No need to get emotional, they don't want my money, they don't get it. I bought it at Toys R' Us instead. I still shop at Best Buy to this day if they have what I want and will sell it to me. If they don't, no harm done, I walk away.
Apple should dump BB base on their "search" practice alone. If you go to BB and search for iPad, BB doesn't show iPad. It shows the options to select iPad or many other tablets. If you search "Sony LCD", you will get "Sony LCD' and not other brands.:rolleyes:
Yeah, how evil of them! Showing a page where you can either get the "iPad! The one and only! or some of these other tablet thingies no one cares about". I actually thought the opposite, that page was a major case of "sucking up to Apple".
Galex
Sep 12, 07:40 AM
The Swedish Itunes Music store is down too, but not the general Apple Store yet.
/Galex
/Galex
more...
SchneiderMan
Apr 10, 05:45 AM
Incredible movie!
http://www.theyoungfolks.com/wp-content/uploads/2010/12/I-Love-You-Phillip-Morris-21-10-10-kc.jpg
http://www.theyoungfolks.com/wp-content/uploads/2010/12/I-Love-You-Phillip-Morris-21-10-10-kc.jpg
ct2k7
Apr 16, 10:19 AM
Ok, Mr. Intelligent. It's been 3 years since the original iPhone launched. Perhaps Apple found a way to make a phone out of aluminum or a similar material, without affecting performance? Also, the iPad is made out of aluminum, yet it uses 3G service. You're acting like you know for sure what will happen, and you don't. None of us do.
The iPad has a black strip if you hadn't noticed, much like the original iPhone.
The iPad has a black strip if you hadn't noticed, much like the original iPhone.
more...
infidel69
Apr 11, 12:22 PM
It'll be really cool if they release a free beta for a year or so like they did with W7. The W7 beta was very stable and knocked off a nice chunk of money from a new build (for a while anyway)
VicMacs
Apr 16, 07:50 AM
I had seen these before, wasnt this from a guy who made his own metal iphone? it looks cheap
more...
geoffism
Jan 9, 02:20 PM
ok look a this.
it dont have 3 g
it dont have mms
you cant send messages to more then one at a time.
you cant drag over music in itunes you have to put it on list who must syncronise(not the biggest problem)
it is not possible to download contacts from sim
its more difficult to call,set up contacts and so on compare to sony/nokia
you cant connect to more then one computer(apple think youre a thief if you do?)
But idoes haves it ups but all in all i think it sucks(i not you)..he,he
So hopefully the next iphone will fix some of this problem ergo the statement...
best regards:)
Thanks for the heads up. Its officially on my list of things to check out. I have a couple buddies that have the iPhone, so, I get to conduct my own focus group.
gracias!
-gf
it dont have 3 g
it dont have mms
you cant send messages to more then one at a time.
you cant drag over music in itunes you have to put it on list who must syncronise(not the biggest problem)
it is not possible to download contacts from sim
its more difficult to call,set up contacts and so on compare to sony/nokia
you cant connect to more then one computer(apple think youre a thief if you do?)
But idoes haves it ups but all in all i think it sucks(i not you)..he,he
So hopefully the next iphone will fix some of this problem ergo the statement...
best regards:)
Thanks for the heads up. Its officially on my list of things to check out. I have a couple buddies that have the iPhone, so, I get to conduct my own focus group.
gracias!
-gf
lordonuthin
Apr 10, 11:39 PM
yeah that's true, but now what's the excuse? the processors are out now!
I know!! Last year they had the Mac Pro out before the cpu's were even announced by Intel!
I know!! Last year they had the Mac Pro out before the cpu's were even announced by Intel!
more...
MacNut
Apr 23, 12:09 PM
The rating system looks ugly and out of place and just adds clutter to the forums.
gorkonapple
Sep 12, 08:20 AM
Note that it doesn't say "The iTunes Music Store is being updated." That's a pretty clear sign to me that not only are they going to add movies, it's also now just going to be the iTunes Store.
It really looks like movies may be hitting the iTunes Store. I also am wondering....could they also be integrating the Apple Store into iTunes?? It would be cool to buy a new iPod right from within iTunes and maybe....possibly have it shipped with all of your iTunes purchases on the device.....that would of course require a firmware/iTunes update? Anyway I am sure we will probably all be disappointed.
It really looks like movies may be hitting the iTunes Store. I also am wondering....could they also be integrating the Apple Store into iTunes?? It would be cool to buy a new iPod right from within iTunes and maybe....possibly have it shipped with all of your iTunes purchases on the device.....that would of course require a firmware/iTunes update? Anyway I am sure we will probably all be disappointed.
Mitthrawnuruodo
Aug 1, 10:05 AM
Cool screw the artist!That's taken care of through an intricate web of taxes, duties and fees. So all music borrowed on the library can be copied and/or ripped legally by the lender (though the Library can not copy it for you), and I can even make copies for my "closest friends and relatives" of all music and movies (but not software) that I borrow, rent or buy. It's very good to be a consumer in Norway... most of the time... ;)
Rodimus Prime
Apr 15, 04:54 PM
Sounds like the Record companies are being their typical stupid selves. Only reason Apple is really able to get away with it is because they are Apple. It is not the closed system part but because they are Apple. I bet if the record company could they would say F you to Apple and pull out. I also would not be surpised if they regreat now making a deal with them when iTunes first launched.
Amazon on it cloud stuff just said F-You to the record company and Amazon has enough sells like Apple iTMS that they can force the music company to bend over and take it.
This stinks over all. It is not closed or open argument. This is a record company being record companies.
Amazon on it cloud stuff just said F-You to the record company and Amazon has enough sells like Apple iTMS that they can force the music company to bend over and take it.
This stinks over all. It is not closed or open argument. This is a record company being record companies.
MacNut
Apr 27, 05:23 PM
I meant that supposedly the issue is that women don't feel comfortable having men in the bathrooms because they'll look and stuff. What if instead of men there's a lesbian there? Isn't that the same thing?Only if they are walking around naked. There are still going to be stalls right?
linux2mac
Mar 24, 08:42 PM
As a switcher in I feel I have to give a big thanks to Microsoft and Windows Vista - after all, if Vista hadn't been so terrible, I might not have switched ;)
+1
Same here. Went to Linux then to Mac.
+1
Same here. Went to Linux then to Mac.
dsnort
Aug 1, 10:50 AM
You want to see something really funny!. Look what happpens when you try to Access Sony's online music service on a Mac
"We appreciate your interest in the Connect music store, but our store currently only works with Internet Explorer 5.5 and above. You don't seem to be using that particular browser at the moment, so, unfortunately, we'll have to part ways until we support the browser you're currently using or you upgrade to the latest version of Internet Explorer. Please click the Download link below if you'd like to upgrade now.
Thank your for your interest in the Connect music store!"
Upgrade to IE????? Bwhahahahahahahahahahaha. Those silly wabbits
"We appreciate your interest in the Connect music store, but our store currently only works with Internet Explorer 5.5 and above. You don't seem to be using that particular browser at the moment, so, unfortunately, we'll have to part ways until we support the browser you're currently using or you upgrade to the latest version of Internet Explorer. Please click the Download link below if you'd like to upgrade now.
Thank your for your interest in the Connect music store!"
Upgrade to IE????? Bwhahahahahahahahahahaha. Those silly wabbits
dethmaShine
Apr 12, 07:11 AM
For the anti-virus, yes, for office no you get the complete version, as well as MS live.
Depending on where you buy, you actually can get more "full" versions of applications then you do with a mac. I'm not knocking apple or iLife, they're great apps, but you cannot say that a new PC is unusable until you download a lot of apps and such. Dell, HP, etc all come with office and/or other apps. Yeah there's crapware installed and I won't dispute that, but you also get full version apps
I want to compile my PERL app and run a full fledged SLTK software that I have coded for Si-Testchip verficiation.
All I need to do is copy/paste my software and it runs.
Can it on windows? NO.
You seem to be in a different world when you claim that windows PC's have the same 'it just works' attitude. No they do not.
From drivers to miniature downloads, you need a lot.
I have used assembled computers, factory pre-loaded PC's and other laptops.
Right now, I have a w7 laptop from tell which my company got for more than a 1000 pounds -> It just doesn't work. There's too much to fix, too much to find, too much to suffer. Should I fix my computer OR should I worry about my testchip releases?
You are missing some very important points and you act as if you are unaware of the complexities one has to deal with windows PCs.
Depending on where you buy, you actually can get more "full" versions of applications then you do with a mac. I'm not knocking apple or iLife, they're great apps, but you cannot say that a new PC is unusable until you download a lot of apps and such. Dell, HP, etc all come with office and/or other apps. Yeah there's crapware installed and I won't dispute that, but you also get full version apps
I want to compile my PERL app and run a full fledged SLTK software that I have coded for Si-Testchip verficiation.
All I need to do is copy/paste my software and it runs.
Can it on windows? NO.
You seem to be in a different world when you claim that windows PC's have the same 'it just works' attitude. No they do not.
From drivers to miniature downloads, you need a lot.
I have used assembled computers, factory pre-loaded PC's and other laptops.
Right now, I have a w7 laptop from tell which my company got for more than a 1000 pounds -> It just doesn't work. There's too much to fix, too much to find, too much to suffer. Should I fix my computer OR should I worry about my testchip releases?
You are missing some very important points and you act as if you are unaware of the complexities one has to deal with windows PCs.
Tidak ada komentar:
Posting Komentar