I'm writing a Cocoa Touch program that will (hopefully) use Libpurple as it's background. The only problem is that I have no clue where to get started. I've been looking through some source code of applications that do use it, but so far haven't gotten anywhere.
Does anyone know anything that will help me familiarize myself with libpurp...
In certain places such as Mail.app, the top navigation bar is thinner in landscape mode than in portrait mode. Does anyone know how I could get something like this in my own app?
...
Every time try to set the value of any variable in my model object, I receive 'Unrecognized selector sent to instance' error, and the app crashes. The ivars have been synthesized and they are not readonly. I have checked to see the values set are of the right type.
I am not sure if it has to do with some connection in IB, which I have c...
For whatever reason, I can't get XSLTProcessor() to work all the time.
Here is my JS:
... xsltProcessor = new XSLTProcessor();
xsltProcessor.importStylesheet(xmlRequest.responseXML);
// Pass variables
xsltProcessor.setParameter(null, "sectionNumber", section);
xsltProcessor.setParameter(null, "entryNumber", elementNo);
// Tr...
I am porting a project to the iPhone (from Windows Mobile) and sharing much of the generic C and C++ code as possible, using Objective-C++. However, during testing I have stumbled upon a curious and troublesome problem that only manifests when running on the device. I have distilled the problem code in to a new project to prove reprodu...
HI, i am developing an application, where the user needs to enter the start date and end date to view the transactions within that specified date range.
please suggest me the best way to display it in iphone.
i saw the date picker , but it occupies most of my scren..
...
Hi all,
Insted of the default header in the UITableView i implemented a custom table header using
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
I used this method because i need to view my lengthy string within that header, so that i can reduce the size of the header font size.
But when i im...
hi,
I'm a noob in objective-c and cocoa, and I would like to implement a simple animation of UIImageView with flipping animation. But I'm having a hard time doing it. Below are my snippets:
UIView *containerView = [[UIView alloc] initWithFrame:CGRectMake(0,0,33,33)];
UIImageView *img1 = [[UIImageView alloc] initWithImage:[UIImage image...
Hi all
I just need current location details,
I have done the part of getting Current location Coordinates.
Now i want to get the region name, etc (No Maps) details using these coordinates.
How to do that? Any sample code available?
Thanks in advance.
...
I am working on an audio recorder application, it is working perfectly fine.
But I'm stuck with the problem of interruption. When a call comes,
- (void)audioRecorderBeginInterruption:(AVAudioRecorder *)recorder
then this method is called and the recording is paused.
And if the user rejects the call:
- (void)audioRecorderEndInterrup...
In Visual Basic, there's a line of code you can use to handle errors in code
"On Error Resume Next"
Is there something similar in Objective-C? My problem is I have an "Add New Cell" add button that creates a new cell during runtime. However, the cells are re-orderable. When you try to re-order the "Add New Cell" cell, I get an index o...
I'm trying to implement a design as follows:
Touch class : acts as an interface, several classes inherit from it
MoveTouch class inherits
JumpTouch class inherits
InterfaceTouch class inherits
Then I want to have a list of Touch objects. I then want to be able to strip out all the MoveTouch objects ONLY (not the other ones), and then ...
Hi
but i want dowload a video from URL and to rename the file of that video before saving it.i use UISaveVideoAtPathToSavedPhotosAlbum ?any help..what i have to do ?
NSData *imageData = [NSData dataWithContentsOfURL:[NSURL
URLWithString:@"www.xyz.com/image.mp4"]];
...
Is there any way to to check the current navigation controller or the view controller currently visible in application delegate method.
I want to create an Observer in application delegate that observes the controller being pushed and pop from the stack so that i could display the required tab bar controller. Basically my app have more...
Hello Every1,
i maintain a sqlite db in my iPhone app so, i was wondering how u could persist a single version and updated one.
its said that if want to make updates to the db u should copy it to the documents folder
on my iPhone simulator the documents folder changes like everytime i open the app
if its copied and changes was made ....
I'm wondering if there is a way to add my own input method in iPhone. (I know there are some apps like iCosta and WeFit doing this.) But is there a officially supported way to do this? Or do you have any reference documents for this? Thanks
...
I made a game that using a character that can moving left or right by touching the screen, above the character, it is a apple, what i need is the apple will fall down, the character may push the apple up again just like playing volleyball.
That's the problem,what i have learnt from "bounding ball" is give a sprite a shape and body, then ...
hi,
i use NSobject class inwhich i have NSURLConnection,but how can i show UIActivityIndicatorView when connection established and finished.....?i tried
in appdelegate.m file inwhich i have mentioned in appdidfnish method
Search = [[UIActivityIndicatorView alloc]
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhit...
When someone accesses a site via a WebView in an iPhone app, is there a reliable way (JavaScript or server-side) to tell what app is being used? It seems like the user agent string can tell me if it's from Safari or not, but not what precise app is being used if it's not Safari, unless a custom user agent has been specified by the app's...
Hi,
I have my server maintaining the content with a file-system(i mean folder structure). The same folder structure is also maintained in my iPhone client application bundle too.
Now if there is a change in my server file system(Add,Delete,Update of a file in some folder in the hierarchy) i need to update the file system accordingly at...