Showing category "Development" (Show all posts)

Random Number Generating in a Specific Range

Posted by Kieran Prince on Monday, November 9, 2009, In : Development 
Are you a new iPhone developer or Objective-C programmer?

Need a quick and easy way to generate a random number between a set range of numbers?
This code saves a lot of time and effort used in generating random numbers.

arc4random() gets a random floating point number(between 0 and 1) but how do I keep it in a specific range?

----------------------------------------------------------------------------------------------------
Random Integer:

----------------------------------------------------------...


Continue reading ...
 

UIKeyboardType

Posted by Kieran Prince on Friday, October 16, 2009, In : Development 
As my first post in the "Development" category, I'd like to say the posts may not all be for beginners trying to learn how to make their first iPhone app.  Some future ones may be geared for beginners, but not this one!  To test the waters of iPhone development blogs, here's a simple page showing the different keyboards to use.

UIKeyboard is the mainstream way for users to enter text input.  But maybe you want to use it for an URL or a phone number?  Apple has given us developers a choice, the...
Continue reading ...
 
 
 
Make a Free Website with Yola.