iphone

You tube API for getting videos from a our account in Objective C

Hi All, In my iphone app i want retrieve videos list from my account in youtube, Is there any API to get this can any one help me out Thank You ...

iphone sdk: UIScrollView as Image

I want to save the content of an UiScrollView as an Image. It seems that it is not as easy as the UIImageRepresentation that can be used for Views or ImageViews, anyone an idea how to do it? ...

Detecting an Apostrophe in a NSString?

I'm using Gamekit to send data via bluetooth between two devices. I want to get the name of the device that sent it, but if the name is "Bob's iPhone" I want to cut off the "'s iPhone". I first check for ending in "iPhone" or "iPod Touch". if ([name hasSuffix:@" iPhone"]) { name = [name substringToIndex:[name length]-7]; } else i...

how do i make sense of this crash report(SIGABRT)? Regarding parsing an xml file on another host computer + iPad

Basically, imagine this. i have an iPad , a Windows computer with apache http server which is hosting an xml file, and a wifi network that connects them both together The xml parser im using is NSXMLParser in my - (void)parseXMLFileAtURL method this is my code NSError * error; NSURLResponse * response; NSMutableURLRequest *requ...

MKPolygon performance problem

I have created a whole heap of overlays using MKPolygon and created into a MKPolygonView. This works fine but one of the overlays has a butt load of points (about 800 points) and this causes memory and performance issues. I tried shouldRasterize on the MKPolygonView but this had the opposite affect which I am not surprised. Is there any...

Omniture tracking in iphone

Hi All, Wannted to implement omniture tracking in iPhone application, I just have basic clue on omniature that it is a third party software that helps you to track keyword search by your user in your application, also help to present similar searches to user, and helps reporting, plz correct me if I am wrong as I still digging informati...

Select UIImageView with tap

Hi everyone, I have a little question. Maybe some of you know the app 'Munich my way'. It's an app where you can configurate your own shoe design. They show a shoe where you can tap on each part of the shoe (sole, shoelace and so on) to select it and then choosing a design for the part. My question is how to do that? I mean tapping on a...

How to successfully import Appkit Framework in iPhone?

Hi, I would to use the NSSpeechRecognition but this Appkit Framework was not available in iPhone os frameworks. This is available in systems/library/frameworks/Appkit.framework. Is there other way to make use of AppKit for NSSpeechRecognitio in iPhone? Thank you. ZaldzBugz ...

PopViewController not popping view

My top level view immediately Pushes my SplashView in it's ViewWillAppear method. In some conditions, the SplashView pushes an additional view, which is properly popped. When this occurs the Top Level view never appears. However, the code in the Top Level is running (it has a timer that occurs every minute which writes to the log). A...

Resize image in UITableViewCell to not be total height

Current I am trying to show a simple table in my iPhone application where I use UITableViewCell's with the style UITableViewCellStyleValue1 (image to the left, detail-label right-alligned). The cells all have the default height (50.0f). Before I add an image to the cell, I resize the image to be 40x40, so that it is not the total height ...

Rearrange Uitableview row

Hi, I have an iPhone application that has a user preference page where the user can rearrange the uitableview rows just like the iPhone built in weather forecast app's settings page. Now my problem is after the user in done with rearranging, I need to save the data in database in rearranged order. But I'm not been able to read the data ...

navigate to custom cells

Hi, i've created a custom cell table view with the following header file: @interface Tab1 : UITableViewController { ApplicationCell *tmpCell; NSArray *data; } and i have individualcell class and nib file, there is no nib file for tableview since i am using custom cell. this function works fine. now i want to have this custom cell v...

Resizing layers and its sublayers - CoreAnimation

Hi, I have a CALayer A with one sublayer B I want A to be resized (to be shrank) so I add the animations to my layer A but when I commit the animation sublayer B is not shrank. Its size remains(but its position changes as its superlayer bounds changes) How can I make my B layer to be resized along with A animation? This is what I wrote...

How to make a ConstantList Class in Objective C

How to make a ConstantList class in Objective C of an application which could be accessible to all the classes who are using constants. like in Actionscript we do: public class ConstantList { public static const EVENT_CHANGE:String = "event_change"; } Or what is the best approach to handle application constant. Regards Ranjan ...

can't click UIButton when it's added to UIImageView

guys, i want to click my uiButton after it's added to UIImageVIew, but it doesn't work. this is my code : UIButton *btnDetail = [[UIButton buttonWithType:UIButtonTypeDetailDisclosure]retain]; btnDetail.frame = CGRectMake(0,0,100,100); [btnDetail addTarget:self action:@selector(buttonClicked) forControlEvents:UIControlEventAllTouchEvent...

Different height for alternative cell in UITableView

How to make a alternate cell with a different height? I need height for cell1 is 60 and cell2 is 30.... how can i do this? Thanks in advance. ...

Problem with small numbers in Objective C 2.0

I created a calculator class that does basic +,-, %, * and sin, cos, tan, sqrt and other math functions. I have all the variables of type double, everything is working fine for big numbers, so I can calculate numbers like 1.35E122, but the problem is with extremely small numbers. For example if I do calculation 1/98556321 I get 0 where ...

Webservice iPhone

Hi, I am trying to access a webservice (written in .NET) from my iPhone application. This is my code: -(IBAction)buttonClicked:(id)sender { NSString *postString =[NSString stringWithFormat:question]; NSLog(postString); NSURL *url = [NSURL URLWithString: address+@"/execute"]; NSMutableURLRequest *req = [NSMutableURLRe...

MAC OS Activity Monitor Information

Hi all, I'm using Activity monitor to measure performance in my iPad app, in addition to Instruments. There are 4 columns which I cant understand. Real Memory,Private memory,Shared Memory and Virtual Memory. Do you know the meaning of these 4 terms and which one I should use? ...

Delegate functions not being called

Hi all, Long time lurker, first time poster. I'm making a ServerConnection module to make it a whole lot modular and easier but am having trouble getting the delegate called. I've seen a few more questions like this but none of the answers fixed my problem. ServerConnection is set up as a protocol. So a ServerConnection object is cre...