In my iPhone app, I have about 100 full screen images for image sequence core animation. The reason that I use such a large image sequence animation is that video playback is not flexible and powerful enough in SDK 3.0.
My images are not fully covered. For OpenGL, we can pack the valid content of several images into one large and power-...
I have a real-life example that I have in my project below. My aim is to pick out the most likely phone number for SMS receptions, and only that (phone)number. All works well when I don't release memory at the end, but we can't have that, can we. My question is: Where (and how) is the correct way to release memory in the example below?
...
Hello there,
One Question "How to connect to Remote Database (like SQL server 2008, MySQL, Oracle, etc.,)?."
I know there are ways like,
web-services
and one more complicated one, using UIWebViews (by Using Scripting languages.. like javascript).
leave these......
Tell me is there any connectivity like JDBC, ODBC., etc..... ?
I d...
NSString *contentPath = [[NSBundle mainBundle] pathForResource:@"test2" ofType:@"rtf"];
NSData *databuffer;
NSFileHandle *file = [NSFileHandle fileHandleForReadingAtPath:contentPath];
if (file == nil)
NSLog(@"Failed to open file");
databuffer = [file readDataToEndOfFile];
[file closeFile];
NSString *contentText =[[NSString alloc...
Hi all!
I wish create my personal UITableViewController and use it into my UIViewController using interface builder...
what's the best and fast way to do this?
thanks in advance
...
Hello,
I am wondering the best way to have an interactive vector drawing on the iphone. It will be a map which will change depending of actions done on special area of the map.
Thanks in advance for your ideas :)
...
Hello,
I did the "Build and analyze" in xCode and get "Dereference of null pointer" when setting a normal int to 0 in my init-method. I noted in my code below for which row I get the message. I'm developing for iPhone.
Bric.m
#import "Bric.h"
@implementation Bric
- (id)initWithImage:(UIImage *)img:(NSString*)clr{
if (self = [su...
Hello all,
I have a customize UItabelview header. This header is display information on 3G but in 3GS ,it truncating information.
Is their any API of UItabelview is not compatible with 3GS?
Thanks in advance.
...
Hi,
I have a requirement for Device 4.0 like, User dial a number from my app and then app should connect to that number. At the mean time I need a handler to keep track the stateChanges for the call(To do so I can use core telephony APIs).
So can any know how can a number be connected without a "tel" protocol.
Thanks in advance,
...
Hello,
I am developing an iPhone app and are using xCode to do "Build and analyze". I get the message "Receiver in expresseion is a garbage value" pointing to the line of the return-row in my bode below:
-(UIColor*)getLevelColor{
UIColor* tempCol;
if (level==4) {
tempCol= [[UIColor alloc] initWithRed:0.39f green:0.82f blue:0.32f ...
Hey
You can rotate an UIImageView like this..
myImage.transform=CGAffineTransformMakeRotation(M_PI/2)
But how do you get a group of images to rotate around point. Say 8 UIButtons arranged in a circle, rotating around a point in the centre.
Any ideas?
...
I have the following code:
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.lenzerheide.com/modules/weather/iphoneweather.php"] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval: 10.0f];
[[NSURLConnection alloc] initWithRequest:request delegate:self];
When I test the app on an iPhone...
How can I retain the state of an iPhone after it has exited. What is the easy way to do it?
...
I wonder if someone can explain the following, are these both doing the same? As both call "setSeparatorColor" I would guess they are both calling the accessor for the property.
[myTableView setSeparatorColor:[UIColor orangeColor]];
.
[[self myTableView] setSeparatorColor:[UIColor orangeColor]];
Gary.
...
Hi,
I want to load PDFs or Images into a View, but when the source is an URL there might be connection lags, so I wonder what is the best approach when loading content (like magazines) into a Coverflow view in the iPhone?.
(For Coverflow, something like this: http://apparentlogic.com/openflow/ )
Is it ok to get a pdf file then
obtain...
Hi all,
I'm writing an app which must download other apps and EXECUTE them from the documents folder.
One of the approaches I was thinking about is to use a bash script like the one in installous which unzips the app and copies whatever whenever it's needed.That way I can install it,but not execute it.
So I was wondering if there is a ...
I found some various articles about testing the GPS (corelocation) in the iPhone simulator.
It seems pretty straightforward, but i can't get it to work.
The error message i'am getting is:
2010-07-30 11:20:16.372 appname[50954:207] *** +[CLLocation initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:]: unrecogni...
Hi,
I'm looking to create a pdf document in my iPad app, and email it after creation.
The document will always have different size (also many pages size), because it should contain a set of table rows, every time in a different number.
Any ideas on how to do this?
Thanks in advance,
And
...
I'm working on an iPhone app that shows a map with multiple circle overlays on certain locations.
I'm running into serious memory issues and crashes when I add more than 6 circles and I zoom out far enough that they are all visible.
When I zoom in such that only 2 circles are visible, all is fine. When I remove the MKOverlays, everythin...
I am trying to download a large file using NSURLConnection. Instead of appending the data received in the didReceiveData method to an NSData object I create a file first and write the data to an NSFileHandle fileHandleForWritingAtPath. The problem is that this file does not seem to be present on disk until after connectionDidFinishLoadin...