Framework methods not recognized

2013-02-06 Thread James Maxwell
Hello All, I've created a framework to pull together a bunch of code I'm using regularly. When I include this framework in another project the project builds, and the methods do appear to get called, but I get "instance method <…> not found" warnings all over the place. The headers are all impo

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
I fixed the problem. My biggest concern was that I forgot that I could enter a control and not have it inadvertently change all of the multiply selected items. I saw this behavior before. Anyway, when I bind a control to an NSArrayController, I must set the control's action to "Sent on Enter onl

Re: Strange Problem Printing Multiple NSTextViews

2013-02-06 Thread Keary Suska
On Feb 5, 2013, at 6:03 PM, Keary Suska wrote: > I have a custom view on which I place multiple NSTextViews, but when printed > only the *content* last NSTextView placed actually shows up. That is, to make > sure I am placing view appropriately my NSTextView subclass draws a box > around its bo

Re: NSDocument packages and incremental writing using NSFileWrapper

2013-02-06 Thread Thomas Zoechling
> If originalContentsURL is supplied, a directory wrapper checks its child > wrappers against that directory. If a file exists there by the same name and > with the same modification date, it gets hardlinked, rather than written out > from scratch. > Certainly as of 10.8, NSDocument cunningly ma

Re: Framework methods not recognized

2013-02-06 Thread Fritz Anderson
On 6 Feb 2013, at 10:46 AM, James Maxwell wrote: > I've created a framework to pull together a bunch of code I'm using > regularly. When I include this framework in another project the project > builds, and the methods do appear to get called, but I get "instance method > <…> not found" warnin

Re: Close box not showing as dirty when the doc says it's dirty

2013-02-06 Thread Steve Mills
On Feb 5, 2013, at 19:09:54, Lee Ann Rucker wrote: > There's probably a KVO observer on isDocumentEdited; if nothing triggers > setDocumentEdited then it doesn't know to check it. > > updateChangeCount: says > > If you are implementing undo and redo in an application, you should increment > t

Re: Autoscrolling in NSDraggingDestination

2013-02-06 Thread Kyle Sluder
On Tue, Feb 5, 2013, at 10:45 PM, Kyle Sluder wrote: > Typically one calls +startPeriodicEvents… in -draggingEntered:, and calls > +stopPeriodicEvents in -draggingExited:. Hmm, I think I'm conflating -wantsPeriodicDraggingUpdates with +[NSEvent startPeriodicEvents…]. There are places in our code

Re: Strange Problem Printing Multiple NSTextViews

2013-02-06 Thread Kyle Sluder
On Wed, Feb 6, 2013, at 09:41 AM, Keary Suska wrote: > The issue is in the above lines, where I release the NSTextStorage. I was > assuming that the NSTextView would retain the text storage, which > certainly must be the case in certain situations, but clearly isn't the > case when one is construct

Re: Warning users when editing multiple items

2013-02-06 Thread Flavio Donadio
Graham and Patrick, iTunes does that on commit. If I try to, let's say, add/change/delete the cover image for several tracks, I'm reminded that I'm doing it for multiple items and have a chance to cancel. Also, when you select multiple items and "get info", the fields with different data (tra

iOS TVC graphic customization +

2013-02-06 Thread Alex Zavatone
I've been redoing a bunch of the Table View, Table View Cell GUI graphics for several of my projects in the effort to build a library of pixel perfect vector and bitmap graphics for iOS (mainly 5). Essentially replicating Apple's source graphics so that our team has a lovely set of pre-existing

Re: Close box not showing as dirty when the doc says it's dirty

2013-02-06 Thread Graham Cox
On 07/02/2013, at 5:21 AM, Steve Mills wrote: > So it's like updating that state during drawing is not allowing the window's > isDocumentEdited state to change. > > Since we do have that bug that causes non-dirty docs to become dirty during > their first draw, I'm not going to worry about thi

Re: Framework methods not recognized

2013-02-06 Thread James Maxwell
Hi Fritz, Thanks for the reply. The tricky thing about this "application" is that it's actually a Max 6 external object, so it's not officially an application, and doesn't have a .pch file (at last not in the Xcode project). They do have a config file that points to one of their support files,

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
This is a very good illustration of why someone would want such a feature. In my case, as I entered the text field of a control, I was clearing the contents of the field thus clearing the value in the items that were selected. This is not desired behavior, nor is it good application behavior. Yo

Re: Warning users when editing multiple items

2013-02-06 Thread Graham Cox
On 07/02/2013, at 2:19 PM, Patrick Cusack wrote: > It's sort of a misnomer as the control only applies changes to my multiple > items if I type anything and tab from the control. I don't have to press > return. Weird. It's not weird. Consider what would happen if it didn't do that. You wo

QR code reader/generator SDK

2013-02-06 Thread Rufat A. Abdullayev
Hello dear members I have a task for creating QR reader/generator and I would like to ask you an advice is there any free QR codes SDK that do it well and quick for all iOS devices (including iPhone 5) ? If not could you pls advice me the QR code SDK that works well and exist for iOS, Android

Re: NSTask Explodes. Clueless.

2013-02-06 Thread Chris Hanson
On Feb 5, 2013, at 10:39 AM, Seth Willits wrote: >> Does your crash log show multiple threads? I would expect that the crash log >> shows only one thread because NSTask called fork() already. > > Hmm. Yes, there's only one thread. I didn't notice that. That explains the > crash (of the forked

Re: NSTask Explodes. Clueless.

2013-02-06 Thread Chris Hanson
On Feb 4, 2013, at 11:26 AM, Seth Willits wrote: > Looking around the open source code for exec(), it appears EINVAL (22) can be > returned if the task was exec()'d when not called from a vfork()'d process, > with the comment /* If we're not in vfork, don't permit a mutithreaded task > to exec

Re: QR code reader/generator SDK

2013-02-06 Thread Alex Zavatone
For bar code scanning, I remember zlib was used last year. Don't recall if it also supported QR codes at that time. On Feb 7, 2013, at 12:49 AM, Rufat A. Abdullayev wrote: > Hello dear members > > I have a task for creating QR reader/generator and I would like to ask you an > advice is there

Re: QR code reader/generator SDK

2013-02-06 Thread Alex Zavatone
Ahh, it's late. Yes, zbar, not zlib. Thanks for catching that. #import "ZBarSDK.h" http://zbar.sourceforge.net/ "ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popularsymbologies