hi,
i am working in creating a custom class which is subclass of UIWebview. But its delegate functions are not being called. How should i set delegate for this class. I know this is a basic question but it will be really good if some one could answer it. Thanks in advance.
My Code:
.h file
@interface PollackWebView : UIWebView<UIWebV...
This code is used to make "initial data" or "test data".
The Category entity will carry default types.
The Subcategory entity will copy default types from the Category.
They wouldn't be using the same types because new or old types may be deleted or added to the Subcategory.
-(void)newCat:(NSString*)catName subCat:(NSArray*)subCatN...
Is interprocess communication relevant on the iPhone or iPad? Because there's NSPipe available...
...
Hi all,
Could anyone point me in the direction of an idiots guide to integrating Game Center into an iPhone app ? Please do not refer me to any Apple documentation as it's about as useful as a pork chop at a barmitzvah.
Thanks,
Martin
...
Does NSFileHandle create the sockets for me? Or must I create them myself and then setup an NSFileHandle to use that socket?
...
What's the difference between a "stream-type" socket and a "datagram" socket type?
...
is it possible to upload video in sqlite not the url ?
hi iam new to the iphone ... i want to upload video in sqlite not the url of video.
i have tried it but not got the sucess if any one know the solution plz post the answer..
...
i hav a html tags stored in string and i want to load the table with the attributes which i given dynamically through program...
how to search the particular tags of the row and column of html and add the data to the attributes...
any help appreciated...
Thanks in advance......
...
how do you change the colour of the Navigation Bars, Tab Bars?
Everytime I change it, I dont get the colour I want, It either gradient red, or gradient white/silver.
But unable to do it, default gradient blue and grey both look good but try changing it any other colour and it looks terrible.
Any tips? how to do gradient?
...
Hey,
I installed ShareKit for Twitter Support in my app. I registered all keys and urls and so on. But my problem is: In my app the user sees sentences. I want that the user can tweet this sentence. What method do I have to write. I've got:
-(IBAction)tweetSentence {
NSString* message = [[sprueche objectAtIndex: spruecheCount] string...
Example:
NSData *fileData = [fileHandle readDataToEndOfFile];
Am I responsible for closing that file handle? (I think I'm not...but just 99.95% sure!)
...
hi iam currently working in small chat app in iphone iam call to web services .one for data sending and other for get friends response so iam impelment code are follows .
NSMutableData *webData;
NSXMLParser *xmlParser;
NSMutableString *xmlParsingResult;
NStimer *timer;
-(IBAction)send:(id)sender
{
//req include web request info
...
UITextView doesn't inherit from UIControl, so there are not addTarget:forControlEvent: methods possible. I used to register an action method just to resign first responder when UIControlEventEditingDidEndOnExit happens.
How can I do that with an UITextView? Is there some delegate + protocol I must implement so I can make the keyboard go...
Hi,
In relation to question an eralier question of mine, I have tried and failed to create a class with a NSMuttableArray member variable holding CALayerRefs. Can someone please guide me on how to do that. What I want to do is basically create CALayerRefs or CGLayerRefs or whatever, push them into my layers variable, and then, when I nee...
I'm trying to something like [view removeFromSuperview] however when I do it appears from what I've seen and what I've read in the apple documentation that the normal behaviour is to remove the superview from view as well (unless I have misread).
I'm wondering how to simply remove a view from the superview, i.e. in the case of creating ...
I have implemented a standard UITableViewController. I have made only some rows in the table to be moveable, ie. canMoveRowAtIndexPath returns true only for some indexPaths (for rows in the first part of the table). I would like to allow exchange of only those rows that are moveable, ie. for which canMoveRowAtIndexPath returns true.
Eg...
hello,
I try to add a .mp3-file to an AVMutableCompositionTrack and after that I want to export the new file. The Problem is: The generated file exists after exporting but it is empty and can not be played. Does someone see the error in my code?
AVMutableComposition *saveComposition = [AVMutableComposition composition];
NSArray *docpa...
I am working on an iphone application and don't know what the best way to hold temporary data across views. for example i have xml on a server and i parse the data into an object so that I can hold the information. The xml has some data that i want to be displayed on one view and other data that i want to be displayed on another view. I ...
Hi guys. First off, sorry for my english.
I have a problem :(
I want to open the map of the city.
I can use following construction:
NSString *opMap = [[NSString alloc]
initWithFormat:@"http://maps.google.com/maps?q=new+york+21st+street"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:opMap]];
[opMap release];
But, th...
UITextView is multiline. So I can't use the DONE button to dismiss the keyboard. Now what's best practise? Add a navigation bar or toolbar on top and then put an DONE button in there?
...