iphone

Security.framework interoperability

I have a situation where we have some server side data that is generated with a ruby script. That data is signed using the Ruby OpenSSL module like so: def sign_string(string) Base64.encode64(@private_key.sign(OpenSSL::Digest::SHA1.new, string)); end That data eventually ends up on an iPhone, where I would like to verify it using th...

possible to release viewcontroller.view without releasing viewcontroller?

I have a viewcontroller which can't be released since it is a subclass with extra functionality... Anyway there are many of them, and I need the views to be released when they go offscreen. removeFromSuperView vanishes the views but they remain in memory. The only way I can get rid of the view from memory is to completely dealloc it. ...

Best iPhone framework for 2D platform games

Which framework do you suggest for building a 2D platform game for the iPhone? I only need to move assets around the screen and detect collisions etc. I would think OpenGL. But maybe Quartz 2D is enough? Or is there something else I should be aware of? What are advantages and disadvantages of each? I guess there is a longer learning cur...

Saving Array to PList from downloaded content in table view on iPhone

I copied these posts from a forum where I posted recently, but got no reply. I have the base for my code all setup, it is a drill down table with navigation controller which loads data into a nsmutabledictionary from a plist with some empty values, on purpose. On command the app then downloads information which is then set, setValue, in...

iPhone application installation

hi i am not a member of iPhone developer, i installed one iPhoneOS 2.2 in my computer, and i developed one application. and i created it as a .ipa file and i installed my iPhone but it is not working. i am sure i am not a iPhone developer, not register in iPhone developer. is it that problems. ...

UIView animation didEndSelector: method not getting called?

I have a UIView that is moved into view. After 2 seconds, I'd like to move the UIView out of view again. How do I do this? I have tried the below, but it doesn't work :( I have setup the NSLog, but it doesn't look like it's finishing and then calling the loadingViewDisappear: method :( Thank you. ... [UIView beginAnimations:@"Anim...

Styling the cancel button in a UISearchBar

I have a UISearchBar that has a cancel button (it's displayed using -(void)setShowsCancelButton:animated). I've changed the tintColor of the search bar like this in an attempt to get a grayish searchbar: UISearchBar *searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0, 320, 40)]; searchBar.tintColor = [UIColor colorWithWhite:...

Animating image

Hi all i have seen app "AllRecipies" in which when we add item to favourites there is animation of Image.I know this is done using CAKeyframeAnimation for the movement of image.But during animation image is rotated or translated.How to get this effect.What type of animation do i need to use. ...

sign up iPhone dev

1) can we test our own iPhone application with out Sign up in iPhone Dev Center ?. 2) i am not signed up in iPhone Dev Center ( with paying $99 ), but i developed one iPhone application, it i can't to test my iPhone. is it happened becoz of not signed ? 3) in my application i developed using iPhoneOS 2.2, but in my iPhone Firmware ...

ebook framework for iphone

Hi, I've got a book that I'd like to publish as an app for the iphone. Does anyone know of a free (or cheap) framework that I can use in order to achieve this? In other words, I want to create a standalone XCODE project for my book that includes all the code needed for an iphone user to read the book as a standalone app. I have seen ...

Reading filenames from iphone application folder

i write some image files in to iphone document folder. then i have to retrieve that files name in an array. please post some code. ...

Default height for section header in UITableView

I want to set the height of the first header in my UITableView. For the other headers I want them to remain the default height. What value/constant can I put in place of "someDefaultHeight" in the code below? - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { if (section == 0) return kFi...

UITableView doing strange unplanned animation when added to view hierarchy

Hi, I'm currently trying to add a table view to my view hierarchy and am experiencing strange behaviour. The TableView seems to animate from a CGRectZero to its frame, visually seeming to spill onto the page. I am initializing with a frame of {{0,0},{320,367}}, which I have confirmed by Logging out to the console. This could be a nice e...

CoreData error while saving: "binding not implemented for this SQLType 7

Hi, i am new to Core Data and my model is to complex to describe it here, sorry. My App fetch many small amounts of data from the web and store it to the core data entities. The saving is fine sometimes, but sometimes there is an NSInternalInconsistencyException with this description binding not implemented for this SQLType 7 T...

Creating the Iphone MapKit showUserLocation Ring Annimation

Anyone know how of an approach to re-create the animation that mapkit uses on the showUserLocation ? Would you do it with a series of images or a single image that is then expanded and faded out? ...

Best way to communicate iphone with mac?

I have some apps in mind to control things in my Mac from the iPhone. Probably the simplest thing to do would be to make the iPhone simulate a keyboard and then handle key events on the mac. What do you think it's the best way to communicate iphone with the mac? Can I use GameKit for that? HTTP? ...

Arrange UILabels along circle

I have several UILabels which I would like to arrange in a half-circle, i.e. the left-most would be rotated 90deg counterclockwise, the middle one moved up and is not rotated, the right-most is rotated 90 clockwise. Any ideas on the best practise to achieve this? Or is better to draw the text in the view and forget about UILabels? ...

Sending an email from a UITextfield

Hello, I'd like a user to be able to enter a string into a textfield, press done, and have the data emailed to my inbox, but I have no idea how to go about doing this. Could somebody describe the basic steps I need to look into, things I need to learn, recommend tutorials, sample code, etc. I would like to avoid opening the mail app if ...

Is there any in built calendar view in iPhone sdk.

Hello, I want to invoke a calendar as the calendar application does in iPhone. Is there any inbuilt framework which will help or we have to built the whole calendar on our own. ...

iPhone SDK 3 EXC_BAD_ACCESS with openldap library

Hello, Hope someone can help me, I am trying to build openldap for an app on my iPhoneOS3 but when I try to use something from the library I get this error : Program received signal: “EXC_ BAD_ACCESS”. I followed this website to compile openldap with iphone gcc. So I built openldap with this : export DEVROOT=/Developer/P...