iphone-sdk-3.0

Importance of SQLite in iPhone Application Development

Hello All... I am in iPhone Application Development since last few months only.. So, I have working with some applications, and in all of the applications i used to follow the SOAP web service methods to get the data in my applications. I have heard something on SQLite, but have lots of confusion regarding important of it. So, if any...

IPHONE - how to load videos from the library?

Any application can access the library and camera roll and get pictures from there. There's any equivalent way to get videos instead? I mean, to show a list of all video files the user has on the device and let the user select one, playing that one after that? thanks for any help! ...

Since the iPhone MapKit doesn't allow geocoding (address -> lat/long), would it be allowed to query maps.google.com directly?

For example, you can make a request like http://maps.google.com/maps/geo?q=1600%20Pennsylvania%20Ave,%20Washington%20DC@&output=csv and simply get the response 200,8,38.8987480,-77.0366260 So I guess the only question is whether Apple would approve this in an app. Or is there a better way? ...

How to set selected segment index in UISegmentedControl? (iPhone SDK)

Hello all! I'm trying to avoid an app crash here... I have a button that will remove a segment from a UISegmentedControl. If that button is pressed and the user has the segment to be removed selected, the segment will remove and no selection will be highlighted. However, when another button is pushed that does an action that retrieves t...

Organizer reporting, "The version of iPhone OS doesn't match iPhone OS supported for development"

Hello, Earlier this week I was developing to the device just fine. I upgraded itunes to the latest version (9.0.2 (25)) and I noticed that Organizer was throwing the: The version of iPhone OS on “sk’s iPhone” does not match any of the versions of iPhone OS supported for development So I figured I'd upgrade to the newest XCo...

iPhone : Transfer of files from Mac/Pc to app

I need to transfer binary files from my pc/mac to my app. I want to allow my users to upload sound files. Am i going to have to run a web server that the user can connect to over wifi? What are the steps i have to go through to get this up and running? ...

String truncated in Core-Data on iPhone

I have an Entity (Article) with an Class defined at xcdatamodel. In this class i defined an String NSString *test; currentArticle.test = string; String is more than 50 characters long. But when i try to fetch the Stored Object with: Article *article = [fetchedResultsController objectAtIndexPath:indexPath]; then article.test is tru...

How to make tile turnaround animation for iPhone app

Hey all I am making a memory type game on iPhone, I would like to know what would be the best way to make an animation of tile turning around to reveal what is on the other side. So user would tap a tile and animation would start turning the tile around. Thanx for suggestions Ladislav ...

Error when pressing back button

Hi, I have a navigation based app with views that allow edit of text fields if I click on a text field and then press the back button before the done button I get. CoreAnimation: ignoring exception: * -[CALayer setContactTelephone:]: unrecognized selector sent to instance 0x3c2f280 by textFieldDidEndEditing method does run, it attemp...

compile raw .rsc file into my iPhone app

I am porting an app from palm to iPhone OS and would like to use .rcs files from palm port. These files contain large amount of raw hex constatnts, that have to be hard - coded into app. When I try to compile my .rcs file in xCode, compile goes successfully. Does this mean I can embed these files into app and access the data? If yes - pl...

Using the UIImagePickerController image editor seperately

When you are using an UIImagePickerController, you have a property called allowsImageEditing, which makes it possible to zoom in/crop/etc a picture, after you picked a picture (from camera or library). I would like to use this editor just with an UIImage as a source, the images are loaded from the internet and I want the user to be able...

Subclass of UIViewController initialising itself from a .xib can't use UINavigationItem?

Hi all, I've finally had to give up the relentless search for an answer to this question, as I just can't find anyone that's asked it before! So hope someone can provide some insight. I'll start by explaining what I can do, then compare that with what I can't figure out how to do. Suppose I have a custom VC called RootViewController. I...

iPhone view hierarchy question: How do I draw views over the tab bar?

I am having some trouble with view hierarchies and drawing on the iPhone. To be more specific, I have a tab bar application with a certain tab that contains a table view where I would like the selection of a specific cell to have a UIPickerView slide up. The sliding isn't really a problem (or at least I'm assuming it won't be once I fig...

Jumping effect on Mac OS X and iPhone

Hello guys! There is an animation when something gets done in Mac OS X. You know the animation on dock, when an icon is jumping. Is there a way to do this on iPhone with a UIButton? If yes, please give me the start. I know a way with cocos2D, but I think it can be done with core animations too. Thanks in forward! ...

Connecting to server using bonjour in Objective-C

Hi, I am relatively new to iphone development. I have looked through the documentation and cannot really find an answer to this problem. I have a server which I have created and know the ip address and the port it is using. I am now trying to connect to this using an iphone application I am creating. Through the documentation there are...

iPhone Objective-C Placement of NSNotifications

I have a fairly complex iphone application that has many asynchronous processes occurring. To deal with this I'm making heavy use of NSNotification Center. My question is what is the "best practice", if such a thing exists", for registering the notifications? Right now they sprinkled through my code in a hap-hazard way. I'm about to ...

Switch boolean through UIButton

Hey, I'm a newbie to iPhone dev... I want a boolean Variable which switches between YES and NO when I click on a UIButton. Really easy I think ?! But I weren't able to find anything. :( Thx :) Sebastian ...

Merge image and audio to make movie file using iPhone SDK

Is it possible to merge an image and audio file to create a movie file (like a .avi) using the iPhone SDK? If so does anyone know how? ...

iPhone Core Data objects added to NSMutableArray

I am trying to have a bunch of Core Data objects (NSStrings) be added to an NSMutableArray so that I pickerView can use the strings as its data values. Currently I am able to save strings from a textField one at a time into the sqlite file, in Core Data. I am having trouble pulling those Objects back out of the Core Data sqlite file an...

TableViewCells - Static Row Content

Hey, in the Apple Documentation: http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html There is an example (please scroll down to "The Technique for Static Row Content"). I built the three cells and linked them etc. and they are displayed when I built & go...