Finding nearby places

2009-09-07 Thread Mahaboob
Hi, I get the latitude and longitude from the iPhone using coreLocation framework. Now I need to show the nearby hotels, restaurants etc. Which api I need to use for this? I'm using iPhone OS 2.2 Thanks in advance Mahaboob ___ Cocoa-dev mailing

CoreLocation framework

2009-09-01 Thread Mahaboob
vance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

Build error

2009-08-31 Thread Mahaboob
might include its own product. I'm using Xcode 3.1 and iPhone OS 2.2. How can I fix this error? Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Adjusting UIAlertView position

2009-08-10 Thread Mahaboob
hen I tried with setBounds: then the contents in the alert view is moving to the new posiotion but, the alert view frame is remains in the same position. Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Accessor methods in Category

2009-08-06 Thread Mahaboob
:49 PM, "Graham Cox" wrote: > > On 06/08/2009, at 10:11 PM, Mahaboob wrote: > >> Is it possible to use accessor methods in category? >> I need to add one for UIButton class. >> How can I do it? > > > You can add any methods in a category. What y

Accessor methods in Category

2009-08-06 Thread Mahaboob
Is it possible to use accessor methods in category? I need to add one for UIButton class. How can I do it? Thanks in advance Mahaboob. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Generating random numbers

2009-08-06 Thread Mahaboob
if(val){ val = FALSE; continue; } else{ [array addObject:[NSNumber numberWithInt:firstNo]]; } } Thanks On 8/6/09 1:50 PM, "Alastair Houghton" wrote: > On 6 Aug 2009, at 05:59, Mahaboob wrote: >

Re: Generating random numbers

2009-08-05 Thread Mahaboob
Thanks. It is working well. On 8/5/09 10:24 PM, "Agha Khan" wrote: > Dear Mahaboob: > Many people have answered this question but I will take this route. > > First of all you only have call srandom once in you program. Best place is > when you are going to load the

Generating random numbers

2009-08-05 Thread Mahaboob
How can I do it without repeating the numbers? Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists

Building iPhone application as backward compatible

2009-07-28 Thread Mahaboob
test the application in iPhone without upgrading the OS. How can I do it ? When I'm debugging the application by selecting the Active SDK to iPhone Device 2.2, it yields a lots of errors. Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Coco

Re: Recording phone calls

2009-07-22 Thread Mahaboob
; hit the home button & launch your recording app, then you could start > recording whatever the microphone picks up... > > On Wed, Jul 22, 2009 at 10:26 AM, Roland King wrote: >> No. Not using published APIs in 2.2 (or 3.0). No access to the phone piece >> whatsoever. >>

Recording phone calls

2009-07-22 Thread Mahaboob
Is it possible to develop an application for recording phone calls? I'm using iPhone OS 2.2. Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Input for CIFilter

2009-06-29 Thread Mahaboob
Hi, I can apply almost all filter effects to my graphics except Generator and Gradient effects. I'm applying filters in drawRect: method. This method is calling a function for applying filters. This function checks all the filters in effect stack and assigns input graphics for the input key named "

Applying filter effects

2009-06-25 Thread Mahaboob
can I draw this graphic in to my canvas? Thanking you in advance Mahaboob. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.

CIFilter

2009-06-22 Thread Mahaboob
filters default values in the Mouse Down event). What is happening is :> the graphics is retaining to the previous position (position before applying the filter) and also the user controls moves to the defaults. How will I accomplish this ? Thanking you i

Drawing selection handles

2009-06-15 Thread Mahaboob
It is not sizing correctly. When I'm trying to extract the circle to right side, it goes to allover the screen or not coming to right size. Could you help me to rectify this problem? Thanking you in advance, Mahaboob ___ Cocoa-dev mailing

Re: How to set dpi of an image

2009-05-21 Thread Mahaboob
d? Is it my size calculation is right? On 5/21/09 2:09 PM, "jonat...@mugginsoft.com" wrote: > > On 21 May 2009, at 08:29, Mahaboob wrote: > >> I need to save the image with respect to the given dpi. >> I calculated the image size proportional to the dpi and saved

