Nekbeth
Apr 26, 09:02 PM
Thanks for the explanation Knight, I got confuse with pointers and objects.
I'll give a try now. See how it goes.
Man, we could go forever here. hahaa.
wlh99 , you just described exactly what I want to do.
I'll give a try now. See how it goes.
Man, we could go forever here. hahaa.
wlh99 , you just described exactly what I want to do.
jayducharme
Apr 29, 06:49 PM
The main problem with the "slider" idea is that it wasn't intuitive which selection was active (since we're so used to a depressed icon indicating selection). I like the concept of a slider; it reminds me of the old tile games. Perhaps a compromise would have been to have the selected item's text glow, as if a little LED were behind it. That would have made it really clear which item was active.
mensrea
Sep 12, 01:26 AM
Bloomberg weighs in:
Sept. 12 (Bloomberg) -- Apple Computer Inc. today may begin selling full-length Walt Disney Co. films online and introduce a new iPod on which to play them.
Chief Executive Officer Steve Jobs will say at a meeting in San Francisco that Apple's iTunes store is adding downloadable Disney movies to its music and television shows, said three officials familiar with the plan. Jobs also may introduce an iPod with a larger screen and more memory to accommodate movies, said analysts including Eugene Munster of Piper Jaffray & Cos.
http://www.bloomberg.com/apps/news?pid=20601103&sid=a7MNkU.36h8k&refer=news
Sept. 12 (Bloomberg) -- Apple Computer Inc. today may begin selling full-length Walt Disney Co. films online and introduce a new iPod on which to play them.
Chief Executive Officer Steve Jobs will say at a meeting in San Francisco that Apple's iTunes store is adding downloadable Disney movies to its music and television shows, said three officials familiar with the plan. Jobs also may introduce an iPod with a larger screen and more memory to accommodate movies, said analysts including Eugene Munster of Piper Jaffray & Cos.
http://www.bloomberg.com/apps/news?pid=20601103&sid=a7MNkU.36h8k&refer=news
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.
more...
GorillaPaws
Mar 28, 03:16 PM
I don't think people realize that there are many technical limitations on what can/can't be submitted to the app store. There are some incredible apps, that by their very nature, really can't be submitted to the app store because of how they work and the kinds of things they do.
The Apple Design Awards have been the equivalent of the Academy Awards for Mac developers. This announcement radically reduces the significance of these awards. Hopefully new awards will be created that recognize the absolute best apps available on OSX, regardless of which distribution model(s) the use. Perhaps Macrumors will step up to the plate?
The Apple Design Awards have been the equivalent of the Academy Awards for Mac developers. This announcement radically reduces the significance of these awards. Hopefully new awards will be created that recognize the absolute best apps available on OSX, regardless of which distribution model(s) the use. Perhaps Macrumors will step up to the plate?
-y0-
Apr 13, 02:31 AM
-Audioengine 2
-Audioengine DS1
-BJC MSA-1 Audio Cable
-BJC Twelve White Speaker Cables
-OGIO Drifter
-OGIO Doppler
-Audioengine DS1
-BJC MSA-1 Audio Cable
-BJC Twelve White Speaker Cables
-OGIO Drifter
-OGIO Doppler
more...
MacGeek13
Jan 10, 08:12 PM
It would be great if the price went down. There should also be some updates, but concentrating on a lower price, as PCs that are the same speed are much less.
840quadra
Sep 12, 10:11 AM
Minimal impact, or importance, but interesting..
http://images.apple.com/quicktime/qtv/wwdc06/images/sjwwdc.jpg
more...
i miss you quotes for him. i
i miss you quotes for him. i miss you quotes for him. i; i miss you quotes for him. i. Dagless. Mar 20, 12:24 PM. You should know - nothing is perfect.
more...
missing you quotes with
sad love quotes for him from
more...
Miss You Quotes For Him. miss you quotes for him; miss you quotes for him. Moyank24. Mar 25, 11:52 PM. Prove why I should be denied the right to copulate in
miss you quotes with pictures
more...
i miss you quotes for him. i
Why Missing You Quotes Death
more...
i miss you quotes for him. i miss you quotes and sayings; i miss you quotes and sayings. gorgeousninja. Apr 18, 04:52 PM
love you quotes for him. i
i miss you quotes for him. miss you quotes for him. i
http://images.apple.com/quicktime/qtv/wwdc06/images/sjwwdc.jpg
more...
MacRumors
Oct 6, 10:15 AM
http://www.macrumors.com/images/macrumorsthreadlogo.gif (http://www.macrumors.com/iphone/2009/10/06/verizon-targets-atandts-network-with-theres-a-map-for-that-campaign/)
TechFlash noted (http://www.techflash.com/seattle/2009/10/verizon_goes_right_after_att_with_new_ad_campaign.html) yesterday that Verizon is rolling out a new advertising campaign targeting AT&T's network by focusing on the geographic coverage of the competing companies' networks. The campaign also employs a twist on Apple's "There's an app for that" iPhone slogan with its own tagline of "There's a map for that."The fine print also is worth checking out. It reads: "Browse the Web and download music and apps, at 3G speed, in five times more places than the nation's number two wireless carrier. Before you pick a phone, pick a network."A television commercial featuring the new campaign also debuted yesterday.
Article Link: Verizon Targets AT&T's Network With 'There's a Map For That' Campaign (http://www.macrumors.com/iphone/2009/10/06/verizon-targets-atandts-network-with-theres-a-map-for-that-campaign/)
TechFlash noted (http://www.techflash.com/seattle/2009/10/verizon_goes_right_after_att_with_new_ad_campaign.html) yesterday that Verizon is rolling out a new advertising campaign targeting AT&T's network by focusing on the geographic coverage of the competing companies' networks. The campaign also employs a twist on Apple's "There's an app for that" iPhone slogan with its own tagline of "There's a map for that."The fine print also is worth checking out. It reads: "Browse the Web and download music and apps, at 3G speed, in five times more places than the nation's number two wireless carrier. Before you pick a phone, pick a network."A television commercial featuring the new campaign also debuted yesterday.
Article Link: Verizon Targets AT&T's Network With 'There's a Map For That' Campaign (http://www.macrumors.com/iphone/2009/10/06/verizon-targets-atandts-network-with-theres-a-map-for-that-campaign/)
stevehp
Jan 5, 04:16 PM
great idea. thanks.
more...
aLoC
Jan 13, 05:27 AM
He didn't come across as too arrogant to me, if anything he was too humble. I am referring to the way he said Apple was very "fortunate" to have had breakthough products over the years. As if it was luck and not hard work. When people work hard and succeed they should take credit, not put it down to luck.
macenforcer
Oct 10, 10:49 PM
The wireless will be used to buy music right from itunes. I can't wait.
more...
Popeye206
May 3, 11:11 PM
Or you know, the more obvious conclusion - iOS 5.
Agreed... seemed like a teaser for iOS 5.
Agreed... seemed like a teaser for iOS 5.
iPhil
Jan 14, 04:10 PM
The MW exhibitors should do this (http://www.tuaw.com/2008/01/13/macworld-exhibitor-tip-disable-the-ir-port-on-your-macs/) to void the snafu that happened @ CES '08.. :D :o
more...
Mexbearpig
Apr 13, 09:54 PM
Got some new running shoes at the Nike Factory Store. These will make a huge difference from my vans.
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_225203.jpg
Also got some Polo Ralph Lauren all white canvas landers. I walked into journeys planning to get some vans and wanted their version of docksiders. Unfortunately they only had smaller sizes. So these seemed good enough.
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_223415.jpg
Also a pack of 5pairs of no show socks for the landers.
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_223441.jpg
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_225203.jpg
Also got some Polo Ralph Lauren all white canvas landers. I walked into journeys planning to get some vans and wanted their version of docksiders. Unfortunately they only had smaller sizes. So these seemed good enough.
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_223415.jpg
Also a pack of 5pairs of no show socks for the landers.
http://i1116.photobucket.com/albums/k575/julian4444/IMG_20110413_223441.jpg
SeattleMoose
Apr 30, 10:43 AM
Please restore the forums to their "pre-improvement" state.
Thanx :D
Thanx :D
more...
bcslay
Sep 12, 02:59 AM
I believe that an airport extreme, or 802.11g is plenty fast to stream High-def Video, and shouldn't apple change the name of itunes at this point, since it is now a multimedia piece of software?
bselack
Sep 25, 11:53 AM
Look at the new requirements page...
http://www.apple.com/aperture/specs/
Apple must have tweaked it VERY much. Will make it available to more people based on the new hardware and expanded video support.
Even the NVIDIA GeForce FX 5200 Ultra and Intel Mac Mini.
http://www.apple.com/aperture/specs/
Apple must have tweaked it VERY much. Will make it available to more people based on the new hardware and expanded video support.
Even the NVIDIA GeForce FX 5200 Ultra and Intel Mac Mini.
dethmaShine
May 2, 10:09 AM
283781
cadillaccactus
Sep 25, 01:42 PM
I'm running Aperture with 17k+ images on an iMac 24" 2.1ghz G5
a 24" iMac G5, eh? is this a homebrew?
a 24" iMac G5, eh? is this a homebrew?
rdowns
Apr 21, 11:46 AM
arn,
What are we to do with people who will abuse of this new feature?
How will you know who is abusing it. I mean, I'll probably always give you -1 but how will you know? :p
What are we to do with people who will abuse of this new feature?
How will you know who is abusing it. I mean, I'll probably always give you -1 but how will you know? :p
SandynJosh
Mar 28, 05:05 PM
I voted this negative because Apple won't accept certain apps for doing reasonable things. "dangerous" if done incorrectly, but reasonable.
Until devs can do all of the low level things they need to, this is a bad move.
Think about it. If Apple sells an app (via the Mac App Store) that modifies the system, then they need to take that into account when troubleshooting hardware issues, and can't tell you to eliminate the app they sold you.
Until devs can do all of the low level things they need to, this is a bad move.
Think about it. If Apple sells an app (via the Mac App Store) that modifies the system, then they need to take that into account when troubleshooting hardware issues, and can't tell you to eliminate the app they sold you.
abrooks
Nov 23, 05:44 PM
Think Secret (http://notes.thinksecret.com/secretnotes/0611blackfridaynote.shtml) appears to disagree, but I'm sure they just made it up :rolleyes:
Ygn
Nov 8, 01:42 PM
I got mine earlier today too, it's very good indeed. :)
No comments:
Post a Comment