iphone

How to implement CoverFlow in iPhone apps?

Possible Duplicate: Open source iPhone Coverflow like library What is the best way to implement a CoverFlow like interface for the iPhone? Does Apple provide any libraries? ...

GCC/XCode speedup suggestions?

I have a stock mac-mini server (2.53GHz, 4GB, 5400RPM drive) which I use for iphone development. I am working on a smallish app. The compilation seems to be taking longer and longer (now about 20min). The app is about 20 small files totaling 4000 lines. It links to C++/Boost. What suggestions do you have to speed up the compilation proc...

Using an NSMutableArray instead of an NSFetchedResultsController

I've recently come to learn that NSFetchedResultsController is an extremely buggy class and its been causing me headaches for a while now with my rather large Core Data app. Would it be appropriate to use an NSMutableArray to feed the table view instead of an NSFetchedResultsController? What I'm talking about is, temporarily creating a ...

playing sound files in resources folder

I have some mp3 files in my resources folder, how can i play those mp3 files? I just know their name. ...

iOS - Push Notification: does it always display a notification

Hello! I'd like to know if it is possible to send a push notification, through APNS, without displaying a notification if the application isn't started? (in this case, the message received will be thrown away) Thx ...

Why is my object disappearing after using gluLookat for OpenGL ES 2.0?

I'm putting together a simple game for the iPhone, and am trying to implement the effect of moving the camera around the GLView. I'm drawing about a hundred objects using glDrawArrays with vertex and color pointers. After this, I want to move the camera to the right by 1 unit. This is the snippet of code I have in my drawView method. I...

A simle view with a button that calls another view with a tab bar controller

It is quiet embarrassing but I just don't get it. How should I browse prom viewA to viewB to viewC if I have a main view "viewMain"... how can I make it call a view with a tab bar controller for the views viewTabA, viewTabB and viewTabC. (All views should give me the option to go back to the main view "viewMain") It just so frustrati...

Scope Bar for UITableView like App Store?

Does anyone know how to add a scope bar to a UITableView? The App Store app does this sometimes, like in the picture referenced (I am not allowed to post images, sorry). I would like to use this scope bar to add sorting options for the elements in the tableview. This would be more convenient than having a toolbar with a segmentedcontrol...

Drawing a prism with CoreAnimation

I'm trying to draw a prism and animate it with CoreAnimation. But I can't find a good solution to draw the fan of rainbow colors. There a a couple of ways to do that, each of them has disadvantages: I could simply use an image. But I allow the user to zoom into the scene and I'd like to avoid any artefacts. Using a CAGradientLayer ...

iPhone Peer-to-Peer Connectivity Support in Titanium

Is it possible to implement peer-to-peer connectivity with Titanium Mobile for the iPhone? ...

opposite of enum (using formula) (objective-c)

I have 4 numbers 0-3 which is an enum (objective-c) and I'd like to get the opposite using a formula. So if 0 is put into the formula it returns 2 and if it 2 is entered then it returns 0 (and same with 1 and 3). The reason being (and it is programming related) that I want to get the opposite of an enum without having to do an if or swi...

ABPeoplePickerNavigationController programmatic searching?

I want to pull up the user's address book and use the new PeoplePicker controller to slice the results to show just those that match a certain term. I see that UIPeoplePickerNavigationController has a search bar and search view embedded in it. Looks like pretty standard stuff, I've just never used it before. How would I get at that pro...

iPhone viewForZoomingInScrollView behaviour changes in iOS3.2 +

Hi, i have a scroll view which represents a map, it has pins on it, when the user zooms the map, my app uses viewForZoomingInScrollView to ensure all the pins remain the same size( I ensure the location of the pin point is maintained by setting the anchor point on the layer) here is the general gist of the code.. - (UIView *)viewForZo...

No Local Variable or Arguments in Xcode 3.2/iOS 4?

I've updated a project to Xcode 3.2 and the iOS 4 SDK, and now, I don't get any local variables or arguments in gdb. I've confirmed that Debug Information Format is (still) set to "DWARF with dSYM File," the compiler is GCC 4.2 (no LLVM or Clang), and GCC_OPTIMIZATION_LEVEL is 0. Any thoughts about what I might be doing wrong? ...

iPhone Facebook SDK: failed to post status the second time

It happens even with the sample projects from the github. The first time it worked fine in updating my status, but the second time debugger always shows an error_code = 1, and error_msg = "An unknown error occured". Yes I clicked the "Get Permission" button first. And this is the sample project. Posting stories worked fine, although the...

Debugging changed with XCode 3.2.3?

Recently switched from XCode 3.2.2 to 3.2.3 for iOS4 and i noticed that i can no longer view the values of my property variables or any variables for that matter in the debug window? In 3.2.2 when a breakpoint was reached i was able to view all my class variables in the "self" tree node in the variable window. I could also just hover o...

iPad UI element question

what UI elements to I need to create a boxed section like the related section on this page with a 3px wide border and a light grey background? UILabels and what else? are UILabels clickable? ...

How do I link a UIButton to my data object? (iPhone / Objective C)

I'm new to iPhone dev. My app is dynamically creating buttons, following from my data model. The model isn't just a simple list; it's a tree. I need some way to correlate a created button to that data model, so that when the button is clicked I know what part of the model it corresponds to. On Windows, most UI controls have a "tag" fiel...

how to install .ipa programatically

how do i install an .ipa file programatically on the iphone sdk ? is there some framework for that ? im not jailbreaker, just coding some app for client, and that's what he wants. so please help :) thanks very much :) ...

Is there a sync framework for IPhone?

Are there ways to sync data from IPhone app to central database without the app being used? ...