How to set dpi of an image

2009-05-21 Thread Mahaboob
eType properties:jpegProperties]; Is it I'm missing something? How can I set the exact dpi? Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

Opening a saved project

2009-04-28 Thread Mahaboob
I did file association and saved one project using myExtension. When I'm double clicking this saved project my application gets opened but, it not shows the contents that I were saved. So how can I get the path of the saved project when I'm double clicking it? Thanks in advanc

Re: Scheduling application

2009-04-28 Thread Mahaboob
Thanks for your assistance. The folder permission of LaunchDaemons is read only. So I can't write the plist file into this folder programmatically. How can I do it? Also I paste the plist file in to LaunchDaemons from LaunchAgents but, it is not working. I'm attaching the plist file here. Is there

Scheduling application

2009-04-27 Thread Mahaboob
? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your

Re: Accessing remote database

2009-04-07 Thread Mahaboob
On 4/7/09 3:00 PM, "Ruslan Zasukhin" wrote: > On 4/7/09 12:25 PM, "Mahaboob" wrote: > >> I need to access a MS Access database which is located in a remote location >> and I only have access to it over internet. >> >> Is it possible to acce

Accessing remote database

2009-04-07 Thread Mahaboob
I need to access a MS Access database which is located in a remote location and I only have access to it over internet. Is it possible to access MS Access database using Cocoa? How can I do it? Thanks in advance Mahaboob ___ Cocoa-dev mailing list

Re: Testing iphone application using simulator

2009-03-31 Thread Mahaboob
t; from the "Overview" menu in the main window of XCode. For some reason, > sometimes XCode switches the Active SDK - behind your back - to one of > the "Device" options when you switch from debug mode to release mode > (or the other way around). > > On Mar 3

Testing iphone application using simulator

2009-03-31 Thread Mahaboob
ks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Creating audio files in iphone

2009-02-08 Thread Mahaboob
raseFile is set, it erases an existing file. If the flag is not set, the function fails fails if the URL is an existing file. So is there any way to create audio file without erasing the existing file? Thanks in advance mahaboob ___ Cocoa-dev mailing

Re: File association

2009-01-19 Thread Mahaboob
: com.apple.textedit (0x69020080) How can I change it? On 1/19/09 10:00 PM, "Sean McBride" wrote: > On 1/19/09 10:19 AM, Mahaboob said: > >> Sorry for the late reply. >> When I'm try

Re: File association

2009-01-18 Thread Mahaboob
Hi, Sorry for the late reply. When I'm trying like that I got the result as kMDItemContentType = "dyn.ah62d4rv4ge81a6xu" I didn't understand anything from this. On 1/16/09 8:32 PM, "Sean McBride" wrote: > On 1/16/09 6:01 PM, Mahaboob said: > >> I

Re: File association

2009-01-16 Thread Mahaboob
Hi, I noticed that the problem is only with the "prp" extension. When I'm replacing it with another extensions it is working fine. But, I need the "prp" extension. On 1/16/09 11:07 AM, "Mahaboob" wrote: > > Hi, > I set the Exported Type UTIs an

Re: File association

2009-01-15 Thread Mahaboob
> > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: &

File association

2009-01-13 Thread Mahaboob
? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your

Scheduling an application

2009-01-06 Thread Mahaboob
ation? How can I add task to Scheduler? I didn't find out any document regarding this. Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: NSOutlineView

2009-01-05 Thread Mahaboob
I was created toolbar items by coding. Now I deleted it and created it by using IB. Then all are working well. Thanks a lot. mahaboob On 1/1/09 7:30 PM, "Timothy Larkin" wrote: > I don't understand what you mean by "calling this method from toolbar". How >

Re: NSOutlineView

2008-12-31 Thread Mahaboob
, "Timothy Larkin" wrote: > Perhaps the data have not yet been loaded when you try to populate the table > the first time. > > > -- > > > Timothy Larkin > > > Abstract Tools > > > Caroline, NY > > > > On Dec 31, 20

