iphone

Where would you place your SQLite database file in an iPhone app?

When I create initially an SQLite database file with pre-inserted datasets for my app, I would have to place this file somewhere in my Xcode project so that it goes to my iphone app. I guess "ressources" is the right place for that. What are the basic "steps" for deployment of an SQLite database file in an iPhone app? creating the db ...

Problem with Custom UITableViewCell becoming empty?

I have a grouped table view that utilizes two different custom table cells. When i scroll through the table so that one (or more) of the cells goes either above or below what is visible those cells become blank. When i scroll back up (or down) to view these cells they are still blank. Why is this? The cells showed the appropriate con...

Why does NSString property change to invalid value?

I have a property that changes to invalid as I move between viewDidLoad and viewWillAppear. I have no idea why that happens. I have a helper class that gets the path to my database. I alloc this class in the app delegate. RootViewController gets a reference to the appDelegate like this: //inside .h file @interface RootViewController...

Multiple Targets in Xcode: "Failed to launch simulated application: Unknown error."

I'm trying to build for multiple targets in Xcode, to simplify the process of creating a "lite" and "pro" version of my application. In theory, this is great and I can pass defines to GCC_PREPROCESSOR_DEFINITIONS for use in my code. However, I'm having problems actually getting it to work due to an error trying to launch the second tar...

How does Apple know you are developing iPhone apps on MacOS?

I know there is a requirement in their EULA, but I heard about people getting their apps developed on Windows into the app store. How can Apple find out, or do they even know? ...

Any good iPhone sound manager framework?

I'm developing an iPhone game and currently using AVAudioPlayer for playing background music and sounds. From what I've been reading, I'm not sure if that's the best way, but other alternatives seem to be overly complex. Is there any good open source framework that works on the iPhone and I can integrate? I only need to control the volu...

Programatically change iPhone Background

is it possible to change the iPhone background from code? ...

UITableView application crushes when scrolling way too down

Hi, When I am scrolling my table way too down, application crushes. And I cannot find where the error in code is. Here is my code: NSMutableDictionary *tableDataDictionary; NSInteger *rows_in_section; -(void) initView { if (!tableDataDictionary) { tableDataDictionary = [ [NSMutableDictionary alloc] init]; } [sel...

self.tabBarItem.title not working?

Hello, In my iPhone application, I have a tab bar. This tab bar holds a UINavigationController. I have: In Interface Builder set the tab item title to 'Create New' In the UINavigation controller I have self.tabBarItem.title = 'Create New'; and self.title = 'Create New'; In the UIViewController pushed onto the controller: self.tabBarIte...

How do you build a custom control in UIKIt?

My subclass of UIView handles touch events and updates internal values as touches begin and as tracking occurs. My view controller loads this custom view on screen. What's the best way to set up my view controller to listen for the value changes of my custom control? ...

Develop iphone apps on a non-mac system

Is it possible to develop iphone apps on a non-mac system? ...

Circular UIScrollView

I have a UIScrollView with images in it. When the user reaches the last image and swipes the finger for next image, I want to show the first image. Similarly, when the user is at the first image and swipes for previous image, I want to show the last image. In short, it will be a circular sort of a thing. How can I implement this? ...

Open source iPhone Coverflow like library

Are there any open source coverflow-like API's/libraries available for the iPhone? I've found one implementation that is licensed per application, however, I'd much prefer to go the open source route. Also, I'm interested in libraries that use only public API's as others may keep an app from getting published into the App Store. ...

Two questions regarding this iPhone UI

I'm taking a look at some basic UI principles that the mint.com team put into the iPhone application. A quick screenshot that I'm referencing is here: http://tinyurl.com/dm5j9d I have two questions regarding this UI: 1) There is an elegant space between the UITableViewCell's in which you can see the mint green background of the UITable...

SciFi-HiFi Keychain problem - SecKeychainItemRef undeclared error

I'm trying to use this class: http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code to save data to the keychain on the iPhone. I've included the header and the .m file in my application and included the security framework, however I'm still getting these undeclared errors. I can't seem to find any tutorials or help file ...

Update a tabView from within another tab?

Hi ppl.. I am having trouble with the tabBar:didSelectItem: in my app... I have 4 tabs and 1 of them is a settings tab that updates a plist file with the settings on save. What I want to do is to run an action, when another tabbar item is selected, so I can update the view with the appropriate settings. I just can't get this to work. ...

Extending UIScrollView and Monitoring Scroll Events

I'm wanting to implement some custom, reusable and efficient scroll behavior in an iPhone app so I'm extending UIScrollView with my custom control and wish to track scroll movements. Now I'm aware that I could probably assign my custom control as a UIScrollViewDelegate and internally respond to scrollViewDidScroll calls but this doesn't...

Finding duplicate iPhone apps

How do I most efficiently determine whether my idea for an iPhone app has been done already? iTunes's search isn't great for this purpose, and the websites I've seen covering iPhone apps are not comprehensive in their coverage. (Perhaps I just haven't found THE website that does it.) I'm not yet signed up in the iPhone developer program;...

what is the optimal hardware to use for iphone app building?

I have never programmed on a mac; i did program on a NeXT machine using objective-c tho. I want to learn to develop iphone apps what is the recommended optimal (read lowest cost versus best developer experience) hardware to buy from Apple for iphone development? thank you in advance. ...

iPhone game development

I have perfect 2D and 3D animation team. And we are starting iPhone game developing. So i need something to get started... something like newbie guide, open source engine with good documentation... So where is the starting point ? And one more question - is it hard to start if i am Java developer and almoust n00b in Objective C ? ...