iphone

Change View on only one Tab in Tabbar-Application (Landscape-Portrait)?

How can I change the view when rotating the iphone (change nib's). But it should only happens in one single tab! I tried it with: - (void)viewDidLoad { LandscapeViewController *viewController = [[LandscapeViewController alloc] initWithNibName:@"LandscapeView" bundle:nil]; self.landscapeViewController = viewControlle...

Using Soap Web Services in iPhone with wsdl2objc?

Hello, I do realize this is a duplicate question, however the only other question is quite old, so I would like to know if anyone has had any recent experience with the latest version of the wsdl2objc wsdl2objc link I am doing an application that will communicate with SOAP Web services exposed by a third party application (it only expo...

Why does NSMutableArray Count crash my app?

I've ran into a problem. Everytime I'am starting my app it crashes. Heres me code. The Debugger Says: [list count] crashes the app. I have no idea. NSLog(@"%@", self.list); gives me one item as expected... if ([[NSFileManager defaultManager] fileExistsAtPath:filePath]) { data = [[NSData alloc] initWithContentsOfFile:filePath]; unarc...

Can Scrolling control an Animation ?

Hi, I have a UILabel that displays the current date for the current view of my scroll view. When I scroll this view to the left (to the left pages), I'd like this label to change to the day before, with a crossing effect between the 2 dates. I take as reference the fading effect of the Springboard when you scroll to the Spotlight page....

Help needed Using C File In Project, iPhone

Hello all, I am new to all this, but here goes: There is an apple file that I would like to use parts of for my app. It is called BatteryTimeRemaining.c. http://www.opensource.apple.com/source/PowerManagement/PowerManagement-211/pmconfigd/BatteryTimeRemaining.c I want to be able to use some of the calculations in it, the problem bein...

Missing Selector from Obj-c Three20 Library Catalog

I'm using http://github.com/facebook/three20 in my iPhone application. I've followed the instructions to include the framework in my project. I've verified it twice now (at the recommendations of people on the google group and IRC). I get the following error when some of the Three20 code attempts to use a Cataloged selector on the UIView...

How to change the space used by the battery icon on the iPhone??

I noticed that this iPhone app Reeder has a special icon on top of the battery icon. How is this done? It even does animation in that corner so I assume you can just lay an UIView on top of the battery? Also a side question, how do you overlay a texture on top of NavBar and the bottom Toolbar? Noticed how the bars are not exactly black,...

I don't apply setFrame:CGRectMake.

[Button1 setFrame:CGRectMake(0, 0, 50, 0)]; [Button2 setFrame:CGRectMake(0, 0, 120, 0)]; [Button3 setFrame:CGRectMake(0, 0, 50, 0)]; self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:Button1]; self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:Button2]; self.navigationI...

How can I properly implement JPImagePickerController in my code?

I've had some issues trying to get the JPImagePickerController working in my code. Anyone find any guides on how to do it (I can't find a single one)? Thanks. ...

Redoing UITableView layout when user taps Edit button?

I have a UITableView with complex content. The user can edit (rearrange and delete) the cells when tapping the Edit button the standard way. But I want the cells to look different in "edit" mode. Question: How to change the UITableView Layout in edit mode, including changing row height? So far, this is what I have: The Edit button se...

mpmovieplayer - can I do an end run?

I would like to be able to display a video on the iphone screen - preferably in a view so that I can control its display coordinates. I want to be able to load the view and overlap and partially overlap a subview ... is any of this feasible? I have read that mpmovieplayer is the only method for video display (and is full screen)? Any...

Accessing web data for use in application?

I am looking to write a simple iPhone application to access some sort of data off the web. I was thinking something like the temperature in LA, the amount of snow in Vancouver etc. basically something that changes over time. Can anyone give me any pointers with regards to the current ways you can access variable remote data off the web f...

iPhone Localization Korean, Japanese Codes

How do I find the localization codes for Korean, Japanese, German? I want to localise my app in these languages. Does it matter what code I use in Xcode? When I add a new localizable.strings file? There's an option "Add new Localisation". Korean & Japanese are not listed. Does Xcode need a specific localization code for it to wo...

When do I initialize a view controller with initWithNibName?

I'm coding in Objective-C for the iPhone. I was wondering when I use init: and when I use initWithNibName:bundle: when creating a view controller. I can't really find an answer to this question. Thanks. ...

NSXMLParser foundCharacters method did not parse the elements without end tags

I am new to iphone development.I am parsing a xml page .The xml page concist of many elements inside the parant element < entry > .When parsing inside the NSXMLParser foundCharacters method i gave a print statement to print The "currentElement". It does not print all the elememts between the< entry > and tags.It just print only some 13 ...

How to get a unique identifier for a protocol object

I'm trying to make a dictionary store a map of delegates that correspond to a protocol. I need some consistent key that represent a protocol. For example the following gives me a protocol object Protocol * one = @protocol(SomeProtocolDefinedEarlier); And it responds to [one hash] but the hash isn't the same each time you get a proto...

How do I display and calculate numbers from a database on iPhone?

I am new to designing apps and have a basic understand of Ob-C and how everything works. What I would like to do is have two tabs, one is a home screen that displays numbers and percentages that are entered on the second tab. The user will be able to store that information and refer back to it and update it. What is the best way to co...

UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath: Exception

Hey all, i actually dont see my error: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; FriendTableViewCell *cell = (FriendTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell ...

iphone messages app. How can I build something similar ?

I want to build some thing very similar to the iphone messages app that comes by default on the iphone. I am not sure of what UI elements that i should be using to build the conversation view of the messages app. How are the balloons created and how are they placed in positions. What UI elements are used to create the balloons ? I am ...

Why does my boolean value stored in Core Data not show up immediately?

Hello all, Ive been working on a list app where core data is used to persist a checkmark Everything was fine till xcode crashed. No code was changed but now instead of a checkmark showing up immediatly you have to click the row, quit the app, then relaunch it to get anything. This is the code along with an other question of how I got the...