• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Current Hour & Minutes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current Hour & Minutes


  • Subject: Re: Current Hour & Minutes
  • From: Scott Stevenson <email@hidden>
  • Date: Sun, 8 Apr 2007 15:03:02 -0700


On Apr 8, 2007, at 1:15 PM, محمد الركيان wrote:

It show me the current hour, BUT when I do:
int currentHour = [[NSString stringWithFormat:@"%i",[THCalendarInfo currentHour]] intValue];

Why do you want to convert an int to an NSString and back into an int in the same line?


    - Scott_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Current Hour & Minutes (From: محمد الركيان <email@hidden>)

  • Prev by Date: unsubscribe
  • Next by Date: Re: Current Hour & Minutes
  • Previous by thread: Re: Current Hour & Minutes
  • Next by thread: Points
  • Index(es):
    • Date
    • Thread