Re: NSOutlineView

2008-12-31 Thread Mahaboob
> Abstract Tools > > > Caroline, NY > > > > On Dec 30, 2008, at 11:53 PM, Mahaboob wrote: > >> I used awakeFromNib method. When I¹m running the program in debugger, >> outlineView get instantiated and shows its value ³0x14c260² and also its >>

Re: NSOutlineView

2008-12-30 Thread Mahaboob
, "Mahaboob" wrote: > I used awakeFromNib method. When I¹m running the program in debugger, > outlineView get instantiated and shows its value ³0x14c260² and also its > variables(_numberOfRows ,...) shows the value ³0² and opens the main window. > From the main window when I¹m cli

Re: NSOutlineView

2008-12-30 Thread Mahaboob
I used awakeFromNib method. When I¹m running the program in debugger, outlineView get instantiated and shows its value ³0x14c260² and also its variables(_numberOfRows ,...) shows the value ³0² and opens the main window. >From the main window when I¹m clicking the button, that opens the window conta

Re: NSOutlineView

2008-12-30 Thread Mahaboob
When I'm calling [self medialistSelectionChanged]; from - (IBAction) openMediaWindow: (id) sender, OutlineView shows 0x0 and when I'm calling the same method from -(IBAction) comboSelectionChanged: (id) sender then OutlineView shows 0x14c460 in debugger. On 12/30/08 3:09 PM, "M

Re: NSOutlineView

2008-12-30 Thread Mahaboob
I put breakpoint there but the OutlineView shows nil. On 12/30/08 2:49 PM, "Timothy Larkin" wrote: > I would put a breakpoint there and confirm that OutlineView is not nil > when you call reloadData. > > Sent from my iPhone > > On Dec 30, 2008, at 3:57 AM, Mahabo

Re: NSOutlineView

2008-12-30 Thread Mahaboob
Hi Chaitanya, I tried it then it fires the event - (int)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item and it returns 0. But when I'm selecting the same table from the popupButton then it returns the actual number of children. Why this happens? Thanks mahaboob

NSOutlineView

2008-12-29 Thread Mahaboob
outlineView in this method ? Thanks in advance Mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Uns

Re: Saving the project

2008-12-23 Thread Mahaboob
I forgot to set the delegate. Now it is working well. Thanks a lot. Mahaboob. On 12/23/08 12:29 PM, "Mahaboob" wrote: > > Thanks for the help, > Now it is working well with the menu item's action. I also need to perform > the same thing when I'm clicking t

Re: Saving the project

2008-12-22 Thread Mahaboob
an I fire close event? On 12/22/08 5:36 PM, "Mike Abdullah" wrote: > Either NSWindow or NSWindowController have a -setDocumentEdited: > method that will do what you want. > > On 22 Dec 2008, at 11:39, Mahaboob wrote: > >> In my app I used NSTextView as editor and sav

Saving the project

2008-12-22 Thread Mahaboob
n the editor get edited? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubs

Implementing Delete key event

2008-12-08 Thread Mahaboob
Hi all, In my application NSPopUpButton shows the table names in the database. When I'm pointing one table name and hitting delete key, I need to delete the table from the database. How can I implement delete key event for PopUp Button? Thanks in advance mah

Re: NSTimer

2008-12-04 Thread Mahaboob
On 12/4/08 9:41 PM, "Adam R. Maxwell" <[EMAIL PROTECTED]> wrote: > > On Dec 4, 2008, at 4:47 PM, Mahaboob wrote: > >> Hi, >> I need to fire the thread repeatedly in regular time intervals. So I >> used >> the timer like: >> ti

NSTimer

2008-12-04 Thread Mahaboob
)[txtTimeinterval doubleValue] target:self selector:@selector(myThread:) userInfo:nil repeats:YES]retain]; But it is not firing the thread. Where I got wrong? How can I do this? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Killing a Thread

