iphone

What calendar integration is possible?

I have a client who would like the app we are building to show events from the user's calendar (ICal, Google Cal, etc). What types of integration is possible from iPhone SDK? I've only seen NSCalendar so far, which is more of a calendar calculation engine it seems. Not familiar with calendar APIs in general, so would really apprecia...

Do I need to disable NSLog before release Application?

when we want to release app on iPhone if I disable (comment NSLog();) it will get more advantage? ...

Wishlist for Objective-C IDE/Xcode ?

My company is evaluating the possibility of developing set of tools for Objective-C extending Xcode default functionality(basically we are thinking about providing better navigation,semantic search, more refactorings, quick fixes, improved code completion (visual assist inspired). So we would like to ask XCode/Objective-C developers: ...

log error and warning info in iphone

Hi, I need to get the error, warning log when the iphone application is running and want to save it as a file in the database. i am using phpmysql as backend. is there any way to get this.?\ Help needed Thanks, Shibin ...

iPhone as a robot controller

I have successfully used pocket pcs in the past (using the serial port) to control simple robots (small rovers). Looking around here and on apples' developer website, it seems that starting on 3.0, they do allow applications to communicate (and even use their own protocol) with custom hardware. I'd assume they have the same policy for b...

how to get .app filename programmatically ?

Hi, i when i compile the project a .app application is created. and it is same name as the project name by default. how to get that name programmaticaly ? ...

Creating a browser type application for iphone

I would like create an application similar to the safari browser, What is the best way to start off with? I want the user to enter a web address on a field (may be UITextField). The application should open up that page, preserving the view of the textfield. What is the method to follow to implement this? ...

Just want to zoom the image in its UIScrollView's contentView?

I have a UIScrollView with a number of imageViews in it. All of them loads independantly and finally the UIScrollView will gets its picture(its a tiled map). I have written touch functions for pinch gesture, single tap and double tap. But the problem is when I do the pinch gesture, it will take time for the background image to load(sin...

Creating a UISwitch Programmatically

In a seemingly never ending effort to learn more about iphone development, I have been playing around with some of the source code available through apples developer website. The particular example I am working with is Core Data Books, found here. The DetailViewController, and the AddViewController are made programatically, because there...

How to add SQLite as persistent store in CoreData?

In objective while using the the coredata concept we need to create the splite as persistent store or it will created automatically ? ...

ExtAudioFileConvert questions

Hi everyone. I'm making some progress on taking a compressed (mp3) sound and saving it as PCM. In addition, I wanted to split the original file into chunks that are 2 seconds long, within the same process. I seem to be successful, but I am a little confused as to why. As I read blocks of audio and write the files out, I check to see ...

dark screen on iPhone 3GS

Hi, I'm having problem with my application on iPhone 3GS. I've created a little game, that's working fine on iPhone 3G. But apple rejected it. They've told me, that the screen is too dark and everything's hard to see because of it. Do you have any ideas what could cause that? Thanks for every reply. I'm sorry but I'm not allowed to pos...

Adding Core Data to an existing iPhone app

I have started my application and now I want to add Core Data to my app. How can I add it? ...

Lazy loading in objective C

Hi everyone. I heard lazy loading technique quite helpful to increase the performance of the programme. I am developing games for iPhone. I am not sure how is the way to apply lazy loading in objective C. Could anyone show me the example please? Thanks in advance ...

Extracting name of RSS feed in Cocoa-Touch

Hi All, I am trying to parse an RSS XML feed. I have figured out how to parse what's in the tags for the individual stories, but I cannot figure out how to get the name of the entire feed (for example "CNN's News Feed"). I think it's in and I've tried a ton of things but I can't figure it out. Below is part of my parsing code that I...

How do i make Custom Cell as RoundRect Shape.

I have a problem with Custom Cell. I have added a Custom Cell in header view of table. I want to make Something same like in iPhone Contact Application, When you Click Edit or + button. Custom cell added Successfully but it Shows in Rectangle, rather than in form of Round Rect Shape. So need your help. Please Let me know the Solution....

How to add the data in my TwitterClient.sqlite in coredata app of objective-c

I am doing coredata app and i want to add the some data in TwitterClient.sqlite but it is created automatically in my appdelegate file like below . how can i add some data in coredata app. - (NSPersistentStoreCoordinator *)persistentStoreCoordinator { if (persistentStoreCoordinator != nil) { return persistentStoreCoordinato...

iPhone Video Rotationn

I'm using the UIIMagePickerController for video capture but after the capture I publish it on our servers and it turns out that the video is not properly oriented. But this problem only occurs when the user take's video in Portrait mode in LandScape Mode everything is simply fine. Is there any way in which I can detect in which mode vi...

NSPredicate dont work with double values (%f)?

My managed object has 2 double fields: "latitude", "longitude". I need to fetch all objects, that has certain coordinates This code not working, fetchedObjects count = 0 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"latitude == %f AND longitude == %f", coordinate.latitude, coordinate.longitude]; But this code work fine,...

Opening one app from another app without closing the app

hi, In the home page of my iphone app, there is a button added. When that button is clicked some other iphone app needs to be opened in a new viewcontroller (with out closing the parent app).There will be a back button on this view controller. When the back button is clicked, the new viewcontroller which is showing the another app needs...