iphone

iPhone App Upload - CodeSign Missing?

Hi, For a long time now I have been searching through the forum whilst teaching myself the delights of iPhone programming, and I thank you all for the massive number of questions you have unknowingly helped me with! I seem to have come up against a brick wall regarding the upload of my finished application to Apple and would appreciate...

how to add contact from the aplication?

i want to add contact number,name etc from the my application.Is it possible?If yes then please help me. ...

Setting a limit to a fetched property in Core Data

Hi I have a one to many relationship between two objects, lets call them Gallery and Images. Each Image belongs to a Gallery and each Gallery has many Images. I would like to add a fetched property to my Gallery model which would return one and only one Image object. Is there a way to do this with fetched properties? ...

CoreData (for iphone) storing images

i wonder if its a wise choice to store images with core data into binary property say i have a collection of movies and i want to save the image dvd cover into a property the avg size of a cover is 20/30kb (320x480px) the reason i want to do this is for storage management, once i delete the movie i know the image is also deleted i'm j...

GKPeerPickerController and GKSession

we can connect by bluetooth only iPodtouch or iPhone using GKSession and GKPeerPickerController right ? , or can we connect other bluetooth device ? ...

Extracting content from the string which has html tag in it in objective-c

I am new to iphone development.I am having a string which has HTML tags in its content.I want to filter the tag and save the content in another string. Ex: NSString *HTMLData = @"<h1>Hello this is a test</h1>"; I want to filter the header tag and set the content to another string like NSString *actualData=@"hello this is a test" or...

iphone sdk addressbook - get ABRecordRef

hi in the method - (BOOL)peoplePickerNavigationController: (ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person { im trying to simply access ABRecordRef as a variable, but i keep getting the error expected expression before 'ABRecordRef'. I can already get names and compan...

Unable to show a UITabBarController from a NIB-file

I've been trying to learn iPhone development by making a sample app, and now I'm stuck trying to get a UITabBarController to be shown. I have an custom view Controller with the NIB -file containing the Tab Bar Controller: In my controller's .h I've defined an IBOutlet for the UITabBarController: IBOutlet UITabBarController *tabContro...

How to remove all annotations from mkmapview without remove the blue dot IPHONE

Hi all, i would to remove all annotations from my mapview without the blue dot of my position, when i call: [mapView removeAnnotations:mapView.annotations]; all annotations are removed.... in wich way can i check (like a for loop on all the annotations) if the annotation is not the blue dot annotation?? thanks in advance.. ...

PDF Making with Rotated Image for iPhone

I'm having problems with drawing rotated images on PDF, my output is worse. My case is, we don't know have any fixed co-ordinates. X,Y, rotation, etc. depends on ImageView itself. I select the ImageView and rotate it through Sliders. Check on ZOSH application. I need to implement functionalities like that app. I want to make PDF by add...

Parse .strings file with Python

I'm trying to write a small Python script to parse the .strings file in my iPhone application project and determine which keys might not be in use. I'm, also doing some string matching to filter out some of the results. This is where my problems start :). If I try something like for file_line in strings_file: if 'search_keyword'...

iPhone free -> tier one upgrades (Main Bundle setting?)

My app has been free since the beginning, I uploaded a new version and set it to Teir 1 pricing. People who updated got it for free for some reason, only new downloads by new users were charged. Did I miss something in my main bundle to ensure that upgrades are not free? ...

UINavigationController and adding a badge to rightBarButtonItem

Hi, How can I add a numeric badge to the rightBarButtonItem of a UINavigationController? I saw the same in some shopping cart applications. thanks in advance, ...

Table Contents not Visible Until Table Scrolls

I am new to iphone Development. I am parsing XML into a mutable array of strings which displays dynamically in a table. I am not able so see the content in the table but as soon as I scroll down the contents are displayed. Please help me out.Thanks ...

How does iPhone development compare to Symbian development?

Having spent several years doing Symbian C++ development, I'd like to know how iPhone development compares to Symbian development. I am interested in answers from people who have spent some time working on both platforms. To clarify: Examples: How do the following compare: Symbian C++ vs Objective C - the former is yuck IMHO. Symbi...

iphone / objective-c how to check to see if a textfield is empty

I have a typical textfield in an iphone app, and in ViewWillAppear I would like to do a little logic using the text in the text field. If txtField.text is empty, I would like the next textfield, txtField2 to be selected for typing. I am trying to achieve this through : if (txtField.text != @"") [txtField2 becomeFirstResponder]; but ...

What values to use in my 3D-space

Hello, This is not really a functional problem I'm having but more a strategic question. I am new to 3D-programming and when looking at tutorials and examples I recon that the coordinates are usually between -1 and 1. It feels more natural using integers as coordinates, I think. Is there any particula reason(s) why small float-values...

Ignore CDATA while xml parsing

I am new to iphone development.I want to ignore CDATA tag while parsing because it consider the HTML tag following it as text.Since i want to display the content alone ,i want my parser to ignore CDATA tag.My source code is [CDATA[<br /><p class="author"><span class="by">By: </span>By Sydney Ember</p><br><p>In the week since an </p>]]. ...

NSString converting percentage characters

Hi, I have an NSString *str = @"T%B3%C3%83"; where %C3 represents A with an umlut (I think), %B3 an m, %83 a superscript 3... What is the best way to convert these percentages into the actual characters. Thanks. ...

Objective C - convert array of objects (with date field) into dictionary of arrays (keyed by day of week)

Hello, I have an NSArray of DiaryEntry objects, where each DiaryEntry has an NSDate date_ field. I want to display all of the DiaryEntrys in a table view, grouped by the day of the week, where each group is sorted by date in ascending order. So, I need to take the NSArray, and convert to an NSDictionary of arrays, where the key is the...