Hello users,
I have implemented an app that shows a map with a lot of pins on it.
If you push one pin you get on a second view that shows the data behind the pin.
A button takes you back to the map.
My problem is that by the third touch on a pin the program crashes with a EXC_BAD_ACCESS in this method:
- (void) switchViews {
if...
My iPhone application uses SQLITE's FTS3 functions (specifically MATCH and OFFSET). These are essential to my optimized searching algorithm. I implemented FTS3 by including three SQLITE source files, namely sqlite3.c, sqlite3.h and sqlite3ext.h in my project, under a group named SQLite. I removed from the Frameworks group my previous ref...
I have my app set up to send a custom level in a form of a array to another person during a p2p connection. The receiving device saves the array to file for later use. I set up gamekit in my application, it will successfully search and connect to another device without any problems. Though a problem arises when I send data to a device, t...
Hello experts!
I'm currently stuck in the distribution-profile-jungle and I can't find my way out.
I have launched an app to the App Store using my Distribution Profile, for various reasons I needed to wipe my keychain. When this was done I successfully updated the Development Profile by adding my newly created certificate. All is fine ...
I am new to iphone development .I want parse an image url from a xml file and display it in a RSS feed.There are three image url but i want to retrieve only one url and display it.
<entry>
<id>xxxxx</id>
<title>xxx xxxx xxxx</title>
<content>xxxxxxxxxxx</content>
<media:group>
<media:thumbnail url="http://tiger.jpg"/>
<media:thumbnai...
Hello,
I use a api wich provides me data from the web. The data is in Json format, and is stored in a NSDictionary. Like this:
SBJSON *parser = [[SBJSON alloc] init];
dict = [[NSDictionary alloc]init];
dict = [parser objectWithString:jsonArray error:nil];
Ggb console result for: po dict
1262 = {
"feed...
Hi guys
My program consists of 2 parts - A server socket running on a different thread, and a client to test the server. I'm 99.9% sure that the server is correctly written (because I have tested it with a client socket), and all it does is returns "hello world" as a response. The server sits on port 3490.
Now what I tried to do is t...
I have something similar to this.
initMyclass {
if (self= [super init]) {
classMember = [[NSMutableArray alloc] init];
}
return self;
}
Instruments reports a leak there.
I'm leaking memory there ?
If not, xcode reports false memory leaks ?
Thanks.
...
In my iPhone app, every time I relaunch my cookies are cleared. This is using the NSURLRequesst and NSHTTPCookieStorage. And no, they are not session only cookies.
How can I get NSHTTPCookieStorage to keep my cookies around, and if I can't, what is the proper way to store them (preference, keychain, etc.).
...
I'am trying to make the following code work but I only see white rectangles when rendering them :S;
CCSprite *tempSprite = [[CCSprite spriteWithTexture:[[CCTextureCache sharedTextureCache] addImage:@"Icon.png"]] retain];
TapCircle *tapObject = [[TapCircle alloc] initWithSprite:tempSprite];
The TapCircle class is a subclass of TapEle...
I would like to get at
- (void)applicationWillTerminate:(UIApplication *)application
a variable from a view controller class.
I have build an tabbar application and only added the tabbar controller to the appdelegate.
[window addSubview:tabBarController.view];
How can i get an variable from the TestViewController:
#import <UIKit/...
Hi all, I have an odd question here. I have two animations set up for a simple page flip. I then have a button that randomly generates a 1 or a 0. If the number is 0 then it performs one animation, if its 1 it performs another.
The issues I'm seeing is that this all runs fine on the simulator, but on the device it doesn't perform the an...
Hi
I am a relatively new iPhone app developer so my knowledge is a little sketchy, so please forgive me if this is a bit of a trivial question.
I have a navigation app which drills between table views by calling pushViewController on the navigationController object
I have one particular section which pushes new view controllers sequen...
I'm creating a custom on / off toggle switch for the iPhone (similar to the standard switch) and i'm at the point where I'm setting the mask of the slider, but calling [[myView layer] setMask:maskLayer] sets the position of the mask layer relative to the layer it's masking, not relative to the container layer of the mask layer. For this...
Hi!
It might be that the problem is straight forward but I don't get my head around it.
I have the following iPhone code
for(int x = 0 ; x < [allFriends count] ; x++)
{
Friend *f = [[Friend alloc] init];
f = [allFriends objectAtIndex:x];
if([uid isEqualToString:[f uid]])
{ ...
I have a bunch of content files for my iPhone app that I generate via shell script. It takes way too long to be a part of the Xcode build process, so I run it periodically.
I don't want to have to continually add these files to my Xcode project in order to get them included my app resources folder. Is there a way to get Xcode to copy th...
Hi,
The challenge:
i'd like to do some action if the user touches a TableItem.
The problem: The didSelectRowAtIndexPath method is never called? Did i miss sth?
PortfolioViewController.h
@interface PortfolioViewController : TTTableViewController <TTTableViewDelegate>
{
}
@end
PortfolioViewController.m
@implementation Portfoli...
Well, I know technically how to intercept an error, but what should I do in any case CLLocationManager or Core Location doesn't work? What are your strategies, what do you show to the user?
...
I want to show up an progress bar while a download with NSURLConnection is happening. As I am getting data from the server, I could update the UI for every received package. But the problem is: How do I figure out how much data I have already, and how much data has to be downloaded? Probably in bytes... And then I have to do some math to...
I'm trying to format an UITextField as user types text, for instance to show separator for thousands.
I found this web page : http://www.iphonedevsdk.com/forum/iphone-sdk-development/16512-trying-add-commas.html
It seems that shouldChangeCharactersInRange: is not a good solution. I thought of a custom UIView where the view would be upd...