iphone

iPhone and Apple's developer documentation

Hello guys! Why I can't read the Apple's developer documentation from my iPhone? I open the documentation and I can't scroll. Why is that? ...

Linking of UITable Objects to URLS in xcode

In xcode, how do I link an object to a URL so that when a user taps the object, it automatically links him to the URL. I already have a table view with some objects on it ...

What's a good approach to implement a smudge tool for a drawing program on the iPad?

At a high level (or low level if you'd like), what's a good way to implement a smudge affect for a drawing program on the iPad using Quartz2D (Core Graphics)? Has anyone tried this? Thanks so much in advance for your wisdom! UPDATE I found this great article for those interested, check it! ...

iphone - will the retain property propagate on an array?

I have a mutable array that has been retained. This array contain dictionaries with lots of keys. Each dictionary contains objects. Do I have to retain the dictionaries before adding them to the mutable array or will the array itself retain everything that is added to it (because it is already retained), including the sub objects of it...

Is it possible to have UITabBarItem without image, but with bigger text instead?

Is it possible to have UITabBarItem without image, but with bigger text instead? e.g.: to have text with full height? ...

Is it bad practice to create unique view controllers for different tabs that do essentially the same thing?

Ok so basically I have a UITabBarController as my root view controller. I have three tabs that will all have UINavigationController objects nested in them, controlling three table views each. Each mode will access the same database in the same way, but just sort by different variables. Very similar to the way the iPod app works - whethe...

Adding Images in a TableView in Xcode

I tried to add images with the size of 32 by 32...it worked but it shows me only the first image for all the objects on the table view... In other words only image for all the other objects ...

Animate only one part of the panel instead of the whole screen using JQtouch

Hello, I have a code in which I need to animate (flip) only the top part of the panel if the user clicks on the top or the bottom part of the user clicks on the bottom and leave the other panel stationary. The HTML code: <div id="about"> <div class="toolbar"> <h1>About</h1> <a class="button back" hr...

Xcode iPad or iPhone Build Size Question

Had a question and if anyone has found similar issues. It seems my file size keeps growing. I have had to import existing files and then delete them from the project. It seems that it keeps those files somewhere. From being 40mb and importing a few .WAV files at 30mb each it goes up to 100mb. After I deleted them it seems it doesn't chan...

this class is not key value coding-compliant for the key

Hi, After having spent hours trying to solve a little problem of mine, I come to you for an ultimate try to fix it. I'm trying to link a UILabel with an IBOulet created in my class. That's something so basic you ask yourself why I need help ? Everytime I build my application, it crashes on the label screen saying "this class is not ke...

The application is not installed on iPhone it requires newer version of iPhone os

HI...i have the Xcodes of 3.1.3 and 3.2.2 and 4.0 on my mac. i developed an application with project format - Xcode 3.1 compatible... my device's OS is 3.1.2 its .. when i tried to install the app, iTunes is showing the above message. please tell me where would be the problem. Thank in advance ...

cocos2d and box2d .. creating map and worlds

So my question is really about creating different levels in my game. I am using cocos2d and box2d and right now I have a lot of code that actually constructs my world and I can't do pane or stuff like that coz honestly i don't know how.. So any tips and pointers for beginner to create world with static object and then I can add my own ...

Quartz PDF API Causing Out of Memory Crashes

I'm having crashing issues using the Quartz PDF API for iOS. At the moment I am compiling with the SDK 4.0 GM Seed and running on my 3.2 iPad (I have tried using the 3.2 SDK with identical results). All the code I am using is based on the standard Apple Quartz documentation and from various sources around the internets. So I can't image...

iPhone Linking to an iTunes page

I found a page (http://itunes.apple.com/linkmaker) to get the iTunes url for a specific page which I assume should direct the user out of my app and into the corresponding page in the app store. I have never done this or any other UIWebView stuff but after some searching I found some code that I thought would work that uses UIApplicatio...

Support legacy iPhone users

Now that iPhone SDK 4.0 is available for download, and iOS 4.0 will be available for consumers shortly, does it make sense to start using the new features available in the 4.0 OS? My primary concern is that using the 4.0 features mandates that end users also update their phones/ipods to 4.0. While this process is pretty painless, is it...

How can i check update database in core data

Hi I am new in iphone app, i am just trying out some apps. I am trying to add more data in my database, i just want to see where it is stored and my database updated or not. ...

Best way to handle graphics on iPhone game

I will be writing a game and a friend will be doing all the graphics. What is the best way to handle the graphics in the game? We dont want to draw things, we will have all the images done before the time. Which is the best way to have these images displayed? I have read and looked at tutorials on opengl es and see that they are all...

Is it possible to detect DPI in iPhone OS, or Android?

I'm doing some research on making a game that will be able to scale its graphical resources to suit the DPI of whatever device it's on. In order to do this, I would like to be able to query the DPI of the device, to appropriately scale the assets. It's a 2D game, and the art style suits arbitrary scaling quite well. example of what I ...

Is it possible to set inputView for UITextView in iPhone SDK 4.0

setInputView: is still presented in the both UItextField and UITextView classes. But the below code shows different results for 3.2 and 4.0 SDKs. I have installed latest (GM) SDK version. About xCode -> More info shows Xcode: 3.2.3 (1688), SDKs: iPhone OS: 3.2: (7B367), 4.0: (8A293) iPhone Simulator: 3.2: (7W367a), 4.0: (8A293) There...

Newb ObjC Question re: BOOL property on a class

@interface... BOOL nameIsValid; @property (nonatomic) BOOL nameIsValid; @implementation... @sysnthesize nameIsValid; -(void)someMethod { nameIsValid = YES; } -(void)anotherMethod { if(nameIsValid){ ... } } Why does my if statement always evaluate to FALSE, even after the someMethod is called? ...