xStep
Apr 4, 07:12 PM
rustywild sent me a private message and this is my response to that.
I only slept 4 hours last night so I might still be misunderstanding. Part of your explanation didn't make any sense given your code.
This is what I believe you have�
A dictionary where the keys will be the left most component that sets up what the right side component should display. The keys are placed into a sorted array. Each time component 0 changes, you want to update the right side component. Each time a choice is made, you want it reflected in two labels. The following code should do that for you. This is untested code.
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
{
if (component == kPotenciaComponent) {
NSString *selectedState = [self.potencia objectAtIndex:row];
// Update values array for key of component 0.
[self.cantidad release];
self.cantidad = [potenciavoltaje objectForKey:selectedState];
[pickerView reloadAllComponents]; // Might not need to load all, but I do.
[pickerView selectRow: row inComponent: kPotenciaComponent animated: YES];
[pickerView selectRow: 0 inComponent: kCantidadComponent animated: YES];
label1.text = [self.potencia objectAtIndex:row];
label2.text = [self.cantidad objectAtIndex: 0];
}
else {
label2.text = [self.cantidad objectAtIndex: row];
}
}
The labels are updated here because that is when the change is occurring in your selection. You may also want to set them when you first setup your two data arrays in your viewDidLoad method.
P.S. Looks like you are a native Spanish speaker. Welcome to the challenge of communicating technical problems in another language. :)
I only slept 4 hours last night so I might still be misunderstanding. Part of your explanation didn't make any sense given your code.
This is what I believe you have�
A dictionary where the keys will be the left most component that sets up what the right side component should display. The keys are placed into a sorted array. Each time component 0 changes, you want to update the right side component. Each time a choice is made, you want it reflected in two labels. The following code should do that for you. This is untested code.
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
{
if (component == kPotenciaComponent) {
NSString *selectedState = [self.potencia objectAtIndex:row];
// Update values array for key of component 0.
[self.cantidad release];
self.cantidad = [potenciavoltaje objectForKey:selectedState];
[pickerView reloadAllComponents]; // Might not need to load all, but I do.
[pickerView selectRow: row inComponent: kPotenciaComponent animated: YES];
[pickerView selectRow: 0 inComponent: kCantidadComponent animated: YES];
label1.text = [self.potencia objectAtIndex:row];
label2.text = [self.cantidad objectAtIndex: 0];
}
else {
label2.text = [self.cantidad objectAtIndex: row];
}
}
The labels are updated here because that is when the change is occurring in your selection. You may also want to set them when you first setup your two data arrays in your viewDidLoad method.
P.S. Looks like you are a native Spanish speaker. Welcome to the challenge of communicating technical problems in another language. :)
leomac08
Feb 8, 11:47 PM
what a way to go...
cock fighting isn't bad for animals is bad for humans too..
cock fighting isn't bad for animals is bad for humans too..
phantax
Feb 24, 01:51 PM
Only three things come to mind:
1) That you are inadvertently calling mysqli_close somewhere before a query or ping, maybe in one of your includes.
2) You are overwriting $conn somewhere else.
3) Some PHP bug in an older version of PHP perhaps. Are you guys running on CentOS / RHEL? If so I would suggest upgrading to 5.2 from the testing repos and see if that helps.
1) That you are inadvertently calling mysqli_close somewhere before a query or ping, maybe in one of your includes.
2) You are overwriting $conn somewhere else.
3) Some PHP bug in an older version of PHP perhaps. Are you guys running on CentOS / RHEL? If so I would suggest upgrading to 5.2 from the testing repos and see if that helps.
Warhay
Jul 9, 06:35 PM
sometime between 4-6 prob around 5ish... anyone else?
more...
pdot
Aug 15, 12:37 PM
Put the mirror on the door or maybe on the wall next to the dresser.
I agree about the floating bookshelves.
I agree about the floating bookshelves.
stiwi
Apr 26, 11:51 PM
I am having the same problem since few days. I don't think it is keyboard though, despite 100% level showing up all the time. Though Mighty Monitor shows 70% and the batteries were replaced no later than 2 weeks ago, so it is definitely not a keyboard related issue due to low battery.
Yesterday I simply took out my iphone from the dock before putting MP asleep and it didn't wake up.
Yesterday I simply took out my iphone from the dock before putting MP asleep and it didn't wake up.
more...
Givmeabrek
Feb 12, 10:54 AM
This is really a classic. I second the nomination. :cool:
jimthorn
Jul 5, 01:19 PM
Originally posted by Nermal
I installed from the 10.2.1 CDs and updated to 10.2.6. Take a look at your files and see if they're the same size and version.
Thanks for all the info, Nermal. I'll check my files.
Originally posted by iJon
well now that i look i have the same problem. but finder is working ok so i dont really care.
Yeah, that's my basic feeling too. It seems to work fine. Actually, because it works, I'm really not sure how long ago this started. I just glanced at the Dock the other day and was surprised not to see the little black arrow under the Mac face. Now I'm problem-solving it just for an excuse to learn more about the workings of OS X.
I installed from the 10.2.1 CDs and updated to 10.2.6. Take a look at your files and see if they're the same size and version.
Thanks for all the info, Nermal. I'll check my files.
Originally posted by iJon
well now that i look i have the same problem. but finder is working ok so i dont really care.
Yeah, that's my basic feeling too. It seems to work fine. Actually, because it works, I'm really not sure how long ago this started. I just glanced at the Dock the other day and was surprised not to see the little black arrow under the Mac face. Now I'm problem-solving it just for an excuse to learn more about the workings of OS X.
more...
velocityg4
Apr 19, 11:45 AM
The Macbook Air Model A1304 does not use the more common ZIF-40 connector which provides ATA-100 connections and resulting 120GB limit. Instead it uses the ZIF-24 connector which provides a faster SATA connection and does not have the 120GB cap.
The only adapter I could find that appears to be compatible is this ZIF to SATA (http://www.amazon.com/gp/product/B002EOSTXU) adapter. If it works I'll let those interested know. If it does not work I will at least make sure the connector is the same. As I have no way of knowing whether or not the drive is faulty.
Note: The original Macbook Air A1237 uses the common ZIF-40 connector.
The only adapter I could find that appears to be compatible is this ZIF to SATA (http://www.amazon.com/gp/product/B002EOSTXU) adapter. If it works I'll let those interested know. If it does not work I will at least make sure the connector is the same. As I have no way of knowing whether or not the drive is faulty.
Note: The original Macbook Air A1237 uses the common ZIF-40 connector.
mkjj
Mar 4, 10:04 AM
Better start saving! quite a rare beast to find good complete units.
Cost me a small fortune for my units, mind you I had to get mine from Japan!
Cost me a small fortune for my units, mind you I had to get mine from Japan!
more...
Albearendil
Sep 15, 07:49 AM
If you want to connect time capsule on a windows xp over virtualbox, check out this manual!
https://sites.google.com/site/engb2s/timecapsule/tcvirtualbox
https://sites.google.com/site/engb2s/timecapsule/tcvirtualbox
Dagless
May 19, 12:50 PM
again if you actaully have read the past articles you wont have to this is just a bonus type of deal good lord.:rolleyes:
So you pay some money to Sony and you get access to bonus things? That sounds an awful lot like paying for a service.
So you pay some money to Sony and you get access to bonus things? That sounds an awful lot like paying for a service.
more...
Phil A.
May 6, 11:08 AM
Why don't you try one of these many jailbreaks you have "seen online" instead of posting this ridiculous thread, you could even use the search option, I would go as far as to say that it would be front page news on macrumors if it had happened anywhere other than in your imagination!
HAHAHA :D:D:D:D:D that was good...
OP - if you were in any doubt following these replies, the answer is no - there is currently no jailbreak for iPad 2 ;)
HAHAHA :D:D:D:D:D that was good...
OP - if you were in any doubt following these replies, the answer is no - there is currently no jailbreak for iPad 2 ;)
themadchemist
Mar 2, 11:44 PM
at the very least, if you were not a mod, you would be a G3
...and maybe even higher
...my guess is that 604e at the very highest reasonable level is at 15,000, and G3 at 20,000 but i would assume much lower for those levels and maybe G4 is at 20,000
...and G5 at 50,000 or 100,000 since it would be no fun for someone to reach that and have nothing to loook forward to
it could be that G5 is set at a million to make it unattainable:p
note: maybe arn has not decided yet what to give people beyond a 601 and there is no set level for the next level
Maybe one should receive his/her G4 and G5 status 6 months after it is reached in post #'s or, in other words, "announced."
That way, it would be a fairly accurate depiction of market conditions. :D
...and maybe even higher
...my guess is that 604e at the very highest reasonable level is at 15,000, and G3 at 20,000 but i would assume much lower for those levels and maybe G4 is at 20,000
...and G5 at 50,000 or 100,000 since it would be no fun for someone to reach that and have nothing to loook forward to
it could be that G5 is set at a million to make it unattainable:p
note: maybe arn has not decided yet what to give people beyond a 601 and there is no set level for the next level
Maybe one should receive his/her G4 and G5 status 6 months after it is reached in post #'s or, in other words, "announced."
That way, it would be a fairly accurate depiction of market conditions. :D
more...
adityashah1989
Apr 24, 07:08 PM
Is there a software similar to Expat Shield for a Mac. I want to play the BBC iPlayer outside the UK, thanks.
EDIT: Found solution, Firefox add-on Stealthy (set location to GB(UK))
EDIT: Found solution, Firefox add-on Stealthy (set location to GB(UK))
Silentwave
Oct 16, 08:44 PM
so-so overall, but I loved the beeping a la Ellen Feiss....
more...
Dagless
Mar 19, 03:04 PM
Are there any mod chips out that support region free? From what I gathered they just skip encryption (Drive Hack?) and not the region coding.
Lyle
Jul 10, 10:53 AM
Thanks, vniow! It does sound like I'd be able to swing a PC card and a wireless router for a few hundred bucks extra.
Just curious: does the built-in AirPort card automatically disable itself or something when you plug in one of these third-party cards?
Just curious: does the built-in AirPort card automatically disable itself or something when you plug in one of these third-party cards?
SevenInchScrew
May 24, 11:01 PM
hopefully they can do this movie justice...
Let's be honest here, given the LOOOONG history of video game movies, that is highly unlikely.
..the only thing is a must is get mathew Fox as John Shepard.
This is the main reason, in my opinion. Not everyone played as the default character, nor did everyone play the game the same. This isn't some linear game, with a specific lead character. This game has way too many options, both in character customization, and in character interaction, that the movie has no "definitive" story to base itself on.
So, taking those things out, you will be left with a hollow shell of a sci-fi/action movie, with some occasional nods to the game world. It's lined right up for mediocrity from the start.
Let's be honest here, given the LOOOONG history of video game movies, that is highly unlikely.
..the only thing is a must is get mathew Fox as John Shepard.
This is the main reason, in my opinion. Not everyone played as the default character, nor did everyone play the game the same. This isn't some linear game, with a specific lead character. This game has way too many options, both in character customization, and in character interaction, that the movie has no "definitive" story to base itself on.
So, taking those things out, you will be left with a hollow shell of a sci-fi/action movie, with some occasional nods to the game world. It's lined right up for mediocrity from the start.
Stella
Apr 9, 03:10 AM
Wirelessly posted (Opera/9.80 (S60; SymbOS; Opera Mobi/SYB-1103211396; U; en-US) Presto/2.7.81 Version/11.00)
Sersiuosly Apple, banning a browser because it runs javascript? In that case Apple should ban all browers in case they execute javascript running in the website.
These bookmarklets are nothing more than javascript.
Sersiuosly Apple, banning a browser because it runs javascript? In that case Apple should ban all browers in case they execute javascript running in the website.
These bookmarklets are nothing more than javascript.
theSeb
May 4, 12:30 PM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5)
What is the height from the table or desktop to the bottom of the screen. Not the bottom of the IMAC, but the bottom of the screen/glass.
Thanks!
Jim
Have you tried this really helpful website and scrolled down?
http://www.apple.com/imac/specs.html
Hint: look for size and weight
What is the height from the table or desktop to the bottom of the screen. Not the bottom of the IMAC, but the bottom of the screen/glass.
Thanks!
Jim
Have you tried this really helpful website and scrolled down?
http://www.apple.com/imac/specs.html
Hint: look for size and weight
mainstreetmark
Feb 23, 10:34 AM
So did I. Oh well.
Navicat looks alright, though. I've been using CocoaMySQL and, of course, phpMyAdmin all this time.
Navicat looks alright, though. I've been using CocoaMySQL and, of course, phpMyAdmin all this time.
cocacolakid
Apr 25, 10:05 PM
The next Mac Mini will probably have i3 Sandy Bridge CPU's, however, the lower end i3 SB CPU's have Intel HD 2000 integrated graphics, which are inferior to the current NVidia 320M GPU on the Mac Mini. Only the higher end SB CPU's have Intel HD 3000 integrated graphics, which most reviews say is about the same as the 320M, but I can't see Apple putting the most expensive i5 or i7 CPU in the Mini.
So the next Mini might have a faster CPU but inferior graphics, which they've done before when they dropped the Radeon GPU in the early Mini's and went to an integrated Intel GPU.
So the next Mini might have a faster CPU but inferior graphics, which they've done before when they dropped the Radeon GPU in the early Mini's and went to an integrated Intel GPU.
foidulus
Sep 25, 05:59 AM
Didn't know you get credit in the Support Notes for reporting a bug :D time to start bug hunting...
It actually depends(largely on the group at Apple I think)
I reported a bug with an Apple product(Java), and while the engineer was quite responsive and eventually fixed the bug, I unfortunately didn't get a nod in the release notes.
It seems that most security bug finders get nods, probably as a way to encourage them to discretely report them to Apple instead of just announcing them to the world.
It actually depends(largely on the group at Apple I think)
I reported a bug with an Apple product(Java), and while the engineer was quite responsive and eventually fixed the bug, I unfortunately didn't get a nod in the release notes.
It seems that most security bug finders get nods, probably as a way to encourage them to discretely report them to Apple instead of just announcing them to the world.