iphone

How to make the Outlets in iPhone SDK 4.0 ?

Hi, i'm trying to get started with the iPhone development and viewing the Stanford iPhone talks from iTunes U. In the first demo they added Class Actions and Class Outlets to an Object. Since they used SDk 3.1 and I have 4.0 things differ a bit. I don't have these elements they have there. I looked but I didn't find anything similar. H...

Creating Nsmutable array from xml feed

hi everybody. I want to copy items in BlogEntries into my custom Nsmutable Array. The code is -(void) grabRSSFeed:(NSString *)blogAddress { // Initialize the blogEntries MutableArray that we declared in the header blogEntries = [[NSMutableArray alloc] init]; // Convert the supplied URL string into a usable URL object NSURL *...

iphone: memory question

Hello, Still new to the memory management in iPhone apps, I have a newbee question. Let say I have some method that use attributes of the AppDelegate. At the beginning of those methods, I get the delegate like: // Get delegate MyAppDelegate *delegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate]; Do I need to perform...

How can I download older version of iPhone SDK?

Hello, I've just installed iPhone SDK 4.0 and it appears that the previous version of SDK has vanished from my system. I was looking for any links to download the previous version of iPhone SDK to download, but I cannot find anything. Any ideas where I could download it? ...

compiling iphone 3.1.3 with XCode 3.2.3 ???

Hi guys I just downloaded XCode 3.2.3 with iphone sdk 4, but I need to compile my app with 3.1.3, but there is no option in the project settings for that (just 4.0 or 3.2). Is there any other possibility for me besides downgrading to XCode 3.2.2?? ...

how to use imagePickerController:didFinishPickingMediaWithInfo:(NSDictionary *)info

i have to use imagePickerController:didFinishPickingMediaWithInfo:(NSDictionary *)info method because didFinishPickingImage is depricated in 3.0. Now my problem is that i am not getting how to retrieve the image out of it.I have to select only one image and use that image in my application. Can someone please give me a quick demo of how ...

Opengl on IPhone -> Sprite with coordinate?

Hi everyone, I managed to get my sprite working with the internal accelerometer of the iPhone just like in glGravity! Now I want the sprite (2D) to work a little smoother with the accelerometer & magnetometer. Are there any tutorials out there? My main goal is to change the transformation-matrix so that i can view the sprites which ar...

What Macintosh programs are people using to create textures and artwork for iPhone / iPad development?

What Macintosh programs are people using to create textures and artwork for iPhone / iPad development? ...

Returning XML result of webrequest from one class to another class

hi friends .. i am currently designing an app that utilises a number of webservices. So i have decided to write the webservice accessing part of my code in to a saperate class and each other classes(View controllers) will utilize this class by sending URL and Post fields and the webservice class will send request to server and return th...

Using iphone accelerometer to count the number of spins when tossed in the air

I would like to have a program that build a program that uses the accelerometer to count the number of time an iphone spins (either on a table top or when tossed in the air ) any suggestions? ...

Touch Event only with the object in opengl

Hi everyone, is it possible to check if ONLY THE opengl object on the iphone screen has been touched? I can only figure it out for the whole screen, but thats not what I want :-( e.g. a coin game: we have several coins in the opengl world. if the user pressed one coin he gets a point.... and so on ;-) is this possible ? thanks marink...

Invoke the iPhones default timezone selection dialogs in an app?

Hello, Is there a way to invoke the embedded settings dialog that allows the user to select timezone? Hate to rewrite the same thing when such a good dialog already exists. Thanks! ...

EAGLContext not work on openGLES 1 iphone os

Hello, i have a 3D project based on the EAGLView exemple from Apple. I have a very stange bug with the context ( i think ), my context is create by using : [context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(CAEAGLLayer*)self.layer]; on init the 3D view it's work, and on layout subview, my frameBuffer is destroy an crea...

compute true north based on successive user location

Hi There. I'm working on an app that should include a compass (it should work on iphone 3G also). however as there is no a compass on iphone 3G i'm looking for a way to know the true north orientation based on the CLLocation returned by the iPhone. Note: the app should give as accurate as possible value even if the phone is using "cell ...

Titanium Active Tab Issue

Built in Appcelerator I am not sure if this is a bug or just bad code however, I have 5 tabs. The 5th window hides the tabgroup. I have a on click event on the 5th window to set the active tab to the 2nd (index 1) What's happening is, it's switching to the correct tab, but if I press another button both stay highlighted. One has the b...

iOS 3.2 breaks UITableView update animations

I'm trying to make a simple accordion-style menu system for iPad using a UITableView and expanding rows. The way I implement this is storing the selected index path and in heightForRowAtIndexPath: conditionally setting the row with that index to be larger. In didSelectRowAtIndexPath: I provide an empty update block so that the table wil...

Add iPhone push notification using ASP.NET server

Here's the overview. I need to add push notification to an iPhone app. Server side is ASP.NET in c#. What I would like is some coaching to work through the process. I will then post generic code for an iPhone project and an ASP.NET web app along with step-by-step instructions so that others can learn. Here is my understanding: Apply...

Accessing a Top Navigation Controller from a Subview Navigation Controller

Hello, I have a my views and controllers set up like so. A Tab/Bar controller Within 1. is a root view controller within 2. is a programmatically created navigation controller, that is displayed as a subview in the root view controller. What I am trying to do is access the top tab bar/navigation controller so that i can push a view o...

NSBitmapImageRep for iPhone (Or direct pixel access for CGImage)?

Is there a good analog to NSBitmapImageRep in UIKit? Specifically I'm looking for similar methods to setPixel:atX:y: and getPixel:atX:y:. I have found this technote, and it does get me most of the way there using CGImage, but how do I know what order the pixels are in? ...

Analytics for iPhone apps

I was wondering what are some good analytics plugins for the iPhone SDK? Would it be wise to use Google Analytics and have that hook up to the app? What are my options? Any particular strategies? Thanks ...