2008-12-03 Thread Mahaboob
On 11/27/08 9:52 PM, "Scott Ribe" <[EMAIL PROTECTED]> wrote: >> When I'm calling the thread for second time, the animation speed of progress >> bar get increased. > > It seems pretty clear that your function never terminates. As we all have > been telling you, if the function returns the thre

Re: Retrieving Boolean from database

2008-11-30 Thread Mahaboob
r * cursor = [db performQuery:[NSString stringWithFormat: @"select * from Contact where UseDefault = YES"]]; But it is not working. How can I write the query for that ? Thanks in advance mahaboob On 12/1/08 11:54 AM, "Clark Cox" <[EMAIL PROTECTED]> wrote: > On Sun, No

Retrieving Boolean from database

2008-11-30 Thread Mahaboob
t;Contact.UseDefault"]; if(boolVal>0) [cbUseDefault setState:NSOnState]; else [cbUseDefault setState:NSOffState]; Where I got wrong? How can I solve this? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev@lists.ap

Re: Killing a Thread

2008-11-27 Thread Mahaboob
s I'm getting the error like: objc[2568]: FREED(id): message sendMessage sent to freed object=0x5eba400 Thanks Mahaboob On 11/26/08 10:50 PM, "Scott Ribe" <[EMAIL PROTECTED]> wrote: > It occurs to me that maybe you do not know about or understand the use of > the pause butto

Re: NSTextView

2008-11-27 Thread Mahaboob
Thanks On 11/27/08 4:02 PM, "chaitanya pandit" <[EMAIL PROTECTED]> wrote: > [[textView string]length]; > Thats because NSTextView inherits from NSText which has "string" method. > > On 27-Nov-08, at 3:57 PM, Mahaboob wrote: > >> Hi all, >>

NSTextView

