Populating NSTokenField

2009-09-29 Thread vince
Thanks for the assistance ... How can I populate the contents of a tokenField object with multiple tags at application startup? -v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li

Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?

2011-08-14 Thread Vince
While this certainly is a nifty feature (thanks Chris, hadn't known about that yet), it's in no way a replacement for having proper live in-editor previews of your actual interface objects. While it allows you to save a couple of lines of code per object, it at the same time—instead of giving yo

Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?

2011-08-16 Thread Vince
On Aug 16, 2011, at 5:46 AM, Kyle Sluder wrote: > We are back to bothering engineers in order to get turnaround on some > of these aspects of our applications. Is it an insurmountable burden? > No. But we saw an opportunity to improve our workflow and our products > by giving more power to our UX

Wrap to Page method

2009-07-05 Thread vince
Can someone point me to documentation that refers to methods that control Wrap to Page and Wrap to Window functions for a standard text editor? thanks. v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Removing the Filename flag in Doc. based Application

2008-05-23 Thread vince
thanks. How do I set my document based application to omit the filename reference at the top of each opened document window? thanks again. v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment

tile opened windows

2008-05-29 Thread vince
I have a doc based app that at times requires multiple opened docs. I'd like to add a 'tile windows' menu option that places the docs in some sort of random checkerboard-styled order on the display. Is this a major task? thanks. v. ___ Cocoa-dev mailing

Saving NSTextField value

2008-05-31 Thread vince
I have a current date and time method that returns a result in an NSTextField. -(IBAction)returnCurrentDateAndTime:(id)sender { NSCalendarDate *current; current = [NSCalendarDate calendarDate]; [mDateReceiver setObjectValue:current]; } I need the date to remain static indefinitely [af

Modulus calculation

2008-06-01 Thread vince
I need to state whether a modulus value = zero. For example: if (textField.floatValue % 10 == (0)) { What's wrong with my syntax? Thanks. v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

set posterImage in QTKit?

2008-07-21 Thread vince
Thanks , Is there a Cocoa method to set and save the current frame of a QT Movie as the poster frame? -v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Predicate Binding Format/case sensitive question ...

2008-07-28 Thread vince
Thanks, I've added a search field to my database using bindings. Works fine. How do I alter the following Predicate Format binding syntax ... entry contains $value ... so that text search inputs are NOT case sensitive? thanks again, v. ___ Cocoa-d

Bindings to simulate spreadsheet functions in NSTableView?

2008-07-30 Thread vince
thanks, I have a tableView with two columns. Column one lists arbitrary input numbers. Column two lists monetary (dollar) vales. I want to display the total running sum of column one in a textField and the dynamic (total) monetary value of column two in a separate textField at the bottom of the app

Core Data saved doc compatibility issues ...

2008-08-01 Thread vince
I'm building a doc based Core Data application using bindings. Question about this error: "The document "New-db.sqlite" could not be opened. The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store." I receive thi

Token Field tags selected when raising panel window ...

2008-08-06 Thread vince
I have a token field in a drop panel that I am using to store keyword search tags. When I raise the panel all previously saved tags are selected. Clicking within the field alleviates the problem. All is working fine. It's mainly an aesthetic issue. is there something that I can do to prevent this?

applicationShouldOpenUntitledFile question

2008-08-11 Thread vince
I'm using the following to allow the user to run my NSPersistentDoc application with or without opening an empty document at launch (set with a check box preference setting). I want to add a second optional preference that runs the previously opened (saved) document. I think I need to use the sane

Core Data Basic Model Problem ...

2008-12-17 Thread vince
Thanks for the help. I've built a basic Core Data doc based application with two tables and and a search box. So table one at the left has one column that includes "categories", and table two includes associated, searchable data. Two array controllers with relationships defined in the data model.,

Core DataTableView Column Sort at launch with bindings?

2008-12-22 Thread vince
Thanks for the help ... Is it possible to set up my Core Data doc application's Bindings so that upon launch my mainColumn header is selected and the column is pre-sorted (ascending) without implementing code? thanks again. vince. ___ Coco

Re: Core DataTableView Column Sort at launch with bindings?

2008-12-22 Thread vince
perties to: Ascending Sort Key: nameColumn Selector: caseInsensitiveCompare: Now the column Header is selected when the application starts up and the nameColumn remains sorted in ascending order. -v. On Mon, Dec 22, 2008 at 4:12 PM, vince wrote: > Thanks for the help ... > Is it po

Single Heading in TableView Source list ...

2008-12-26 Thread vince
Thanks for the help, I want to add a single heading to a tableView source list. Can someone point me to an example? thx. v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Con

Re: Single Heading in TableView Source list ...

2008-12-26 Thread vince
I found it ... http://developer.apple.com/samplecode/SourceView/ thx. v. On Fri, Dec 26, 2008 at 8:12 PM, vince wrote: > Thanks for the help, > I want to add a single heading to a tableView source list. Can someone > point me to an example? >

Display Mail type outlineView numbers

2009-01-05 Thread vince
Thanks for the help. I would like to display the small blue circle and associated numbers that refer to the amount of entries in an outlineView group. Documentation? Thanks. I'm not sure what to search for ... v. ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: [OT] Localizing an App or Plugin

2009-02-02 Thread Vince
http://www.blue-tec.com/locsuite/ On Feb 2, 2009, at 4:34 PM, development2 wrote: I need to get all the textr from my app and plugins. Most of the text is in .string files so that is easy. But how do I pull the text form the UI in my .nib/.xib file to go out for translation? Then how do i

Questions regarding programming custom visual components

2009-02-02 Thread Vince
Hi there, I hope someone in this list can give me a hint on these issues/ questions: (Note: all for OSX 10.5.x+) 1. Can I add elements to an NSWindow's title bar (without having to rebuild the entire window on my own)? In my case I'd just like to put an image right underneath the window's

Simple single file renaming application ...

2008-11-19 Thread vince
Thanks for the help ... I want to build a simple single file re-namer. Just a window and a textField that displays the current filename, and a text Field and Save option for the edit. So right click a file/"open with" ... the app runs and loads up the current file name prepared for the edit. D

Array Controller Add method question

2008-12-06 Thread vince
ta and the user clicks the Add button the table's lowest row activates. The user is forced to scroll down to the very bottom of the table prior to entry Thanks again. vince ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Problem setting a Core Data Document Icon

2008-12-10 Thread vince
the newly saved files. Am I missing a step? Thanks for the help. vince. ___ 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

RTF pasting as plain text in NSTextView in some cases

2008-02-28 Thread Vince
ce or insight into this problem, - VInce NeXT RTFD pasteboard type NeXT Rich Text Format v1.0 pasteboard type Apple HTML pasteboard type NSFilenamesPboardType CorePasteboardFlavorType 0x6D6F6F76 Apple PDF pasteboard type NeXT TIFF v4.0 pasteboard type Apple PICT pasteboard type NeXT

Re: RTF pasting as plain text in NSTextView in some cases

2008-02-28 Thread Vince
iated, Vince On Feb 28, 2008, at 2:45 PM, Kyle Sluder wrote: On Thu, Feb 28, 2008 at 11:32 AM, Vince <[EMAIL PROTECTED]> wrote: Hi, My NSTextView has strange behavior when pasting: The rich text is pasted as plain text when the material has been copied from Safari. When the same materi

Re: CGContextSelectFont spinlock

2010-09-15 Thread Vince DeMarco
Roman); Why not just CGContextSelectFont(context, "Comic Sans MS Bold", 24.0, kCGEncodingAscii); I changed the encoding from MacRoman to Ascii since it is actually ascii. You are creating a Constant NSString with the @"" then turning around and asking it for the UTF8 repre

Re: kABHomeLabel … and companions

2012-09-21 Thread Vince DeMarco
On Sep 13, 2012, at 7:45 PM, Erik Stainsby wrote: > Hello folks, > > So the AddressBook framework's xxxLabel keys render out as strings encoded > like so: _$!!$_, _$!!$_, _$!!$_ Is there framework > method I am meant to use with the property keys kABHomeLabel, kABWorkLabel, > etc, to rende

Re: What is the status on the New Cocoa 2.0 Books?

2008-03-12 Thread Vince LaMonica
FYI I talked to the publisher tuesday and the Cohen book, "The XCode 3 Book" has been canceled :( /vjl/ On Wed, Mar 12, 2008 at 8:48 PM, Gary L. Wade <[EMAIL PROTECTED]> wrote: I know hillegass is doing one but has anyone a date on it ? And might there be others ? Barnes and Noble shows a p

Re: Getting immutable UIImage data pointer without copy?

2017-11-15 Thread Vince DeMarco
will notice how powerful it really is. Vince > On Nov 14, 2017, at 8:37 PM, Rick Mann wrote: > > > >> On Nov 14, 2017, at 20:18 , Jens Alfke wrote: >> >> >> >>> On Nov 14, 2017, at 8:11 PM, Rick Mann wrote: >>> >>> Maybe,

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-17 Thread Vince DeMarco
n't use the generic color space use sRGB for both. Like this instead colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB); Vince > > >> On Nov 17, 2017, at 06:54 , Steve Christensen wrote: >> >> It sounds like you're looking at image f

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-17 Thread Vince DeMarco
> On Nov 17, 2017, at 1:45 PM, Rick Mann wrote: > > > >> On Nov 17, 2017, at 13:36 , Vince DeMarco wrote: >> >> >> >>> On Nov 17, 2017, at 1:28 PM, Rick Mann wrote: >>> >>> Nope, I'm definitely looking at pixel

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
Looking at the info. The size is larger because the application icons are now included in the Assets.car file. When you target a newer version of OSX, the icons will NOT be stored as .icns files in the file package but instead they will be in the assets.car file Vince > On Jan 24, 2018,

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
Please file a bug with apple, and post the radar number here. Please include a simple test project that shows the nib changes. Vince > On Jan 24, 2018, at 1:23 PM, Dragan Milić wrote: > > On Jan 24, 2018, at 20.56, Jeremy Hughes wrote: > >> Vince has explained why it does

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
There isn't, if you would like one please file a bug with apple requesting this. Vince > On Jan 24, 2018, at 1:24 PM, Alex Zavatone wrote: > > I think I may have asked this before, but is there a tool or command line > available to unpack these assets.car files so that we c

Re: NSImage to JPEG file?

2019-01-14 Thread Vince DeMarco
Use ImageIO. create a CGImageDestinationRef and add the CGImage to it. Vince > On Jan 14, 2019, at 12:17 PM, Carl Hoefs > wrote: > > I have a background macOS daemon process (aka Foundation-based "command line > tool") that needs to write out a JPEG file to loca

Re: UIImagePickerController and 48-bit photos

2019-01-15 Thread Vince DeMarco
ce again it should be ImageIO that will deal with all of these images. ImageIO can read Raw images, i don't know what 48bit images are but if you can read them on the mac in Preview, that means imageIO can read them and can read them on an iOS device Vince > Thanks, > -Carl > > &g

Re: Cocoa-dev Digest, Vol 16, Issue 1

2019-01-15 Thread Vince DeMarco
there should be examples. Vince > On Jan 15, 2019, at 2:35 PM, Bruce Stephens wrote: > > Any chance to see those few lines of code for NSimage ImageIO to jpeg? > Thanks. Bruce. > >> On 16 Jan 2019, at 7:00 am, cocoa-dev-requ...@lists.apple.com wrote: >> >&