iphone

How to add a view on cell.contentview of uitableview iphone sdk

Hi all, In my application I'm creating a .xib of a class and loading that .xib on cells of uitableview of another class. I want to add this .xib to cell.contentView and not cell. How shall I do that? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString* cellIdenti...

How to setup Hessian Kit in iPhone existing projects

Hello Can any one help me to find out, how I can setup Hessian Kit on existing iPhone project. What are the steps required to run a simple hello world program. I have Hessian Kit (http://sourceforge.net/projects/hessiankit/) but don't know how I can include this in my existing project. Please help Thanks SD ...

FFmpeg on iPhone

Hello, I have downloaded ffmpeg libraries for iPhone and compiled them. My objective is to create a movie file from a series of images using ffmpeg libraries.The amount of documentation for ffmpeg on iphone is very less. I checked an app called iFrameExtractor, which does the opposite of what i want, it extracts frames from a video...

What are the basic and important things I have to learn as a iPhone application developer?

Hi all, I am new to iPhone applications. What are the important things(concepts) i have to concentrate to develop iPhone applications. ...

How can i get Tabbar Item Button's Click event by clicking on TabbarItem button ?

I have taken UITabbar on that i have used two buttons as TabItem.I want to perform two different Action by clicking on that two button so how can i get particular Action on clicking on particular Tabbar button. ...

show iphone keyboard programatically xcode

Hi.... i want show the iphone keyboard. so how can i write the code(programatically) to show keyboard. Thanks In Advance ...

Handle a More Navigation Controller in an Interface Builder based TabBar Application

Hi, I'm still not clear on how and when to use interface builder. I have a tabbar-based application, in which I added 6 navigations controllers. Instead of having 6 tabs, I would like 3 plus a "More" tab which allows the user to configure the tabs he wants. Is there any way to do that with IB ? And if not, how can I move from IB to a c...

View hide problem

Hello, I am using a Xib (tab bar controller with navigation bar). when i use navigation bar in app delegate then Xib slides little bit bellow.Actually i want a navigation bar on enter page so it is compulsory to define navigation bar in app delegate. Please help me how i solve this problem. ...

setDelegate explanation

Hi i am new to iphone developement , can any one explain me , why setDelegate is used, where we should use it. [request setDelegate:sender]; thanks in advance. ...

RightBarButtonItem in iphone

hello all. i am using navigation control with left and right bar buttons.my right side bar button contains length of 10 chars. And my title contains 12 chars. when i press the right bar button my title is moving.how can i stop moving the title when clicking button. ...

How can I get the main thread to sleep while waiting for a delgate to be called?

Consider a class with these methods: - (id) initWithFrame: (CGRect) frame { if (!(self = [super init])) return nil; webView = [[UIWebView alloc] initWithFrame:frame]; [webView setDelegate:self]; lock = [[NSConditionLock alloc] initWithCondition:LOCK_WAIT]; return self; } - (void) setHTML: (NSString *) html {...

asynchronous method executing

I have a delegate method with the following tasks: get something from the internet (ex: some image from a web site); process that image in a certain way; display the result in a subview ; getting the image takes some time, depending on the network's speed so the result of its processing is displayed in the subview after that little w...

How to smooth the edge of a zig-zag line?

Currently I draw a zig-zap line by CGContextMoveToPoint, CGContextAddLineToPoint, and CGContextStrokePath, following touchesMoved events. How can I smooth the edges of the line? Such that when the user draw a circle-like shape, the circle can be more round'ed. The GLPaint example use OpenGL, is that the only way to do it? ...

How would you go about creating a favorites tab for an iphone application?

I would like to add a favorites tab to my iphone app that i am developing. I am using core data to populate a UITableView and would like in the detailed view to be able to add the selected item to the users favorites. Would i go about this by adding the selected item to a new array? I am very new to xcode and iphone programming so as...

navigation controller question

i want multiple back buttons for the view i have click through , i saw this tutorial before, but now i can't find it anymore, can someone help me please for example i have view1 with button, after i click it the navigation controller will push to view2 , then on the navigation bar we have view1 (back) button which can go back to view1...

Callback for UITableView animations

Is there a delegate protocol that includes a callback for the end of animated changes to UITableView? Particularly reloadSection/Rows? ...

Asynchronous NSURLConnection Throws EXC_BAD_ACCESS

I'm not really sure why my code is throwing a EXC_BAD_ACCESS, I have followed the guidelines in Apple's documentation: -(void)getMessages:(NSString*)stream{ NSString* myURL = [NSString stringWithFormat:@"http://www.someurl.com"]; NSURLRequest *theRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:myURL]]; NSURLCo...

Few iPhone noob questions

Why should I declare local variables as 'static' inside a method? Like: static NSString *cellIdentifier = @"Cell"; Is it a performance advantage? (I know what 'static' does; in C context) What does this syntax mean?[someObj release], someObj = nil; Two statements? Why should I assign nil again? Is not 'release' enough? Should I do it fo...

RSS Reader - plist or core data

Hi, I am creating an RSS reader purely for my own educational purposes and am so far using plists to persist the feed references, unread counts etc. Is this a wise choice or would I be better placed using core data instead? ...

iPhone Provisioning Profile problems...

I have already successfully submitted two apps to the app store, so I should be able to do it by now, right? With my most recent app, however, I'm having a bear of a time with getting the Application Identifier or Bundle Identifier set up. In my distribution profile, I have included the identifier "com.jmock.irowbeta", and then copied ...