iphone

Whats the cheapest way to test my iPhone App?

I have looked into getting my iPhone App Tested, and I have seen www.testing4success.com do some iPhone App testing. But, just wondering if there are any other App testing companies out there, or should I just try and test my App myself? ...

assignment makes pointer from integer without a cast

I don't understand what is problem here! after I compile it, always show me: "assignment makes pointer from integer without a cast" I don't know what is the problem! Please let me, thanks. SAVE NSUserDefaults *percentChecker = [NSUserDefaults standardUserDefaults]; [percentChecker setInteger:0 forKey:percentCheckerSaveKey]; LOAD...

YAJL installation and build with xcode 3.2.2

Hi, i've tried following the guide at http://github.com/gabriel/yajl-objc in order to install YAJL into my project but when I try to add a line for the examples i'm getting build errors. "_OBJC_CLASS_$_NSString", referenced from: objc-class-ref-to-NSString in libYAJLIPhone.a(YAJLDocument.o) objc-class-ref-to-NSString in libYAJLIP...

Can one iphone device be shared for testings from different account certificates?

Hi, this may be a dumb question, but I can't seem to find the answer. Can one iphone device be "used for development" by two people with different Apple accounts/certificates? Would there be implication to the iphone device? Thanks ...

in GLSL under OpenGL ES 2, how can I write a shader that operates on the previous output

I need a shader that starts with a given texture, then each frame of animation operates on the previous output of the shader plus other input. How do I organize the framebuffers so that each frame has access to the output of the previous frame without having to move the buffer back and forth from the CPU? ...

Make UIView resign first responder when tapped outside of view

Is there any way to make a UIView resign its first responder status when the user taps outside of the view bounds? ...

iPhone sdk basic element\button animation

Hello veteran xcoders, I just wanna know if there exists simple drawer (move up and down certain pixels)like animation for generic iPhone button as animated action or not? How one can approach to implement that. Can someone guide me.Thanks for your effort in advance. ...

Creating Menus and Keyboards with Cocos2d

Hi all Im just creating a menu for an iphone app using cocos2d CCMenuItem. Now i havent been using cocos2d that long so i may be doing this completely arse ways so hopefully someone can point me in the right direction. CCMenuItem *mainMenuItem = [CCMenuItemImage itemFromNormalImage:@"Main Menu Up.png" selectedImage:@"Main Menu Down.png"...

Where can I find a JSON weather api for an iphone app?

most of the ones i've found use xml, and id rather just use the JSON objective c source code. Any suggestions? i have seen this: http://stackoverflow.com/questions/507441/best-weather-apis ...

ASP.NET AJAX Timer on iOS Safari

I'm attempting to display a real-time Arrivals/Departures list on an iPad / iPod Touch / iPhone that automatically refreshes every few seconds. ASP.NET AJAX UpdatePanels work fine, but the AJAX Timer never fires in iOS Safari browsers. Is there a way to get an ASP.NET AJAX Timer to work on iOS devices? Or is there some way I can put a b...

iPhone and SQLite: How to handle the database connection with multiple classes?

Hi, I have some doubts about SQLite... My app uses only one table (encapsulated in a data logic class) to store small data, the connection is opened in didFinishLaunchingWithOptions and finalized in applicationWillTerminate (yes, I know that in iOS4 applicationWillTerminate is only called by iSO if necessary, but I write on database at e...

UISrollView Indicator Bar Question

Hello All, I was looking at the Apple docs for UIScrollView and saw that the constants for UIScrollView Indicator bars are "default", "black", and "white". I was thinking about using a scrollView without showing the indicator bar on the side of view. I have a very specific case and the bar is making it look awkward and actually seems to...

loading many applications from one small application tool box like page

hello im wondering how its possible to load many applications in an app box kind of manner from a general app page that allows to load many multiple applications..\thanks ...

UIImage that came from UIImagePickerController's photo library, is white image

Hello, When get UIImage that came from UIImagePickerController's photo library, i get white image, why is that? tnx ...

iPhone app crashes when saving data SDK 3.1.2-->4.0.1

I've got a problem with my iphone app which results in the app crashing whenever a save is made to the database. This problem has only surfaced since I moved over from sdk 3.1.2 to sdk 4.0.1. Here is the error I get when the crash occurs: malloc: * * * error for object 0x7c0: Non-aligned pointer being freed (2) * * * set a breakpoint...

iPhone wizard style navigation with a

Hello all, I am working on an iPhone app that uses a navigation controller, so it has a navigation bar at the top and a toolbar at the bottom. I would like to swap views in and out of the center area of the app -- the area in the center that the docs refer to as the "navigation view". How do I get the frame of that area, and how would...

UISearchBar + UITableView +UINavigationController issue

This is a followup to this question: http://stackoverflow.com/questions/2770330/uinavigationcontroller-uitableview-uisearchbar-uisplitviewcontroller Is there any way to make it so the solution above doesn't make it unfilter the results? In my case you see the entire list pop back up (during the animation) when you deactivate the search ...

iphone instruments tells about memory leak in NSMutableArray *bookDicts = [NSMutableArray arrayWithContentsOfFile:documentsDirectory];

Hi Can anyone tell me what I am doing wrong in the following few lines? NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES); NSString *documentsDirectory = [paths objectAtIndex:0]; documentsDirectory = [documentsDirectory stringByAppendingPathComponent:@"Immobilien.plist"]; ...

Why is my CGContext clipped to bounds?

Should I be able to override drawInContext() and draw outside the bounds of my CALayer? Even though my layer has maskToBounds set to NO (the default) my drawInContext() is called with a clip set to the bounds of my layer and I am unable to draw outside of it. My test layer does something like this: -(void)drawInContext:(CGContextRef)co...

How do I make a BattleShips Iphone game?

How do I make a Battleships game for the Iphone? I'm new to programming, I've done some tutorials and I feel I'm making progress with this but I would like to make a full game like battleships. Can anyone help me out with this? I'm trying to learn cocos2d-Iphone so I would like to use that if possible. David ...