Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-21-2010, 12:28 PM   #3 (permalink)
JasonR
Super Moderator
 
Join Date: Oct 2009
Location: San Diego, CA
Posts: 1,586
JasonR is on a distinguished road
Default

It's not clear what the problem is. But if I were you I would do it this way:

Code:
- (IBAction) changeSegment{
if (genSegment.selectedSegmentIndex == 0) {
    [self calcMen];
} else {
    [self calcWomen];
}
Just to keep it simpler.
JasonR is offline   Reply With Quote
 

» Advertisements
» Online Users: 556
17 members and 539 guests
bignoggins, BrianSlick, ChrisYates, coreyb, croy1, davidnyl, djohnson, dre, Duncan C, Free App Monster, headkaze, jbro, jeroenkeij, pierresinne, pill5b3rry, sacha1996, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,548
Threads: 94,073
Posts: 402,703
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mrtdmb
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:38 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.