Re: iOS Drag and Drop

2017-06-13 Thread Michael Dautermann
> On Jun 13, 2017, at 9:11 AM, Dave wrote: > > Hi, > > Can someone point me to some documentation of Drag and Drop for iOS please? > > I done loads of searches but can’t find a brief intro and some Sample Code. > > I’ve not been working on iOS for some time and things seem to have changed >

Re: PDF viewing

2011-10-05 Thread Michael Dautermann
On Oct 4, 2011, at 4:26 AM, Dan Hopwood wrote: > Hi all, > > Is there any way to open a PDF without using a UIWebView i.e. like the Mail > app? Another way to do it would be via lower level calls in Quartz 2D (which is available in iOS). You could load the document via CGPDFDocumentCreateWit

Re: Question to support File Version in 10.7

2011-09-23 Thread Michael Dautermann
On Sep 22, 2011, at 6:32 AM, Yingshen Yu wrote: > Hi, > > I'm working on adding File Version support to my application. It's not Cocoa > document based app, so I have to add version support on my own. My question > is when should I add a new version? I know I should add a file version when > us

Re: iPad

2011-09-23 Thread Michael Dautermann
On Sep 23, 2011, at 12:27 AM, koko wrote: > I have been approached to develop an iPad app with subscription content. I > hav elooks at the iOS Development start page > (http://developer.apple.com/ipad/sdk/) > but I do not see anything about these kind of apps. > > Where can I learn best prac

Re: Scroll view within scroll view blocks scrolling

2011-04-28 Thread Michael Dautermann
On Apr 28, 2011, at 8:07 PM, Indragie Karunaratne wrote: > I have resized all my text views so that all the content is visible without > vertical scrolling, and I have disabled the vertical scroller on its scroll > view. I would remove it from the scroll view entirely and avoid this issue, > b

Re: Scroll view within scroll view blocks scrolling

2011-04-28 Thread Michael Dautermann
On Apr 28, 2011, at 7:12 PM, Indragie Karunaratne wrote: > Despite the confusing title, I'm sure this is an issue that someone else has > run into before. I have a parent scroll view that houses a bunch of subviews, > including an NSTextView (and its own scroll view). The problem is that if I

Re: onSocketDidDisconnect in CocoaAsyncSocket

2011-04-28 Thread Michael Dautermann
> > I started to use CocoaAsyncSocket to establish TCP connections among iPads. > > I got a problem. According to the references ( > http://code.google.com/p/cocoaasyncsocket/wiki/Reference_AsyncSocket), > onSocketDidDisconnect would be invoked immediately if the connection is not > already disco

Re: NSTextView with custom space width

2011-04-21 Thread Michael Dautermann
On Apr 18, 2011, at 5:37 AM, Дмитрий Николаев wrote: > Hi to all! > > I need to implement custom separator with custom width between two part of > paragraph in text view: > > AA A BBB B B > > This is separator must be included as non-editable character. So user can't > delete i

Re: getting metadata from iPhone photos

2011-04-21 Thread Michael Dautermann
On Apr 20, 2011, at 2:55 AM, Simon Gislen wrote: > How do I get details of a photo taken by the iphone? I want to know the > time/date the photo was taken and get where it was taken via the GPS details > for > an application made by xcode. Start with the ALAsset class (described at

Re: How call upper layer function

2011-04-19 Thread Michael Dautermann
On Apr 19, 2011, at 4:50 PM, Rodrigo Zanatta Silva wrote: > Lol, sorry for making your life hard :P > > let's write better. (Will be a problem in your computer with this font in > e-mail? ) I don't believe fonts/styles make it through onto the mailing list. At least I didn't see any special f

Re: Find network mounted DVD's

2011-04-19 Thread Michael Dautermann
On Apr 19, 2011, at 10:52 AM, P Teeson wrote: > Thanks for your suggestion. > I did look at all the sample projects and know about that approach. > But it does seem somewhat inelegant. > Am I missing something available using IOKit? The code you had in your original post looked just as straight

Re: Find network mounted DVD's

2011-04-19 Thread Michael Dautermann
On Apr 18, 2011, at 10:35 PM, P Teeson wrote: > In an app I am working on I have the below code to detect physical DVDs > attached to the computer. > But I have not had success in figuring out how to find LAN mounted DVD's > Can someone please point me to the correct documentation or suggest a

Re: Are the Mac international resources available publicly?

2011-04-13 Thread Michael Dautermann
On Apr 13, 2011, at 4:30 PM, Motti Shneor wrote: > Hi. > > In our program, we need to let the user choose a country code from a list, > just like you choose input source from the language menu. > > I was wondering whether these well designed and pretty-complete lists of > countries regions an

Re: Determine Error from Webview loadRequest

2011-04-11 Thread Michael Dautermann
On Apr 11, 2011, at 8:04 AM, Jeffrey Walton wrote: > > I should have mentioned. I working with local files per "Using > UIWebView to display select document types", > http://developer.apple.com/library/ios/#qa/qa1630/_index.html. if you set your view controller to respond to UIWebViewDelegat

Re: CFXMLTreeRef

2011-04-08 Thread Michael Dautermann
On Apr 8, 2011, at 7:29 PM, koko wrote: > I am adding an iOS target to an existing project. > > I am getting the errors: > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/WebServicesCore.framework/

Re: How to Distinguish Between Two TableViews

2010-10-18 Thread Michael Dautermann
On Oct 17, 2010, at 4:29 PM, Chris Share wrote: > I'm new to Cocoa. I'm developing a simple application that contains two > TableViews. What I can't figure out is how to distinguish between the two > TableView pointers that are passed in to: > > - (int)numberOfRowsInTableView:(NSTableView *) t

Re: Modifying the Window Menu

2010-08-19 Thread Michael Dautermann
On Aug 18, 2010, at 5:56 PM, Peter Zegelin wrote: > My app allows the user to create a number of sub windows for each document. > > I would prefer the layout to be more like Xcode where the sub windows of a > project are added below the main document entry and indented: > > > MyDoc > SubW

Re: redraw problem

2010-07-29 Thread Michael Dautermann
On Jul 29, 2010, at 1:26 PM, Tony Romano wrote: > I have a document based Cocoa App and I am trying to understand what is > causing these residual lines to happen. Attached is a link to what I am > referring to. The solid blue lines are the new lines after they have moved. > The greyish line

Re: real verses Virtual memory

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 8:24 AM, jon wrote: it loads a website, to see if there are changes to the website, it then does a lot of work, the large memory things, like the "webView" are just one instance, and are not deallocating... (uses just that one instance over and over again, not ma

Re: real verses Virtual memory

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 7:37 AM, jon wrote: I have an app that run's a process every 20 seconds during the day... is there a way to force it to use real memory rather than virtual? because it runs every 20 seconds, and is defaulting to normal memory allocation, it has a lot of disk swapping

Re: NSURLRequest

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 7:36 AM, DKJ wrote: I've got an NSArray that I initialise with data from a plist stored on a remote webserver. I've been doing it like this: NSURL *url = [NSURL URLWithString:@"http://www.server.com/ data.plist"]; NSArray *myArray = [NSArray arrayWithContentsOf

Re: Hiding a running application

2009-06-26 Thread Michael Dautermann
>My app does some processing at quit time that can take a few minutes, so I >thought it would be nice to remove the gui from the user¹s attention so they >don¹t think they can still interact with the program just because there is a >window and a menu visible. So, I hide the main window and the men

Re: Ideas required on testing an application install

2009-06-25 Thread Michael Dautermann
On Thursday, June 25, 2009, at 11:04AM, "Ramakrishna Vavilala" wrote: >I just finished converting (rewriting) a windows application to work >on Mac OSX. I made a package for my application. Now I want to test it >on a clean machine. >What kind of strategy should I use to do same level of test

Re: kern/locks.h

2009-04-07 Thread Michael Dautermann
>I'm working on a project for the iPhone > >original it was c++ based and has the following lines > >#include >#include > >It comes back with >No such file or directory > >Yet I have >Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/locks.h >Library/Frameworks/Kernel.framework/Versio

Re: NSString and special characters

2008-08-22 Thread Michael Dautermann
On Aug 22, 2008, at 4:00 AM, Vladimir Sokolov wrote: But when I pass for example >...myapplication test$test param1 got "testest" instead of ""test$test" It means as I understand that $ is interpreted as special character. $ usually expands (or allows access to) a variable in a shell. Try

Re: File Extensions Problem

2008-08-22 Thread Michael Dautermann
On Aug 22, 2008, at 2:29 AM, Adil Saleem wrote: Hi, I want to display in a tableview, list of all media files (audio, video files) present in a certain directory. Currently what i am doing is that i am getting the file names in an NSMutableArray using NSFileManager function directoryCont