iphone

How to parse the content of the tag with attribute in iphone?

I am new to iphone development.I want to parse and retrieve a particular content from the HTML file at the url.I have a sample code from this link http://blog.objectgraph.com/index.php/2010/02/24/parsing-html-iphone-development/ NSData *htmlData = [[NSString stringWithContentsOfURL:[NSURL URLWithString: @"http://www.objectgraph.com/...

Posting Tweets from Iphone App

My app has three text fields: 1) Username // Initialization code usernameTextField = [[UITextField alloc] initWithFrame:CGRectMake(20, 5, 280, 30)];//usernameTextField released usernameTextField.placeholder = @"Username"; usernameTextField.textAlignment = UITextAlignmentLeft; //Username text field usernameTextFi...

UINavigation/TabBar transition animation

How can I use UIViewAnimationTransition type in one of UINavigation/TabBar transitions? thanks ...

iPhone Keychain

I can't get the KeychainItemWrapper (Apple example) to work. I've added the KeychainItemWrapper files to my project and when running it on the phone, an exception is thrown by SecItemAdd, saying that one or more parameters were not valid (result code -50). The code triggering the SecItemAdd follows: KeychainItemWrapper* wrapper = [[Keyc...

Old Binary, New Provisioning Profile?

Do I really have to rebuild my iPhone application every time I update my ad hoc provisioning profile? The only thing changed is the list of devices allowed to install/run the application. With other words, it is possible to distribute the old application with the new provisioning profile? ...

What is the different between using separate view and include all view in a xib.

Maybe I clarify my question this way. I want the Window load a view. After I click the MainWindow.xib, I can drag and drop a View in it. The View can make relationship between itself and window. It loads successful. The second way is create a new view Xib. What is different between these two ways? Thz ...

Missing Core Data Notifications

I'm trying a multithreaded Core Data implementation on iPhone SDK 3.1.3. I have two different NSManagedObjectContext objects for each thread and I am registering for the change notifications on one thread like below: - (void)setup { DLog(@"Registering for NSManagedObjectContext notifications"); NSNotificationCenter *nc = [NSNoti...

Calculation Conundrum - how do I influence another textfield?

Hey! Basically I have a problem in that when certain parameters are used in my calculator app - it makes the result incorrect. The issue is that I have separate text fields for hours and minutes and say for example I have as the start time "13" in one text field and "30" in the other with the finish time "24" and "00" in their respectiv...

Customizing File Linkage for a Build Configuration (Not Buil Target)

I have a project that has several build configurations (FREE version, male-only, female-only, etc.). I am avoiding using multiple build targets because (A) the products are mostly all the same and (B) I don't want to have to do checkbox-management to keep every file I have included with all the targets. However, I have just a few files...

How to recreate UIViewController stack?

I'm writing a 'load' feature for my current iPhone app. Practically what I want to do is get the user back where s/he left off. To do so I want to recreate all the UIViewControllers appeared before. My problem is the UIViewControllers won't appear if I simply call [[self navigationController] pushViewController:newController animated:Y...

OBJ-C: Call an instance of core-plot graph from separate view controller

I'm using a view controller i.e. ViewController:UIViewController and have another class GraphViewController:UIViewController . How do I call an instance of GraphViewController and place it into my ViewController? I am currently trying to call the plot within my ViewController directly, but I want to make the graph modular so I don't hav...

How to add RegexKitLite framework?

I am new to iphone development.I want to add RegexKitLite framework.I have downloaded the source file but i am not able to add the framework in my project.Please help me out.Thanks. ...

iPhone UITableViewController and Labels related.

I have a UITableViewController List showing text containing hyperlinks and I have a label which displays hyperlinks in a special manner so that they are clickable. I want that, when a user clicks on any UITableViewCell then the label would turn on the links in clickable form and when the user scrolls the UITableViewController List the L...

Network reachability on iPhone

Hello guys! Maybe is there a good way to determine if I have an internet connection or not? (3G or wifi) Thanks! ...

Resources check

hey I am frequently uploading my XCode iPhone projects to an svn repository to be build on another machine. My problem is that when I add resources to my project sometimes I forget to add the resource as relative to the project. I know one answer is to be more careful (not easy when your tired!) but if there was a way to run a script t...

Clear tableView cell cache (or remove an entry)

Hi, I have the same question problem as described here http://stackoverflow.com/questions/2286669/iphone-how-to-purge-a-cached-uitableviewcell But my problem can't be solved with "resetting content". To be precise - I use a custom cell (own class). While running the application it is possible that I have to use a different "cell type"...

Javascript won't execute in iPhone Safari

I'm running into this issue only because I recently purchased an iPhone. The javascript for a picture carousel on my website (http://www.stuartmeyerphotography.com) won't execute in Safari for iPhone. I thought it worked on Mac Safari last I checked with a friend who had a Mac (a year ago), but now I need to go back and check that too ...

issues make a persistent object in Objective C

Attempting to make a NSObject called 'Person' that will hold the login details for my application (nothing to fancy). The app is made of a navigation controller with multiple table views but I am having issues sharing the Person object around. Attempted to create a static object like this: + (Person *)sharedInstance { static Person...

Intercept small circular delete button in UITableView

Hi I want to modify my table view cell apparence when the delete button came in. When it appear after swipeing i can intercept it with this method -(void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath the problem is that this method is not called when I'm in edit mode and i press on the sma...

Problems Executing iPhone "GenericKeychain" Example

I can't get apple's "GenericKeychain" example to run. I have replaced all 5 occurrences, as mentioned in the readme file, of "YOUR_APP_ID_HERE.com.yourcompany" with my own string: se.[company name].[project name].demo. The compilation goes fine but when trying to run it on the phone, an error saying "The executable was signed with invali...