Re: UIViewController question

2013-03-23 Thread Roger Dalal
g the corners (creating the appearance of rounded corners) at the top of view hierarchy (you could also use Quartzcore layer.cornerRadius but you might find a topmost frame the easiest). Good luck! Roger Dalal On Mar 22, 2013, at 10:04 PM, Koen van der Drift wrote: > I'd like to make

Re: @class

2013-03-21 Thread Roger Dalal
Google.com. Roger Dalal On Mar 21, 2013, at 4:45 PM, H Miersch wrote: > hi. > > what exactly does @class do? > > and what does "forward declaration" mean? > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: NSURLConnection working OK on iOS 6?

2012-10-05 Thread Roger Dalal
correct, API requests using NSURLConnection (that previously worked) immediately following applicationDidBecomeActive were failing with time outs. Proper data connectivity testing and correct Reachability change observing solved our issues. Roger Dalal OneUp Games Palm Beach, Florida On Oct 3

Re: iPad 5.1 simulator

2012-03-31 Thread Roger Dalal
No, Luca, you can not use the iPod framework in the simulator. On Mar 31, 2012, at 1:10 PM, Luca Ciciriello wrote: > Is it possible to use MPMediaPickerController with the iOS 5.x simulator? > > I've used it but I get the following exception: > > 'NSInternalInconsistencyException', reason: 'Unab

Re: Best way to parse a time today?

2011-10-12 Thread Roger Dalal
Dave: Would it be possible for you to present an improved approach, please? I use this solution frequently, and have not yet encountered any issues, but now you have me worried! What approach do you suggest? Roger Dalal On Oct 12, 2011, at 9:49 PM, Dave DeLong wrote: > Be careful with t

Re: Best way to parse a time today?

2011-10-12 Thread Roger Dalal
te *timeToday = [calendar dateFromComponents:dateComponents]; [df release]; Change 'fromDate' in NSDateComponents *dateComponents to whatever date you want in order to create your time on a different day. Best Wishes. Roger Dalal On Oct 12, 2011, at 9:30 PM, Rick Mann wrote: > I h

Re: Changing UISwitch text - correction

2011-04-29 Thread Roger Dalal
CORRECTION: Obviously, that would be condition = NO; condition = YES; How embarrassing. Sorry list. Roger On Apr 29, 2011, at 7:41 PM, Roger Dalal wrote: > Jon: > > UISwitch can not be customized. This question was asked a few weeks ago, and > I recommended http://osiris.laya.

Re: Changing UISwitch text

2011-04-29 Thread Roger Dalal
: if (condition) { [self.button setImage:offButtonImage forState:UIControlStateNormal]; condition == NO; } else { [self.button setImage:onButtonImage forState:UIControlStateNormal]; condition == YES; } GoodLuck. Roger Dalal Assembled Apps On Apr 29, 2011, at 7:29 PM, Jon S

Re: Trying to subclass UISwitch

2011-04-04 Thread Roger Dalal
Phil: Try http://osiris.laya.com/projects/rcswitch/ by Sascha Hoehne and Robert Chin. It is well done. Roger Dalal Assembled Apps On Apr 4, 2011, at 12:20 PM, Philip Ershler wrote: > Hi, > After beating my head against the wall trying to subclass UISwitch, so > that I mig

Getting Playlist title for a specific media collection (iOS)

2011-03-02 Thread Roger Dalal
ted" title. I can't run a query on a currently playing item, because that item could appear in multiple playlists. Any help will be appreciated. Roger Dalal Assembled Apps___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: NSDateFormatter misbehaving

2011-02-02 Thread Roger Dalal
ate = [dateFormatter stringFromDate:now]; NSLog(@"filenameDate: %@",filenameDate); [dateFormatter release]; [now release]; My console output: 2011-02-02 17:38:45.123 App[410:307] filenameDate: Wed_Feb_02_2011 Regards, Roger Dalal Assembled Apps On Feb 2, 2011, at 4:30 PM, lorenzo7

Re: Weather API for commercial use in iOS app

2011-01-25 Thread Roger Dalal
suggestions (most of which are for companies whose TOS requirements specifically exclude commercial use or use on mobile devices). Nevertheless, I will look into the NWS/NOAA service as you suggested, and I will certainly post back my final conclusions. Thanks again... Roger Dalal Assembled Apps On

Weather API for commercial use in iOS app

2011-01-24 Thread Roger Dalal
information or a contact to discuss a commercial use license. Also, what are the typical costs (if any) of such services? Any response will be greatly appreciated. Roger Dalal Assembled Apps___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Detecting which MKAnnotation Detail Disclosure was touched

2010-04-02 Thread Roger Dalal
x27;s Callout, but I can not figure out how to detect which annotation was touched. Any help or advise will be greatly appreciated. Roger Dalal Stuart, Florida ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques