iphone

How can I browse source code on an iPhone?

I have a lot of downtime on the subway each morning and evening, and I'd like to be able to review source code for various projects I'm working on. Are there any apps that can help with this? I'd like something that lets me browse a hierarchical tree of source files and that does syntax highlighting. ...

Sync no privileges.

Hi, I gave my client the app for test. He installed on iTunes,but when sync to his iphone, an error is : Application ** install on **'s iphone need privileges. His system is Windows Vista. What the problem is ? Thank you so much. ...

iPhone App runtime error- "Error: Embedded profile header length is greater than data length.\n"

This error Thu Apr 8 20:24:15 iPod-touch appname[947] <Error>: Error: Embedded profile header length is greater than data length.\n Thu Apr 8 20:24:16 iPod-touch appname[947] <Error>: Error: Embedded profile header length is greater than data length.\n is logged when a UIImageView is loaded. The view isn't huge but it has a few othe...

Wait during iPhone UI modification

Hi, I am making modifications to elements on UI. There is no (extra) thread or any async. calls. However I want to give a slow motion effect, so wait specific time at each step in a for loop. How can I achieve this without blocking the UI? Specifically, I am moving a button in a for loop. I can put [NSThread sleepForTimeInterval:5.0];...

What is the entity for my NSManagedObject?

I have a view controller that can fetch many different types of entities from my MOC. How can I tell what the entity is for an object of the type NSManagedObject? ...

How to manage a single-selection (exclusive) list?

I've got a detail view that consists of a table view with a few rows of data. I can fill the rows just fine, and moving back and forth from the parent view to the subview works too. This detail view should allow the user to select a single value, placing a checkmark accessory in the cell and then returning to the parent view (where the s...

Custom UITableViewCell not properly hiding views

I am using apple's custom table view cell code and modifying the drawRect code within the cell's view to look like I want it to. I've changed it to have some UILabels as well as a UIProgressView. If the data the cell is being built on doesn't have a certain field, I want the UIProgressView to be hidden. This works for a little while, ...

Is it possible to develop IPhone applications with Java?

I accidentally bumped into an ad like this: http://monotouch.net/DownloadTrial?ref=so1. Then I start to wonder if we have an equivalent thing in Java. From my understanding, objective c is still the only language that people use to develop iPhone apps. Is this true? ...

How can I retrieve the app purchase date in order to expire features after a set period of time?

Is there an easy way to recover the app purchase date? Or must I save it myself the first time an app is opened? ...

JQTOUCH, Binding to links pulled in via AJAX, to make another AJAX call? Possible?

Hello. I'm using JQTOUCH using the AJAX example provided in the demo: $('#customers').bind('pageAnimationEnd', function(e, info){ if (!$(this).data('loaded')) { // Make sure the data hasn't already been loaded (we'll set 'loaded' to true a couple lines further down) $('.loadingscreen').css({'display':'bl...

Is there a notification when the iPhone spelling correction hint shows/hides?

Is there a notification on the iPhone like UIKeyboardDidShowNotification but for notifying when the spelling correction UI appears/disappears? Same question, but when inputting east asian characters (e.g. Chinese), when the character selection UI appears/disappears? Or is there any other way to detect if these elements are visible? I ...

how can i use a particular UIActionSheet's button with some actioning (explain in brief) in iphone ?

how can i use a particular UIActionSheet's button with some actioning (explain in brief) in iphone ? ...

Can't Build for iPhone Device

After upgrading to the iPhone SDK 4.0, I get the following error when building for device: gcc-4.0: Invalid arch name : armv7 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 failed with exit code 1 Before, I was only building for armv6 (the default on pre 4.0 SDK's). ...

Question related to UITEXTVIEW

Autoresize UITextView and UIScrollview on clicking and editing of UITextView ...

Using CGRectIntersectsRect for collision detection

Hi guys, I've got a long rectangular image which is rotated at different kind of angles. However the frame of the rectangular image does not rotate along with the image and instead, the rotation causes the frame to to become larger to fit the rotated image. So when I used CGRectIntersectsRect, the collision detection is totally off beca...

What differences should i make in the MPMoviePlayer sample code(for iphone) to make it work in Ipad?

Its working perfectly in the iphone simulator. But not in the ipad simulator. I am only trying to make the movie getting loaded when the application launches.Copy pasted the same code in a ipad window application. But it loads and only gives the white screen and nothing is happening. Can anyone tell me what changes should I make to work...

sqlite3 no insert is done after --> insert into --> SQLITE_DONE

Hi all, I'm trying to insert some data in a table using sqlite3 on an iphone... All the error codes I get from the various steps indicate that the operation should have been successful, but in fact, the table remains empty...I think I'm missing something... here the code: sqlite3 *database = nil; NSString *dbPath = [[[ NSBundle mainBu...

UIimageViewcontroller

Hello, I have a problem... In my view i have ImageView.If i click ,it should open nextview. Please help in this issue. ...

How to produce an iphone app which calculates the battery status?

How to produce an iphone app which calculates the battery status? Is there a particular API that i need to use? Has anyone got a link to any online tutorials? ...

Objective-C Social Networking General Question

Hi, I've been developing application for Iphone and now I want to try to create appplication like social bookmarking but I didn't really find any help on the net. I will have a create a login/pass, retrieve data and display them. So I want to know what do I have to use to implement all of that for any social bookmarking website. If yo...