I tried all this inside
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
1.tableView.backgroundColor = [UIColor clearColor];
2.cell.backgroundColor = [UIColor clearColor];
3.cell.contentView.backgroundColor = [UIColor clearColor];
It only responds to the 1st line and makes the bac...
Hello
i have used the following code to get the location of the particular place on map using the following piece of code
NSString * urlString = [[NSString alloc] initWithFormat:@"http://maps.google.com/maps/geo?key=%@&output=xml&q=%@",GoogleMapsAPIKey,[placeName stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]...
Hi guys.
I am trying to save the app state by encoding when the app terminates.
I've found the solution related this issue.
But I don't know how to use.
I am really trying to make encoding and decoding like this:
http://cocoaheads.byu.edu/wiki/nscoding
in CustomObject.h
@interface CustomObject : NSObject <NSCoding>
{
NSArray *s...
Hi:
I have a ViewController creating an instance of a UIView, and then I register an observer with the instance, such that
logoAnimation = [[MainLogoAnimation alloc] init];
[logoAnimation addObserver:self forKeyPath:@"patrocinioDidLoad" options:(NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld) context:nil];
then, in the same...
Hi there,
I was wondering if it's possible to create a HTML div container with some CSS magic that shows a horizontal scrollbar like the one with the screenshots on the iTunes preview on the web. I want this to work in Safari on the iPhone.
e.g. http://itunes.apple.com/app/super-monkey-ball/id281966695?mt=8
I would like to use that to...
Hello,
In my view I have a toolbar with a button at the top and a table view underneath, like in the following picture:
An you can see there are text fields in the cells of the table view.
The problem appears when I want to edit the tet fields which are in the bottom of the table view. As you can imagine the keyboard overlaps the tex...
I am having a class called Customer.
Customer *object; //in this object i have the following data varialbles.
object.customerName
object.customerAddress
object.customerContactList
I declared customerContactList as NSMutableArray and also allocated and initialized.
Now I am adding or deleting from contactList.
//Adding.
[object.cus...
Hi
i am implementing in app purchase i am sending request to apple store through
- (void) requestProductData
{
SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers:
[NSSet setWithObjects: featureAId,featureBId,nil]]; // add any other product here
request.delegate = self;
[request start];
}
th...
Hi,
I have set up a navigation controller ( navController ) in Portrait mode to which I push all the viewcontrollers I have. Now when a user switches to Landscape mode, I need to display all the views as a coverflow. For this I use [navController viewControllers] to get all the view controllers in the stack.
In the Landscape view contr...
I'm developping an iphone application which uses google weather api to forecast the weather. The webservice is giving me data in the following format:-
<?xml version="1.0"?>
<xml_api_reply version="1">
<weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0" >
<forecast_information>
<city data="...
I have a static library built with 3.1.3. I'm including it into an application, which I'm building with 3.2/4.0b2.
The static library contains a UIViewController subclass, which in it's -init calls [super initWithNibName:nil bundle:nil].
This method in turn calls _doCommonSetup, which corrupts one of the subclass's ivars:
0x003a68e9 ...
Hi All,
Im trying to write a method that will pull out the ID from a URI String. My code below seems inefficient, what would be a better way of finding the id string?
NSString *aID = [[[NSString alloc] initWithString:@"http://www.example.com/id368907840?mt=8&uo=4"] autorelease];
NSArray *arrStr = [aID componentsSeparatedByString:@"...
Hello,
I have added facebook's Three20 static library successfully into my project and able to view scrollview tabbar called 'TTTabStrip' which has defined in TTCatlog project. I want to now change the background color of the tabbar as Tabbar is always showing like silvertint color. How do i change TTTabStrip tabbar background color. I ...
Looking through a Window based application ive used to experiment with as a way of getting my head around core data, ive noticed that the appdelegate has the following code
myAppDelegate.h
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface myAppDelegate : NSObject <UIApplicationDelegate> {
NSManagedObjectModel *managed...
Hello guys,
How exactly filling bugs for the iPhone SDK with Apple works?
I've always seen people mentioning we should fill bugs and duplicates is their way of measuring priority, but it's not clear to me:
How to actually fill the bug;
How to flag someone else's bug as a duplicate, and;
What do I need to tell people I've filled that ...
This is a follow on from another question regarding why I could not set UIControls in awakeFromNib. The answer to that is that as you can see below the controls are nil in the awakeFromNib, although they are initialised to the correct objects by the time we get to viewDidLoad. I setup the view the same as I always do, should I be doing s...
Anyone know the solution answer for me,
I am using Tabbar Application, I hide the tab bar in my landscape view it shows the white space in the bottom of my view
Any solutions
...
Is there any MacOS virtual machine that can run on PC?
Is there any source to get it?
What is the best way to develop apps for iphone?
...
Hi
in my program i have to unzip downloaded file ... i read libz.dylib is used for that but i didn't find any documentation or examples how to do that..?
any one know this...
Thanks in advance....
...
Hi, I have a long text string (including \n newline charactersthat I feed into a UILabel for display. The UILabel is dynamically setup to provide sufficient space foor the text.
My code looks like this:
myText = [NSString stringWithFormat:@"%@some text: %@ \n \n %@", myText, moreText1, moreText2];
NSLog(@"%@", myText);
myLabelSize = [v...