1 if (cell == nil)
2 {
3 [[NSBundle mainBundle] loadNibNamed:@"TVCell" owner:self options:nil];
4 cell = tvCell;
5 self.tvCell = nil;
6 }
There's some code from an Apple example of using your own "custom cell XIB" to create cells in a UITableView.
It appears to work... but I think I would do better to actually UNDERSTAND wh...
Hi,
I want to create and sell book / cartoons by individual episodes.
What's the best way to to this? iBook from the apple store tends to sell by entire volume / book... I see an App from Marvel sells its contents by individual episodes, but I don't want to create / maintain shopping carts and stuff. (I am assuming iPad / iPhone users...
Hi friends,
I am making a book application. To move to the next topic I am using a button. The Button works as it moves to the next topic, but at the end of the file my application gets the message obj_fatal and it crashes. If I knew how many objects there are in my NSArray then the problem will be solved. I am getting the details from ...
An accelerometer related question. (Sorry the formatting may not look right, its the first time I am using this site). I got the accelerometer working as expected using the standard code
UIAccelerometer *accel = [UIAccelerometer sharedAccelerometer];
accel.delegate = self;
accel.updateInterval = 0.1; //I also tried other update values...
Any methods would be useful! (to clarify: by render, I mean create, not playback)
...
Hi I am new in iphone. I want developing a application that we can capture image from iphone camera.
How to do this i am not understand. Plz help me how to do this with source code and link where we can read this.
...
Hi all,
I am developing an iPhone application which I need to distribute to an organization of about approximately 50 people, no. of users can increase or decrease in future.
I checked my iPhone developer account, there I got that I can distribute my application via Adhoc Distribution up to 100 iPhone or iPod touch users. So I think it...
Hi,
I have 1 UITabelView
I'm giving time to each and every row in cellForRowAtIndexPath: method
but when i'm doing up and down the UITabelView,at that time time overlaps of row from oneanother.
...
I am trying to follow the Apple's recommendation to handle low-memory warnings (found in Session 416 of WWDC 2009 videos) by freeing up resources used by freeing up my dataController object (referenced in my app delegate) that contains a large number of strings for read from a plist:
- (void)applicationDidReceiveMemoryWarning:(UIApplica...
Hello everyone
I hope manually trigger the event viewDidUnload (unload an viewcontroller).
Is it possible?
Thanks
interdev
...
I am working in a app where i have data in UITableView. It is like a drill down application. User will click on a row and will go to next page showing more records in a UITableView. But problem in my case is that i dont know upto how many level user can drill. The number of levels are not fixed. So now i am thinking to create and add the...
Hello,
m
I have a UIView which contains a zoomable uiimageview and also another semitransparent uiview on top of that.
What I am trying to achieve is to be able to zoom the uiimageview while keeping the semitransparent view static and not zoomed.
If I add the semitransparent uiview on top of the uiimageview (which is added to the UIS...
how to use UITableViewCellStyleSubtitle and UITableViewCellStyleValue2 in 1 row with cell's text property not UILabel
...
I am trying to encode some data state in a UITableViewController. In the first time, I init the object with Nibname without any problem. However, when I initWithCoder, the UITableViewController still loads but when I clicked on a cell, the application crash and the debugger tells me about EXEC_BAD_ACCESS, something wrong with my memory, ...
Hi,
I am writing a sample PHP Web Service that is sending GET Http request from the iphone to the web server. The server side code is returning JSON Data to iphone, the server side code looks like:
function getUsers(){
$con=mysql_connect("localhost","root","123456") or die(mysql_error());
if(!mysql_select_db("eventsfast",$con))
{
...
Hi,
In my application I want to retrieve the information of user iPhone device about the settings relating to Alaram/Bell etc and add all those information in my label which I have created prior.
So that we can proceed in my program further.
please help me out its urget.
Thanks in advance.
...
I am trying to compare the current url in webView with a defined url say google.com
so in theory..
NSURLRequest *currentRequest = [webView request];
NSURL *currentURL = [currentRequest URL];
would give us our current url...
NSString *newurl = @"http://www.google.com";
this would give us the compared to defined url
while (!cu...
I am trying to recreate the selection behaviour as seen in the built in iPhone Voice Memo App.
That is, in the voice memo list view, when the user selects an item, and there is already another item selected, the touch down doesn't select the cell immediately, but on touch up the previously selected cell is deselected and the new cell is...
The enterprise distribution in iPhone 4 beta is supposed to be easier. Companies can host their own servers with the apps instead of distributing through iTunes.
I am looking for technical information on how to do this. Can someone refer to the documentation/online details regarding this?
Thank much.
...
I want to add an image using the cell.imageView setImage: method. However, depending on field from an array (in the form of an NSString and called using [dog types]) I need the image at the left-hand side of the cell to change to an image which reflects the type of dog.
How do I go about doing this? Thanks.
...