Hi, I have been programming in Microsoft Dot net for the past 4 years. Now, I want to develop an iPhone application. I have no idea where to start. I do not know anything about MAC OSX or any other Apple "words":). Searches on the google about books and online articles fetch a lot of results which is confusing. It would be great if anybo...
This is on a sidenote to my previous question about ratingview
I have this code:
[starView displayRating:1.5];
...however, I want it to be changed according to this:
-(void)ratingChanged:(float)newRating {
ratingLabel.text = [NSString stringWithFormat:@"Rating is: %1.1f", newRating];
//....
How can I make it displayRatin...
I have a number of regular-sized (@x1) images that I use in my iPhone app. Outside of redesigning them from scratch in hi-resolution, what is the best way to double their size & resolution using Photoshop?
...
Hello.
I want to play a sound in my application. Nothing special, just a little WAV file. The file exists in the device in my main bundle, and I've got both the AVFoundation and AudioToolbox frameworks added. I have alternately tried using both of them, testing out every bit of sample code on the net for playing this sound. It won't wor...
Hello,
I have the following code in place:
- (void)viewDidLoad {
NSString *homeDirectoryPath = NSHomeDirectory();
NSString *imagePath = [homeDirectoryPath stringByAppendingString:@"/graph.png"];
NSLog(@"Image: %@", imagePath);
if (![[NSFileManager defaultManager] fileExistsAtPath:imagePath isDirectory:NULL])
{
...
Hi, I had that question before, tried as answered, but still it does not work.
Before I allocated with:
imageArray_danceright = [[NSArray alloc] initWithObjects:
I came adviced to do like bellow, but now it crash immediatly after second anim is called:
//init areas:
imageArray_stand = [NSArray arrayWithObjects:
[UIImage imageWit...
I draw a background image in a view with the following code:
CGContextRef currentContext = UIGraphicsGetCurrentContext();
CGContextSaveGState(currentContext);
UIImage *image = [UIImage imageNamed:@"background.jpg"];
[image drawAsPatternInRect:rect];
CGContextRestoreGState(currentContext);
This works well. But when I change the size...
I have a landscape only app with uitabbarcontroller with just two tabs
Works fine, except for "two-stage rotation" warning i get.
If have done the follwoing:
Added key/string pair to info.plist for landscapeorientation
For All view controllers -
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientati...
Hello Guys...
I need help in converting mp3 files to Apples Http Live Streaming protocol files. I am working on a music application and wants to use Live streaming in this app.
I got this link http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/ from google but it contains how to liv...
What is the amount of memory an app can take before getting kicked by iOS?
Does the amount of memory depends on the device version?
I have developed an app which is using 30+ mb and its getting kicked on iPhone 2g. Can it work on iPhone 4 or 3GS?
...
I know that NSUserDefaults can read the key and value from plist file.
Is it possible to read the structure of a key?
For example:
Key 'Count' is an integer and has option
1,2,3,4,5
the codes below can get the value 'Count'
NSUserDefaults *defaults=[NSUserDefaults standardUserDefaults];
if([defaults objectForKey:@"Count"]!=nil)
{
...
i would like to make 2 operations to an UIImageView zoom, rotate
i have 2 problems
i make an operation for zoom for ex. and when i try to make rotation the uiimeview is set to initial size, i would like to know how to keep the zoomed uiimageview and make the rotation from the zoomed image
i would like to combine the zoom operation with...
Peace , my eXercice is to make the application connect , send and receive data to remote webserver and this is every 10 Secondes so idea goes to work with NSTimer and adding it into a runLoop , but the connection is established only once and then then ( in the next 10 seconds ) the app Crashes . Here is my Code , THANK YOU for HELPING .
...
Hi folks,
I want to know how to add our custom animation while presenting or pushing the view controller (modally or navigation) which out the apple predefined animation.
Thanks in advance...
...
Hi guys.
I am developing an iPhone application in which I want to insert data into Web-server.
some of my friends told me that JSON is best way to do this.
Can anybody send me the link of any article/tutorial/blog which elaborate the use of JSON for inserting Date into remote database.
I have found some tutorial but they are just showin...
In my iPhone app, I have an NSFetchedResultsController showing User objects in a UITableView. The User Objects have 0-many Log objects. A summary of the Log objects are shown together with their User object in the UITableView.
My app uses a tab bar, so user input in the logging tab require that the user tab's NSFetchedResultsController ...
Hi everyone,
how can I get timestamp as NSNumber? I only need something like this: 1232885280
Thanks
...
Is is possible to implement OpenId authentication in iPhone? I found a framework named janrain. But with free sign up, we can avail only features. Is there any other open source framework available?
Thanks !!
...
I posted another question similar. This is my old code as some ppl say it would be even better, but there i didnt found a solution to release the allocated memory.
imageArray_danceright = [[NSArray alloc] initWithObjects:
[UIImage imageNamed:@"FrankieDanceRetime_0001.jpg"],
.. 40 images
[UIImage imageNamed:@"FrankieDanceRetime_00040.jp...
Hi all,
I'm quite new in iPhone development and I need to develop an app.
I must get mp3 data from a web server, which provides a simple saving the mp3 in my app document or folder
and use it in an application, which should also dislpay a table with rows like:
song1
song2
song3
But at present I don't know at all how to get this web p...