Re: xCode troubles

2019-05-14 Thread Totte Alm
Hi, yes, has been a pain the past weeks, needs to quit XCode 10 times a day (unless it doesn’t crash first) / Totte > 14 maj 2019 kl. 12:39 skrev Peter Hudson : > > Hi All > > xCode has just decided ( for the 20th time this week ) that I don’t deserve > any UI tools in Interface Builder - a

Re: Register media source to system

2017-10-23 Thread Totte Alm
> 23 okt. 2017 kl. 22:47 skrev Jens Alfke : > > > >> On Oct 22, 2017, at 11:39 AM, Totte Alm > <mailto:to...@code66.se>> wrote: >> >> Om Mac OS X (not iOS), I need to take video and/or audio from input >> devices(like built in iSigh

Register media source to system

2017-10-22 Thread Totte Alm
Hello List, I’m looking for pointers to “where to start looking”. Basic problem is: Om Mac OS X (not iOS), I need to take video and/or audio from input devices(like built in iSight ot FaceTime cameras), found using the standard AVCaptureDevice.devices(); and then make it available for other app

Re: NSNumberFormatter negative and NSWindowsLatin1

2014-08-09 Thread Totte Alm
> - Peter E > > On Aug 7, 2014, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote: >> Message: 5 >> Date: Thu, 07 Aug 2014 08:43:04 +0200 >> From: Totte Alm >> To: "cocoa-dev@lists.apple.com List" >> Subject: NSNumberFormatter negative and N

NSNumberFormatter negative and NSWindowsLatin1

2014-08-06 Thread Totte Alm
Hello, In 10.9 I (or a client really) just stumbled upon a weirdness regarding NSNumberFornatter (Swedish default settings), where a negative number is transformed to a string and that string is later written to a file using NSString Write.. The - sign (minus) that NSNumberFormatter puts int

Re: PDFDocument, ARC and 10.9 question

2014-01-23 Thread Totte Alm
struments, but running debug mode in XCode it throuws the __cxa_throw exception. I've never in 25 years of Mac development had a problem the only surfaces under the debugger. The opposite is more common though, but trackable ;-) / Totte > > On Jan 17, 2014, at 4:22 AM, Totte Alm

Re: PDFDocument, ARC and 10.9 question

2014-01-17 Thread Totte Alm
d reference? I run in XCode both with and without zombiew hunting mode and nothing shows in Instruments, which I've used to trap several other results of GC -> ARC failures. / Totte > > On Jan 17, 2014, at 4:22 AM, Totte Alm wrote: > >> Hello again, >> >>

PDFDocument, ARC and 10.9 question

2014-01-17 Thread Totte Alm
Hello again, Still debugging my CG -> ARC move and I'm stuck with one problem that I just can't understand. DEBUG SNIP WHERE THIS HAPPENS _thePDF = [[PDFDocument alloc] initWithData:_data]; // test- if (_thePDF) { @try { *CRASHES HERE* -> [_thePDF writeToFile:[NS

Re: NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
9 jan 2014 kl. 17:26 skrev Ken Thomases : > On Jan 9, 2014, at 6:27 AM, Totte Alm wrote: > >> I'm moving an older but large inhouse application from 10.6/32-bit/GC to >> 10.9/64-bit/ARC. >> It uses an internal auto update functionally where the app can store itse

Re: NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
there is other info that I need to display like who issued the update and when etc etc. Maybe I can "pilfer" some functionality but it feels like I've solved everything (years ago) and it works except this "issue". / Totte > > > On Thu, Jan 9, 2014 at 7:27

NSWorkspace launchApplication and gatekeeper

2014-01-09 Thread Totte Alm
Hello, I'm moving an older but large inhouse application from 10.6/32-bit/GC to 10.9/64-bit/ARC. It uses an internal auto update functionally where the app can store itself into the database when it detects it is a new version, then the other users will get "update reminders" to download the la

10.8, Prefs Pane and Frameworks woes

2012-08-03 Thread Totte Alm
Hello, About seven years ago someone had figured out how to load and call frameworks from inside a System Prefs Pane plugin, I've used that technique for a solution for a client ever since. They never jumped on 10.7 for numerous reasons, but now we need to prepare to move to 10.8, late I know b

Re: NSTableView Cell edit values.

2009-02-25 Thread Totte Alm
25 feb 2009 kl. 22.29 skrev Corbin Dunn: On Feb 25, 2009, at 12:14 PM, Totte Alm wrote: Hello, 25 feb 2009 kl. 19.58 skrev Corbin Dunn: Make the field editor resign first responder status; if it did successfully do that, then the change was committed. If not, a validation error

Re: NSTableView Cell edit values.

2009-02-25 Thread Totte Alm
Hello, 25 feb 2009 kl. 19.58 skrev Corbin Dunn: Make the field editor resign first responder status; if it did successfully do that, then the change was committed. If not, a validation error happened. IE: [self.window makeFirstResponder:tableView]; I might be doing this part wrong This

Re: NSTableView Cell edit values.

2009-02-25 Thread Totte Alm
it is handled "now" and not "later". cheers, / Totte 25 feb 2009 kl. 19.58 skrev Corbin Dunn: Le Feb 25, 2009 à 10:44 AM, Totte Alm a écrit : Hello cocoa experts, I've stumbled on a problem with a GUI, where the user can edit values using a NSTableView, but

NSTableView Cell edit values.

2009-02-25 Thread Totte Alm
Hello cocoa experts, I've stumbled on a problem with a GUI, where the user can edit values using a NSTableView, but if the user types something in a cell, then click the "do stuff" button while the cell is still in editmode, the current change is not propagated back to underlying object.

NSImageView and getting change events

2008-06-27 Thread Totte Alm
Hello Cocoa experts, I've got a window, with a bunch of showable views, one contain an NSImageView. I need to inform my Controller when the user drops or pastes something into this NSImageView to reflect document changes and update my internal changes manager. This seems to be a less than