iphone

Best client-side data store for iPhone web app?

I am building a web app targeting the iPhone. It is similar to a To Do list. I need the application to be able to work offline, i.e., it should allow the user to add/edit/delete entries when there is no connection to the server, which will later get synced when the server is online again. How do you recommend I store this data (remember...

How do I get back into *real* programming? Should I?

I have not been on hiatus. I currently make a good living implementing an ERP product. The problem is that the most complicated algorithm we ever have to work on is adding up a bunch of columns. I'm not saying there are no challenges involved, it's just that the challenges are no longer interesting to me. I graduated with a computer ...

disable UINavigationBar gradient

Does anybody know how to disable gradient in UINavigationBar and make it totally black? ...

Designing for High Volumes of Data in an iPhone App

I have an I phone app which upon opening needs to display a table of data containing roughly 25000 records. Each record consists of two fields: TITLE and DESCRIPTION. Both fields are visible in each table cell. The tableview also is fully searchable with a UISearchBar. When the application starts and this view is loaded a "collecti...

How can I use OCMock objects with code that calls isKindOfClass ?

Hi, I'd like to test some code with OCMock. The innards of the code are calling [NSObject isKindOfClass] on the mock object I'm providing to the code, like so: if ([object isKindOfClass:[FancyClass class]]) { ...} However, when I provide an OCMockObject-based mock created like this: mock = [OCMockObject mockForClass:[FancyClass clas...

How do I get Data into an Iphone application from a URL Using the UIWebView?

I have an application that I am working on that uses UIWebView. I'm not much of a Web Wonk so I am not familiar with what is probably a trivial task- How do I pass data back to my application when I load a web site? The site is on a server that passes a google map to the application but I also need some additional information passed al...

How return back info from a child to parent in a NavigationController

I wonder what is the proper way to get back some message from a child view. I have a object that is edited in the child view. I wanna see in the TableView their modifications. However, I don't know a clean way to do it (I don't like a singleton here). Is possible get notified when the Child view dissapear and get some info on that? ...

Ad Hoc Deployment Issue: putpkt: write failed: Broken pipe.

I have a beta version of my app developed, and I'm looking to put it on a few friend's iPhones for testing purposes. I've gone through the Ad Hoc deployment steps at the Developer Portal, and I've also followed the instructions here: http://www.talentgrouplabs.com/blog/archive/2008/11/10/iphone-sdk-mobile-provisioning-0xe800003a-0xe8000...

Building iPhone Code using xcodebuild and running LLVM/Clang Static Analyzer

I followed the steps here but i'm unable to run static analyzer on my project: Finding memory leaks with the LLVM/Clang Static Analyzer When i try to run xcodebuild on my project (1. Open Terminal, 2. Go to Project Directly, 3. > xcodebuild), i get this error: === BUILDING NATIVE TARGET XProject OF PROJECT XProject WITH THE DEFAULT...

How to : Navigation Controller in Tab Bar Controller

Hi I'm woking on a simple iphone application. The applicaton has a table view on first screen. If the user clicks on an item on that table view, application navigates to the second view. The second view has a table view, too. If the user clicks on an item on this screen, I want to show a new xib which has Tab Bar Controller. Actually, ...

How to create multiple thread

Hi I want to create multiple thread in my game. One thread is for timer and other for touch event. Because when i am running this game on iphone timer conflict the touch events so touch event will not be detected. Its working smooth on iphone simulator but on iphone or on itouch its became very slow. So i m using thread for touch and ...

iPhone Development - Simulate Memory Warning

Background: I have a tab bar application. Each tab contains navigation controller allowing the user to transition from one view to the other showing a drill down information of the data (each view is being handled by a view controller and each view controller class has -didReceiveMemoryWarning method). Lists are populated by pulling the ...

iPhone app in the background

Hi all, Is there any way to start sound or pop-up message from closed iPhone app. Simply like "receive SMS" ...

iPhone sending data to and retrieving data from Google Apps?

I've seen a couple of iPhone applications that have the functionality to export data to a Google Apps document or spreadsheet. I would like to add similar functionality to my iPhone app. Is there an API for that? How about the other direction - is there a way to get data (say a CSV file) from a Google Apps spreadsheet? If there isn't...

Semantic stuff (RDF, OWL) on mobile phones - is it possible?

I'm thinking about using semantic (web) technogies like RDF and OWL in an application on mobile devices. Currently I'm targeting android, but I'd also be interested in the possibilities on the iPhone and on J2ME. I would like to use a lib instead of implementing everything from scratch. I know that there are some libraries and framework...

EAGL: What does it stand for exactly?

I forget, but does EAGL stand for anything specific? Or is it just part of the Core Animation OpenGL naming convention (CAEAGLLayer, etc.)? ...

Do you tag your UIViews or retain them as properties?

This is mostly a stylistic question but I've been curious what others' thoughts are since I started programming for the iPhone. When you have a UIView in your iPhone application and you need to access it elsewhere in your application (generally in another function in a view controller), do you like to tag the view with an integer and re...

how to implement my own zooming but still have access to the UIScrollView's scrolling?

I would like to use the scrolling/panning functionality of the UIScrollView but I would like to handle all the zooming and scaling myself. My current plan is to have a viewController that owns a UIView (I'll call it view1) with multiple UIViews and UIScrollViews as children. Is it possible for view1 to handle all multi-touch events (in ...

What resources do you recommend for game programming on the iPhone?

I would like to find a book titled "Game programming for iPhone". But since it seems not to exist yet what resources would you recommend to get the information that would be contained in that book? Any book or tutorials on "generic" game programming? or maybe Cocoa game programming? ...

Best way to create Default.png image for iPhone app

Originally I though I'll just take a screenshot of my app on the iPhone then tweak it in Photoshop. The images should be 480 x 320 according to Apple doc, and the dimensions of my screenshot are 480 x 320. But, the screenshot contains notification area (where reception bars, battery life, etc. are displayed) So, if I chop that part of...