2008-11-27 Thread Mahaboob
Hi all, I need to check whether the NSTextView contains any data. For an NSTextField, [[txtName stringValue] length] should work. Is there any method like this for a textView? Thanks in advance mahaboob ___ Cocoa-dev mailing list (Cocoa-dev

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/25/08 10:50 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > > On Nov 25, 2008, at 1:17 AM, Mahaboob wrote: > >> On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote: >> >>> >>> >>> >>>

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote: > > > > On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > >> Why can't your thread just return when it's finished? >> I'm new to thread pro

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > Why can't your thread just return when it's finished? > I'm new to thread programming. I need to kill the thread in a void function. How can I do this? > On Nov 24, 2008, at 1:02

Killing a Thread

2008-11-24 Thread Mahaboob
. But I failed to do that and my application getting crashed after sending the mail. I think I should write the code for that in - (void) connectionTerminated: method. But I can¹t able to Kill the thread. How can I do this ? I¹m attaching the code here. Thanks in advance Mahaboob Send.rtf

Project handling multiple developers

2008-11-20 Thread Mahaboob
ewtoks-mac-mini:~ Newtok$ cvs checkout first_cvs When I checkout one file and then making any editing and commit it, then the file is updating and information is enters into the Entries file. But I can't make it accessible to multiple developers. How can I do that? Thanks

Re: Thread programming

2008-11-13 Thread Mahaboob
I'm really sorry. I forgot to attach the code. Now I'm attaching it. On 11/13/08 12:14 PM, "Stephen J. Butler" <[EMAIL PROTECTED]> wrote: > On Thu, Nov 13, 2008 at 12:18 AM, Mahaboob <[EMAIL PROTECTED]> wrote: >> I'm very new to thread programming.

Re: Thread programming

2008-11-12 Thread Mahaboob
ote: > On Wed, Nov 12, 2008 at 10:38 PM, Mahaboob <[EMAIL PROTECTED]> wrote: >> When I'm calling the thread, it invokes but not going to >> connectionEstablished and other methods. >> Where I got wrong? How can I solve this?

Thread programming

2008-11-12 Thread Mahaboob
Hi, I'm working on a mailing application using Pantomime framework. I used one method to send email using SMTP, which calls a method [smtp connectInBackgroundAndNotify]; which automatically calls the connection established method, which intern calls serviceInitialized: messageSent: and connectionT

RE: Link error: _open$UNIX2003

2008-11-07 Thread mahaboob
Thanks, I managed to solve it. I build the QuickLite in Tiger. Then it is used in my project and build against Tiger. Now it is working well both in Tiger and Leopard. Thanks again, Mahaboob > Thanks for your consideration. > Now I build QuickLite as you mentioned. When the application bui

RE: Link error: _open$UNIX2003

2008-11-07 Thread mahaboob
Thanks for your consideration. Now I build QuickLite as you mentioned. When the application builds by checking Build Active Architecture Only in Build settings it is working well but, when I'm building against Tiger I got errors like: collect2: ld returned 1 exit status "_QLReco

Link error: _open$UNIX2003

2008-11-07 Thread mahaboob
I have developed a database based application using QuickLite Framework in Leopard and Xcode3.1. I need to package it as compatible with Tiger. So in build setting I configured like 1, Changed the configuration to All Configurations 2, Base SDK to Mac OS X 10.4 3, Debug information format to DWA

NSTableView

2008-11-04 Thread Mahaboob
Hi, My TableView contains some columns. I need to access all the column values of all selected rows. So I coded like: NSString*content; for(i=0;i<[tableView numberOfRows];i++) { if([tableView isRowSelected:i]) { content = [tableView tableColu

Framework stops working

2008-10-24 Thread Mahaboob
Hi all, I have been using the Pantomime framework for developing a mailing application. It was working well. But, recently it stoped working, means it is not firing the events serviceInitialized: messageSent: And connectionTerminated: It only fires connectionEstablished: event and not going furt

(no subject)

2008-09-04 Thread mahaboob
Hi All, I need to create a plug-in for safari. It should be a toolbar and when I'm installing it, it has to a prompt user to enter personal info and should be stored in same computer. When I'm using browser, where I need to fill the data on form fields. I have one more thing, when I am clicking on

Image in NSOutlineView

2008-08-29 Thread mahaboob pa
Hi all, I'm trying to develop an application that uses an OutlineView in which it displays items like a disclosure triangle, then one checkbox, then a text field int the same column. For that I gone through the DragNDropOutlineview example provided with Xcode. Then I copied the ImageAndTextCell cla

Deploying project

2008-08-29 Thread mahaboob
Hi all, I developed one application that uses some files.I can deploy the application. Now what I want is when double clicking the .app file in any system it should be installed in a specific folder like :Macintosh HD | Library | Application Support | Macware | TheProject. And also the files should

Image in NSOutlineView

2008-08-29 Thread mahaboob
Hi all, I'm trying to develop an application that uses an OutlineView in which it displays items like a disclosure triangle, then one checkbox, then a text field int the same column. For that I gone through the DragNDropOutlineview example provided with Xcode. Then I copied the ImageAndTextCell cla

Deploying project as backward compatible

2008-08-18 Thread mahaboob
Hi all, I'm using xcode 3.1. I deployed my project by changing the build configuration to Release. Now this application is working on Leopard. When I try to open the application in Tiger by double clicking it, the application icon appeared in the dock for a moment and suddenly disappeared. The ap

NSOutlineView

2008-08-18 Thread mahaboob
Hi all I'm new to cocoa. I want to display the outline view item by a disclosure triangle, then one checkbox, then text field to display the name of the nodes. I didn't find any documentation regarding this. How can I do this ? Thanks in advance. ___ C

Text Editor

2008-07-28 Thread mahaboob pa
Hi, I'm new to cocoa. I'm developing an application that converts the text into HTML and vice versa. I can convert text into HTML format but, I didn't get the code to convert an HTML contents into text format. How can I do this ? ___ Cocoa-dev mailing li

NSCollectionView

2008-07-25 Thread mahaboob pa
Hi, I'm working with NSCollectionView. I have some formated files, containing different colors and fonts, that want to be used as template. I succeeded to displayed it in the CollectionView. Now I used TextView as an editor. I want to select one item from the CollectionView by a single by highlight