iphone

UIWebView in a UITableViewCell - content not caching

Hello, I am displaying some HTML in table cells, but when I scroll through the table, the contents of each cell re-renders as it appears on screen. The effect is blank cells as they scroll into view, and then the content appears after a lag. Here's the pertinent code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRow...

Get number of objects in a Core Data relationship

Hi, I have a tableview with recipe. The user can add and remove recipe. When a recipe is clicked, another tableview is pushed, and display the ingredients. Same here, the user can add and remove ingredients. There is a oneToMany relationship between recipe and ingredients. Here is my challenge: I want to display the number of i...

How to detach a managed object from Core Data?

In a Core Data project, I've got two buttons on my interface (a table), one which edits the data about a person and saves it to the db, and one lets you visually fiddle around with the data without actually saving it to the db. How do I 'detach' the core data object, so that it so it won't write data to the db? I've tried to write a new...

UIToolBar single View Controllers vs Multiple View Controllers

I am using a UIToolBar with multiple UIButtonItems. These button items need to bring up a modal view controller(VC) for setting parameters via pickers sliders etc. The question is do I use a single VC for all the button items vs separate VCs for each button ? Right now I am using only one and bringing the proper subview to front hiding...

Options for game development with MonoTouch

What options are there for game developers in regards to working with the MonoTouch framework? Is OpenGL fully supported? Or just a subset? Is there any additional tools, frameworks or engines that would be compatible with MonoTouch? Would these libraries also have to be written in .NET? Do you have any other tips? Thanks all. ...

Any chance of cocos2d within MonoTouch?

After learning more about how monotouch works, I believe I know the answer to this anyway, but can you use the cocos2d-iphone framework with monotouch? I believe most likely this will be a 'no', because cocos2d is an an objective c library and there would most probably have to be some sort of .net port for this to be achieved? is that so...

UIScrollView and zooming with a subview....

I have a UIScrollView that has another UIView inside it. The inner UIView handles touchesBegan/Moved/Ended, and is expected to do things based on that when the view is fully zoomed out in the scroll view, and this works just fine UNTIL I allow the UIScrollView to zoom the content. Once I do this, and allow it to scroll around the conte...

iPhone - tabbar + view issue

Hello, I am using a UITabBar control from library in one of my view (note that I am not using UITabBarController but the UITabBar control). Now, I am adding two tabBar items to this tabBar. I have created controller class for this view (.m and .h) files and used delegates in the .h file. In the .m file I have used the following func...

How do i change color of letters of sectionIndexTitlesForTableView? is it possible in iphone???

hi I have to change the color of sectionIdexTitle for table view??how to do this? any one knows it ??please tell me?? ...

How to convert data to CSV or Html format.

In my application i need to export some data into CSV or html format. How can i do this. Any help will be greatly appreciated. ...

Issue with Annotation Views disappearing on double tap zoom

I've ran into a problem with annotation views in the MapKit on the iPhone. I manage to draw custom annotation views on the map - no problem there. I even manage to redraw them after dragging or zooming. However, there are cases where the redrawing does not work: an example would be double-tap zoom. I attach some code where I draw a few ...

customization example uitableview (grouped style)

Hello,all iphone developers I am currently developing an iphone application in which I am showing a uitableview in grouped style in one of the segments of the segmented control. My problem is that I don't know how to show a small image dynamically in the table header view. Another issue is that i don't know how to show labels and butt...

Load dynamic Image in tableHeaderView

Hi, I want to add a dynamic image in the UITableView's tableHeaderView part. For that i am writing following code : UIImageView *myImageView = [[UIImageView alloc]initWithFrame: CGRectMake(0.0f, 0.0f, ...

how to get Device Token using Iphone Application and other info about the device?

Hi, In my iphone application i want Device Token using the APN. How to get that using code ? Alos i want Other information about the Device User,its version and other info. How to get that using Code ? Is it possible to get the device other information using Device Token? what is the format of the Device Token? Please give solution ...

Deploying a web service to my Google App Engine application

Hi, We made a simple application and using GoogleAppEngineLauncher (GAEL) ran that locally. Then we deployed, using GAEL again, to our appid. It works fine. Now, we made a web service. We ran that locally using GAEL and a very thin local python client. It works fine. We deployed that, and we get this message when we try to visit our ...

doesnotrecognizeselector exception

Using NSXMLParser why does this line of code cause an exception: ushort crash = [[attributeDict objectForKey:@"a"] unsignedShortValue]; The value in the xml file is "0" if I use integerValue it works what is happening? ...

how to send email in iphone SDK?

how to send email in iphone SDK? any example tutorial to take email address from iphone also? ...

Bring iPhone Simulator to front of screen on build?

When I build using MonoDevelop using the MonoTouch framework it appears the iPhone Simulator always loads in the background, is there any way to bring this to the front instead of always having to click it in the dock to bring it up? Can't find anything in preferences. ...

Handling data migration from 'lite' to 'pro' version of iPhone app...

I am near the end stages of developing an iPhone application and will be releasing it as both a 'lite' (ad-supported) version and a 'pro' (ad-free, likely with additional functionality at some point) version. I've followed suggestions here and elsewhere about creating multiple targets, etc. and am able to build these without any problem...

why my app is crashing? UITable and controllers

I have this large table which works without errors, even if seems to me too slow compared to more complex cells i've opened from downloaded examples. The problem comes when i click a cell, then came back, in few seconds of scrolling fast the app is crashing at the line: charImage.image = [self imageForIndex:ch.charId]; If i delete it is...