iphone

is that required to create svn from terminal if we have already another svn?

hellow All, i am working with a subversion , first time it created from terminal. Now i want to work with another subversion so can i create the subversion from xcode or again need to design from terminal again ? Could any one help me in this Thanks ...

iPhone SDK 3.2 and UIAppFonts

I've added my custom font to UIAppFonts and it's loaded just fine: (shows up in [UIFont familyNames] ). When I manually set the font in viewDidLoad { [myLabel setFont: [UIFont fontWithName:@"CustomFont" size: 65.0]]; } everything works and the font is rendered. However doing the same thing in IB doesn't (some other default font is use...

navigationproblem

I have problem .. i get debugerror i will used in json Category *selectcategory = [[data categorys]objectAtindex:indexPath.row]; productlistviewcontroller *plviewcontroller = [[productlistviewcontroller alloc]initwithNibName:@"productlistviewcontroller" bundle:nil]; plviewcontroller.category = selectedcategory; [self.navigationcontroll...

Using Navigation Controller in a subview of View based Applicatin

Some one please help me with this. I am developing an iPhone app and have stared with View Based Application. I have buttons on my root view screen to take user to other views with their own nibs and classes. On one of those views I need to display a table getting data from SQLite database and then display detail of the selected item dep...

How to decleare custom protocol in iPhone

Hi, I want to use a protocol, how can we implement it in iPhone. ///In POCViewController.h #import @protocol BasicAPI -(NSString*)hello; @end @interface HessianPOCViewController : UIViewController { idbasicAPI; } @end /// // In POCViewController.m // In Some method NSURL* url = [NSURL ...

how to create iPhone main menu screen with 2 tabbars subview ?

Hi. I made two applications that each one of them is tabbar based. Now I want to combine them to one app that will be struct like that: -Main menu with 2 buttones. - button 1: tab bar app no 1. - button 2: tab bar app no 2. from each tab bar app, I want an Home button on the left side of the nav bar that will take me to the main men...

Converting a navbar to a tabbar app

Hey guys, I was wondering how to convert a NavigationController style app into a TabBarcontroller style app. I changed my mainwindow to not contain a navigationcontroller anymore (but a tabbarcontroller instead) and my delegate also appropriately, but when I launch the app something still thinks I want a navigationController: Termin...

getting at a UIButton with the tag property IPhone

Hey There, I'm having a little trouble using the tag property to access a UIButton UIButton *randomButton = [[UIButton buttonWithType:UIButtonTypeRoundedRect ]]; randomButton.frame = CGRectMake(205, 145, 90, 22); // size and position of button [randomButton setTitle:@"Random" forState:UIControlStateNormal]; randomButt...

Using a Data Management Singleton

Here's my singleton code (pretty much boilerplate): @interface DataManager : NSObject { NSMutableArray *eventList; } @property (nonatomic, retain) NSMutableArray *eventList; +(DataManager*)sharedDataManager; @end And then the .m: #import "DataManager.h" static DataManager *singletonDataManager = nil; @implementation DataMana...

AVaudio Player Problem

Hello,I am using Avaudio player in our app.I play the song from list after playing when i back to list for selecting another song then fist one is also playing. I want to stop previous song and then play the other song. Please help me. ...

swipe detect in iphone?

nyone having swipe detection code snippet?? if user swipe one strings than ,i want to play an audio file. hope m clear with wat i want..... regards shishir ...

IPhone: Select all text in a textview

I'd like to implement a button that basically selects all the text I have in a textview for easier editing. How do I do so? ...

iPhone view architecture question

So I have (for instance) three views: A: root view B: a view functionally identical to root C: a data entry view which collects a few piece of info What I'm trying to do is reuse C to supply the data it collects to either A or B. It should supply the data to whichever of the two it is pushed onto. The data for A is similar, but functio...

Fix keyboard orientation in landscape iPad app (upside down keyboard)

I'm converting a landscape (UIInterfaceOrientationLandscapeRight) iPhone app to be a universal app. So far I've got the orientation working properly: the iPad version will launch with the right splash graphic and start in the right orientation (LandscapeLeft or LandscapeRight) depending on how the user is holding it. But: when I trigge...

Using NSThread to solve waiting for image from URL on the iPhone

So I have the following code in a method which I want to set a UIImageView image to that of one from an online source: [NSThread detachNewThreadSelector:@selector(loadImage) toTarget:self withObject:nil]; Then in the method called by the thread I have this: - (void) loadImage { NSURL *url = [NSURL URLWithString:logoPath]; // logo...

Disable touch of CALayer

Hello, How can i disable touch of CALayer (UIView Layer). i have create springbord screen display icon. and i have display 27 icon on screen and i want to disable touch any five icon (i.e. 2 and 3 index icon). gridView = [[UIView alloc]init]; //[gridView setUserInteractionEnabled:NO]; int gridH,gridW; for (int row = 0; row <Row; ++...

Selected UItableViewCell staying blue when selected

When I push a view after a user has selected a UITableView row, the row gets a blue highlight, and then the new view appears. That's fine. But when I go 'back' the row is still highlighted in blue. Here's my didSelectRowAtIndexPath code. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { Se...

iphone coredata fetch-request sorting

I'm using core data and fetching the results successfully. I've few questions regarding core data 1. When I add a record, will it be added at the end or at the start of entity. 2. I'm using following code to fetch the data. Array is being populated with all the records. But they are not in the same order as I entered records into entity....

Checking Dependencies Internal error occurred while creating dependency graph: ASSERTION FAILURE

hello i am getting this error i am using 3.1.2 please help me Checking Dependencies Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1204/pbxcore/NativeBuildSystem/XCDependencyNode.m:396 Details: command should be an instance inheriting from XCDependencyCommand, but ...

I Used GData to retrieve the Google spread sheet data and i build the application successfully on the simulator .

But when i tried to build it on the device(iphone) it is giving some error . That is i got the error like this : "_OBJC_CLASS_$_GDataServiceGoogleSpreadsheet", referenced from: __objc_classrefs__DATA@0 in spreadsheetViewController.o and "_kGDataGoogleSpreadsheetsPrivateFullFeed", referenced from: _kGDataGoogleSpreadsheetsPrivateFull...