Strange problem with CFHash and CFEqual

2009-06-18 Thread Stefan
lso need a valid (valid per contract) HashCode too. The problem is now that these hashcodes are _always_ 0 To make this more visual i have appended a little code snipped below. Because i really have any further ideas i need some help with this. Much thanks in advance. Stefan /* SNIP

Strange problem with CFDataRef, CFHash and CFEqual

2009-06-18 Thread Stefan
lso need a valid (valid per contract) HashCode too. The problem is now that these hashcodes are _always_ 0 To make this more visual i have appended a little code snipped below. Because i really have any further ideas i need some help with this. Much thanks in advance. Stefan /* SNIP

Strange problem with CFDataRef, CFHash and CFEqual

2009-06-18 Thread Stefan
lso need a valid (valid per contract) HashCode too. The problem is now that these hashcodes are _always_ 0 To make this more visual i have appended a little code snipped below. Because i really have any further ideas i need some help with this. Much thanks in advance. Stefan /* SNIP

Re: Strange problem with CFDataRef, CFHash and CFEqual

2009-06-18 Thread Stefan
*** Sorry for the double post *** Am 18.06.2009 um 20:43 schrieb Stefan: Hi, i have some trouble with some Core funtions and are out of ideas (after a whole day of searching, debugging and docs-reading) The problem could be simple described: I have 2 CGImageRef 'objects' which

XCode 3.1 quits each time after launch

2008-07-11 Thread Stefan
XCode work again? Kind regards, Stefan ___ 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

Re: XCode 3.1 quits each time after launch

2008-07-11 Thread Stefan
Last reply here: I did some instrumented runs of XCode and deleted some Quicktime components and cleared ~/Library/Caches/ Now, XCode starts as expected. Remains to see, if the OS X starts ;-) Am 12.07.2008 um 00:25 schrieb Stefan: Hi, each time I launch the current XCode 3.1

SOAP server framework?

2008-07-13 Thread Stefan
DO instead of SOAP Kind regards, Stefan ___ 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

Re: SOAP server framework?

2008-07-13 Thread Stefan
Am 13.07.2008 um 23:08 schrieb Jens Alfke: On 13 Jul '08, at 12:15 PM, Stefan wrote: could anybody provide a pointer to a SOAP server framework - one with low impedance gap regarding ObjC/Cocoa? It's possible that WebObjects has SOAP support, but I don't know for sure.

which technologie for layered sketch/vector-modelling ?

2009-04-25 Thread Stefan
(like CIAnnotations, Sketch-112, Son of a grab, Dicey, and more), they use different approaches and different technologies. Maybe somebody give me a hint which technologie or approach could be the right one? Thanks, Stefan ___ Cocoa-dev mai

Nullability question (NSEvent)

2016-06-27 Thread Stefan Haller
declaration bug, or a documentation bug? If the latter, under what circumstances will it return null? Is it worth filing a bug for things like this? Thanks, Stefan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

[Xgrid] GridMandelbrot Sample gone?

2009-10-05 Thread Stefan Wolfrum
er could I find this sample code at developer.apple.com. :-(( Any help/hints? Thanks a lot, Stefan. - Von meinem iPhone 3G gesendet. :-) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comme

Re: [Xgrid] GridMandelbrot Sample gone?

2009-10-07 Thread Stefan Wolfrum
ndelbrot sample) are still on the Leopard discs and -- at least as far as GridMandelbrot is concerned -- work with 10.6, too. You can find the examples on the original Leopard Install Disc 1 here: /Volumes/Mac OS X Install Disc 1/Optional Installs/Xcode Tools/Packages/DevExamples.pkg Cheers, Ste

Re: [Xgrid] GridMandelbrot Sample gone?

2009-10-08 Thread Stefan Wolfrum
P.S.: If somebody needs this sample and doesn't have access to the Leopard Install Disc I'm happy to send it! Just drop me a line. Cheers, Stefan. Am 07.10.2009 um 22:51 schrieb Stefan Wolfrum: Okay, here's the answer (thanks to Knut Lorenzen, author of the excellent (germa

SCNetworkconnect

2009-11-25 Thread Stefan Lehrner
:nil informativeTextWithFormat:@"%@",errorstring] runModal]; } //End Code with User/Password You see - I have build a NSDictionary *pppOptionsForDialPassword and *pppOptionsForDialUsername - when NSLog the Dictionary *optionsForDi

Setting cursor for subview of NSTextView

2010-03-12 Thread Stefan Haller
ES). Any ideas what else to try, or how to debug what's going on? Setting breakpoints at [NSCursor set] or [NSCursor arrowCursor] didn't get me very far yet. Thanks, Stefan -- Stefan Haller Berlin, Germany http://www.haller-berlin.de/ __

Re: Setting cursor for subview of NSTextView

2010-03-13 Thread Stefan Haller
the cursor would still be reset to an arrow in certain cases. Thanks for the help (also to Douglas, who sent me private mail). -Stefan -- Stefan Haller Berlin, Germany http://www.haller-berlin.de/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.a

redraw weirdness (setFrameSize in drawRect)

2010-07-01 Thread Stefan Jung
understand what happens. Best Regards, Stefan smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Avoid smooth scrolling when scrolling programmatically

2011-09-12 Thread Stefan Haller
rollPoint; I haven't been able to figure out the details yet). I guess I could mess with NSUserDefaults, turning off smooth scrolling before calling scrollPoint and restoring it to what it was before afterwards, but this seems like a hack to me. Any other ideas? -- Stefan Haller Berlin,

Re: Avoid smooth scrolling when scrolling programmatically

2011-09-12 Thread Stefan Haller
Kyle Sluder wrote: > On Mon, Sep 12, 2011 at 12:07 AM, Stefan Haller > wrote: > > I need to set the scroll position of my NSScrollView programmatically, > > and I don't want it to scroll smoothly (if the user's "smooth scrolling" > > preferenc

Re: Implementing Full Screen for 10.7 but app should also run on 10.6

2011-11-16 Thread Stefan Werner
On 14.11.2011, at 19:20, Quincey Morris wrote: > Don't follow the advice to define NSWindowCollectionBehaviorFullScreenPrimary > yourself. It's really, really dangerous to replicate a fragment of one SDK in > a build against an earlier SDK. What if the value changes in a later 10.7.x > SDK, or

Lan/Airport Notification

2009-12-03 Thread Stefan Lehrner
Hi, is it possible to get notified when Airport or Lan is available? I wonder how I can be notified by the system whenever my Airport goes online or when my Lan Connection will be established? Thanks for any hints and tipps... BR, Stefan ___ Cocoa

Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
in bold font) isn't there. A friend of mine tested it on his 10.5.8 machine and found the same issue. Anyone an explanation for this? Any hint what I can do about it? Thanks a lot! Stefan. ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
Thanks, Graham, for the quick reply! :-) However, I checked the setting in IB and it was already set to 10.5. Plus, I don't get any warnings from IB. *clueless* Stefan. Am 05.02.2010 um 09:47 schrieb Graham Cox: > > On 05/02/2010, at 7:27 PM, Stefan Wolfrum wrote: > >>

Re: Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
? Googled it but to no avail. :-( Thanks guys! Stefan. Am 05.02.2010 um 10:42 schrieb Mike Abdullah: > When in doubt, check the console log. > > On 5 Feb 2010, at 09:01, Stefan Wolfrum wrote: > >> Thanks, Graham, for the quick reply! :-) >> >> However, I checke

Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
ht now the file doesn't get built new every time I build my application. So the number isn't increasing yet. How can this be achieved? Thanks a lot! Stefan.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
to MacErrors.h! Am 05.02.2010 um 11:40 schrieb Matt Gough: > > On 5 Feb 2010, at 09:49:19, Stefan Wolfrum wrote: > >> Feb 5 10:45:52 Tigger Twunes[74359]: SetMenuItemHierarchicalMenu() failed >> with error -50 > > That is paramErr (in MacErrors.h). > >

Re: Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
hrieb Stefan Wolfrum: > Oh! > Very interesting! > Thanks for the reminder! > > The system.log has two entries regarding this problem: > Feb 5 10:45:52 Tigger Twunes[74359]: SetMenuItemHierarchicalMenu() failed > with error -50 > Feb 5 10:45:52 Tigger Twunes[74359]: udName =

Re: Main menu missing in 10.5. There in 10.6

2010-02-05 Thread Stefan Wolfrum
Problem solved! :-) Just built my main menu from the ground up new. Now it's there on 10.5, too & I'm happy! :-) Sorry for bothering you and thanks to those who helped! :-) Have a nice #FollowFriday & weekend, Stefan. Am 05.02.2010 um 14:41 schrieb Dave Keck: >> stil

Re: Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
or cmd-Y or cmd-B or variations of those. :-( Am 05.02.2010 um 11:40 schrieb Stefan Wolfrum: > A question about versioning. Information seems a bit sparse on this according > to a few Google/cocoa-dev archives/ADC/Apple Discussions searches. > > I want to have a consecutive bui

Re: Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
end more time with Google next time before I ask here. (And I know the Xcode mailing list now, too...) Stefan. Am 06.02.2010 um 00:09 schrieb Gwynne Raskind: > On Feb 5, 2010, at 1:56 PM, jonat...@mugginsoft.com wrote: >>> 2) Right now the file doesn't get built new every time

KVO and master-detail NSTableViews

2009-06-04 Thread Stefan Reitshamer
endent NSTableViews? What's the right way? Thanks in advance, - Stefan ___ 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)lis

Re: KVO and master-detail NSTableViews

2009-06-05 Thread Stefan Reitshamer
er's contentArray to the pop-up's NSArrayController's selection's "commits" property (an array), and the third NSArrayController's contentArray to the second NSArrayController's selection's "commitObjects"

Cocoaheads Bonn meeting tomorrow CANCELED

2009-08-26 Thread Stefan Wolfrum
, Stefan. ___ 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: http

Understanding property/synthesize

2010-08-08 Thread Stefan Nobis
above also work/run on iOS? -- Until the next mail..., Stefan. ___ 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.c

Re: Understanding property/synthesize

2010-08-09 Thread Stefan Nobis
on an iOS device. Ah, thanks for the explanation. > It is not available for 32-bit or PPC applications So if backwards compatibility is of no concern, there are chances to get rid of quite some unnecessary code. Nice. Quite a step forward. -- Until

Re: Understanding property/synthesize

2010-08-12 Thread Stefan Nobis
t. -- Until the next mail..., Stefan. pgpp9HVlGBheX.pgp Description: PGP signature ___ 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

iOS and Oracle Databases

2010-08-21 Thread Stefan Nobis
something is not available for iOS. Is this correct or missed I something? So I think the best way to go is via some kind of application server, right? -- Until the next mail..., Stefan. pgpHm4TwOfDn3.pgp Description: PGP signature ___ Cocoa-dev mailing

Re: What's the point of @properties?

2010-09-20 Thread Stefan Nobis
x27;s not very funny to debug (as it's hard to inspect the property values without manually declared iVars). -- Until the next mail..., Stefan. pgphvyyOqvWWh.pgp Description: PGP signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: What's the point of @properties?

2010-09-20 Thread Stefan Nobis
Antonio Nunes writes: > Maybe Stefan meant rather that the ivars do not show up in the > debugger window. Yes, that was the point of the question. -- Until the next mail..., Stefan. pgpasS7cYk4A8.pgp Description: PGP signature ___ Coc

Re: Uncaught Exception: NSUnknownKeyException

2012-03-14 Thread Stefan Miller
ss and set a breakpoint there to determine the stack trace for the error. Additionally, if no other solution can be found overriding this method and leaving it empty will prevent it from throwing said error from it's default implementation, and you can handle the error in your o

Re: OSAtomic built-in operations

2012-05-06 Thread Stefan Werner
{} ? union { int32_t s; uint32_t u; } atomicvar; atomicvar.u = 0; OSAtomicCompareAndSwap32(0, 1, &atomicvar.s); OSAtomicOr32Orig(0, &atomicvar.u); -Stefan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) P

Re: OSAtomic built-in operations

2012-05-06 Thread Stefan Werner
t the programmer's job to keep them in sync. When using a union, you have two names for the same memory address. Also, the union approach is type safe where a C-style pointer cast will allow you to cast anything to a uint32_t* without the comp

Re: Core Data Multiuser

2012-10-09 Thread Stefan Nobis
er an error message (maybe with the option to merge or overwrite the other changes). In many use cases this will lead to very few messages due to record version mismatches, there are no stale locks and the implementation is quite simple (except for so

Re: Guidance for Cocoa's steep learning curve

2008-05-15 Thread Stefan Werner
'unlearn' things. If you've used a decent OO UI toolkit, STL and BOOST before and read the "gang of four" book then there's not that much new in Objective-C/Cocoa IMHO. -Stefan ___ Cocoa-dev mailing list (Cocoa-dev

[MEET] Aachen (Germany) CocoaHeads

2008-05-21 Thread Stefan Hafeneger
visit http://www.cocoaheads.org/de/Aachen/index.html or the official website http://hci.rwth-aachen.de/cocoaheads With best wishes, Stefan Hafeneger smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

Re: Cocoa Classes from C++?

2008-05-27 Thread Stefan Werner
++ object in it, every source code file that includes that Objective-C class definition needs to be renamed to a .mm file; The .mm suffix is not a necessity. You can also set GCC_INPUT_FILETYPE in Xcode or use -x objective-c++ as gcc argument and leave the file names as they are. -Stefan

My windows don't cascade

2008-06-02 Thread Stefan Haller
be always (0,0). Any idea what could cause this? Thanks, Stefan -- Stefan Haller Ableton http://www.ableton.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: My windows don't cascade

2008-06-03 Thread Stefan Haller
Stefan Haller <[EMAIL PROTECTED]> wrote: > I have an NSDocument-based application that is still pretty close to the > Xcode template for "Cocoa Document-based application"; i.e. I subclass > NSDocument but not NSWindowController, and I implement -windowNibName > bu

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Stefan Werner
it support, it might just be the most convenient option. -Stefan ___ 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 Hel

Re: Bindings Cocoa and new Thread (Spinning Beach Ball an new Thread)

2008-06-04 Thread Stefan Werner
events instead of polling. -Stefan ___ 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/Updat

Two basic questions regarding UITableViewController and ObjC-2.0

2008-06-18 Thread Stefan Wolfrum
ist; But, additionally, there's another implementation of the setter method for the "list" member later in this file (which is, btw, not declared in the .h file): - (void)setList:(NSArray *)newList { if (list != newList) { [list release]; list =

Re: [MODERATOR] Re: Two basic questions regarding UITableViewController and ObjC-2.0

2008-06-18 Thread Stefan Wolfrum
API should be made > public contact WWDR directly or file a bug using bugreporter.apple.com. > Please do not advocate for those changes here, it isn't effective. > > > > On Jun 18, 2008, at 5:27 AM, Stefan Wolfrum wrote: > > Hi all, >> >> I hope this is t

Bindings on Custom View (Initial Value)

2008-06-20 Thread Stefan Arentz
With help from mmalc's binding examples I pretty much got the bindings on my custom view working. I uploaded the app to: http://kip.sateh.com/BindableGradientViewWithObjectController/ http://kip.sateh.com/BindableGradientViewWithObjectController.zip (First link is source, second is an arc

Seconds since system startup

2008-06-24 Thread Stefan Hafeneger
Hi, I'm looking for a Cocoa function like GetCurrentEventTime() for Carbon to get the interval since system startup. Any ideas? With best wishes, Stefan smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Coco

Re: Seconds since system startup

2008-06-24 Thread Stefan Hafeneger
best wishes, Stefan Am 24.06.2008 um 15:11 schrieb Jean-Daniel Dupas: Sorry, it look easy with sysctl too. That just that I had some bad experiences with sysctl to retreive some poorely documented values and structs. Le 24 juin 08 à 15:07, Jean-Daniel Dupas a écrit : Wow, that one of the

[MEET] CocoaHeads Aachen Tonight

2008-06-26 Thread Stefan Hafeneger
se visit our website www.cocoaheads.de With best wishes, Stefan smime.p7s Description: S/MIME cryptographic signature ___ 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

__CGEvent structure

2008-06-26 Thread Stefan Hafeneger
Hi, I would like to know how the __CGEvent (CGEventRef) struct is defined, so if there is any possibility to attach some more data to an low level event than through the functions defined CGEvent.h. Any ideas? With best wishes, Stefan smime.p7s Description: S/MIME cryptographic signature

Click to edit

2008-07-12 Thread Stefan Arentz
I would like to use text labels that turn into editable text fields when you click them. Like Address Book has when you edit an address card. Does anyone know how those work? Is it a matter of flipping the editable property or are those custom controls? S. __

Re: NSURLConnection substitutes characters?

2008-07-12 Thread Stefan Arentz
On Jul 12, 2008, at 10:17 PM, [EMAIL PROTECTED] wrote: Hi I wrote a class (PHPInvocation) that handles all the nitty gritty details of preparing NSURLRequests, NSURLConnections etc for calls to PHP scripts, but have run across this nasty bug. What's happening is that somewhere between th

Re: how to get the status of network when the network is set disable.

2008-07-12 Thread Stefan Arentz
On Jul 9, 2008, at 8:22 AM, xiaobin wrote: Hello, I am writing a program to detect the status of network. In my program, I need get the status of network when the connection is set disable. here it is not by connecting the network to get the status. which API or method can work for it? I'v

Re: importing sqlite data into a core data "database"

2008-07-12 Thread Stefan Arentz
On Jul 12, 2008, at 11:25 PM, John Velman wrote: Thanks, Chris, Using the SQLite 3 api as you suggest sounds good, but there are a couple of things that must be obvious to the initiated, but not to me (yet). As I understand, the SQLite 3 api is a C api. Can I do C function calls directl

Re: NSURLConnection substitutes characters?

2008-07-12 Thread Stefan Arentz
On Jul 13, 2008, at 12:25 AM, [EMAIL PROTECTED] wrote: -- Original message -- From: Stefan Arentz <[EMAIL PROTECTED]> If you want to send Base64 encoded data in a query parameter (or post data) then you will need to 'percentage-escape' it pr

Re: Triangulating webcams

2008-07-12 Thread Stefan Arentz
On Jul 12, 2008, at 9:40 PM, em wrote: ... I can easily transport 'strings' over a network using UDP multi- casting/broadcasting via Quartz Composer, but some of these strings may get a little lengthy. What's a good language statement(s) (obj c API) for transporting small (10MB) data str

Re: Click to edit

2008-07-13 Thread Stefan Arentz
On Jul 13, 2008, at 12:46 AM, Jens Alfke wrote: On 12 Jul '08, at 7:50 PM, Stefan Arentz wrote: I would like to use text labels that turn into editable text fields when you click them. Like Address Book has when you edit an address card. Does anyone know how those work? Is it a matt

Re: NSTextField labels and URLs

2008-07-14 Thread Stefan Arentz
On Jul 14, 2008, at 4:01 PM, Dmitri Goutnik wrote: Hi, I'm almost positive I've seen this asked here a few weeks back, but search turned up nothing so here goes... I have About panel with copyright label (NSTextField) that have URL in it. Label is set to allow rich text and be selectable

Re: [Q] Any document that shows differences of Cocoa programming for Mac and for the iPhone/iPod touch?

2008-07-14 Thread Stefan Arentz
On Jul 14, 2008, at 4:15 PM, JongAm Park wrote: ... (Well, I just looked up "NSViewController" document and it says that it was added to the Leopard. Is there any document which explains why it is added and how the programming model is changed due to the addition of it? ) The NSViewContro

Re: [Q] Any document that shows differences of Cocoa programming for Mac and for the iPhone/iPod touch?

2008-07-15 Thread Stefan Arentz
On Jul 14, 2008, at 11:50 PM, Stefan Arentz wrote: On Jul 14, 2008, at 4:15 PM, JongAm Park wrote: ... (Well, I just looked up "NSViewController" document and it says that it was added to the Leopard. Is there any document which explains why it is added and how the programmin

Re: Hillegass, Third Edition, Chapter 18

2008-07-15 Thread Stefan Arentz
On Jul 15, 2008, at 2:44 AM, Jeff Brown wrote: Hi Jon Just an aside - does Hillegass, Third Edition teach you Core Data? The blurb on Amazon says it does but when I looked at the index online it didn't mention Core Data. No it does not teach you Core Data. There are two Core Data chapters

[MEET] Aachen CocoaHeads TODAY (31 July 08)

2008-07-31 Thread Stefan Hafeneger
Hi everyone, Aachen CocoaHeads is today (31 July 08) at 7PM. Talk: Amin Negm-Awad, "Advanced Cocoa Bindings" Please visit http://www.cocoaheads.de/ for location information. See you there! Stefan smime.p7s Description: S/MIME cryptographic

Re: Interface Builder, tree view like Mac Mail or itunes

2008-08-04 Thread Stefan Bethke
t the split view, and the right pane, just liek i want them, but i can not get the tree view to behave. Could any of you guru's out there point me in the correct direction? I found this example to be quite helpful: http://developer.apple.com/samplecode/SourceView/ Stefan -- Stefan Beth

How to obtain NSApplication from kCGWindowOwnerPID?

2008-08-08 Thread Stefan Hafeneger
lication and do a hit test. Any ideas? With best wishes, Stefan smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: How to obtain NSApplication from kCGWindowOwnerPID?

2008-08-08 Thread Stefan Hafeneger
With best wishes, Stefan Am 08.08.2008 um 21:20 schrieb David Duncan: On Aug 8, 2008, at 11:46 AM, Stefan Hafeneger wrote: I would like to figure out the NSWindow object for a screen location. I could use CGWindowListCopyWindowInfo() to obtain a list of all visible windows and consequently

CGWindowListCopyWindowInfo(), how to pick relevant windows

2008-08-14 Thread Stefan Hafeneger
a hint. I don't just want to exclude any windows that belong to the dock. The window level may be a possibility, but I don't know up to which number a non-Apple can be. Maybe the workspace number would be another possibility but I'm not sure. With best wishes, Stefan

MultiTouch.framework Beta Program

2008-08-18 Thread Stefan Hafeneger
cation" as subject line since the emails will be filtered. If you got any questions concerning the beta program or the framework itself please visit our website (http://www.multitouchframework.com) or write me an email. With best wishes, Stefan smime.p7s Description: S/MIME cryptogr

[MEET] Aachen CocoaHeads TODAY (August 28, 2008)

2008-08-28 Thread Stefan Hafeneger
Hi everyone, Aachen CocoaHeads is today (August 28, 2008) at 7PM. Talk: Stefan Hafeneger, "Developing multi-touch Applications for Mac OS X" Bring along your iPhone or iPod touch and your Mac to participate in the workshop. Please visit http://www.cocoaheads.de/ for location i

MultiTouch.framework Beta Program

2008-09-06 Thread Stefan Hafeneger
you like to try this on your own, please visit our website http://www.multitouchframework.com/ to find out how to get the beta. With best wishes, Stefan smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

Accepting files dragged from iTunes in a Cocoa app

2008-09-10 Thread Stefan Haller
a new file, but reference the existing file in the iTunes library. Any ideas? Thanks, Stefan -- Stefan Haller Berlin, Germany http://www.haller-berlin.de/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

Re: Accepting files dragged from iTunes in a Cocoa app

2008-09-10 Thread Stefan Haller
Gregory Weston <[EMAIL PROTECTED]> wrote: > Stefan Haller wrote: > > > In a Carbon application I solved the problem by handling the > > kDragPromisedFlavorFindFile flavor, which worked quite well. How do I > > do this in a Cocoa app though? I can't find

Re: Accepting files dragged from iTunes in a Cocoa app

2008-09-11 Thread Stefan Haller
Excellent! Thanks a lot, this works well for me too. I didn't know about the "CorePasteboardFlavorType" mechanism, and I couldn't find any documentation about it, so I suppose this isn't guaranteed to work in the future. Best, Stefan Stephen F. Booth <[EMAIL

Re: How to call functions of a C dylib on a C++ dylib

2008-09-18 Thread Stefan Werner
MyFunction(void *args); or you can also do extern "C" { #include "MyCHeader.h" } for entire header files. Also, you can use 'nm -o libSomething.dylib' do inspect the function signatures a certain lib exports. -Stefan

[MEET] Aachen CocoaHeads TODAY (September 25, 2008)

2008-09-25 Thread Stefan Hafeneger
Hi everyone, Aachen CocoaHeads is today (September 25, 2008) at 7PM. Talk: Kai Brüning, "Plug-ins for Interface Builder 3" Please visit http://www.cocoaheads.de/ for location information. See you there! Stefan smime.p7s Description: S/MIME cryptographic

Core Data Exception: NSTemporaryObjectID_default

2008-03-08 Thread Stefan Mueller
- generate data hanging off the object - save <-- Exception happens here - refresh object regards stefan mueller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

CAOpenGLLayer

2008-03-29 Thread Stefan Hafeneger
ve to setup the environment in every drawInCGLContext:... call? With best wishes, Stefan Hafeneger ___ 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 coco

Re: CAOpenGLLayer

2008-04-02 Thread Stefan Hafeneger
Context); } [/CODE] With best wishes, Stefan ___ 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/Unsub

Re: CAOpenGLLayer

2008-04-02 Thread Stefan Hafeneger
Okay thank you. With best wishes, Stefan Am 02.04.2008 um 22:19 schrieb John Harper: Hi, yes, that seems like a good solution, John On Apr 2, 2008, at 12:23 PM, Stefan Hafeneger wrote: Hi John, I now setup the environment in copyCGLContextForPixelFormat. The folling code seemd

unhandled property type encoding

2008-04-02 Thread Stefan Hafeneger
sh, but I don't find a solution to avoid this message. I defined the struct via typedef struct _SHVector { CGFloat x; CGFloat y; CGFloat z; } SHVector; The same property in a NSView subclass works fine. With best wishes, Stefan

Re: NSVector, CGVector Additions

2008-04-06 Thread Stefan Hafeneger
code would be screwed. On 6 Apr 2008, at 19:22, Stefan Hafeneger wrote: Hi, I made a NSVector struct inclusive the typical methods. I adopted the style of the existing NSPoint, NSSize and NSRect structs and also made a CGVector struct. It would be nice if someone could have a look on that

Re: NSVector, CGVector Additions

2008-04-07 Thread Stefan Hafeneger
Okay, I agree. So then just imagine the NS prefix is something else. Now please focus on the code not the naming conventions. ;-) With best wishes, Stefan Am 07.04.2008 um 06:08 schrieb Jens Alfke: On 6 Apr '08, at 11:59 AM, Stefan Hafeneger wrote: This is kind of a class Addition s

Capsule-Style Toolbar Controls

2008-04-16 Thread Stefan Hafeneger
review via NSSegmentedCell or is this all done by hand? With best wishes, Stefan ___ 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

Re: Capsule-Style Toolbar Controls

2008-04-17 Thread Stefan Hafeneger
I create a segmented control cell with 3 segments and set it to the view of NSToolbarItemGroup. Is this correct? Will the view then be automatically resized if the user enables or disables the labels? With best wishes, Stefan Am 16.04.2008 um 23:29 schrieb Peter Ammon: On Apr 16, 2008,

Re: Capsule-Style Toolbar Controls

2008-04-18 Thread Stefan Hafeneger
eckbox? Is the difference just the 2px? With best wishes, Stefan Am 18.04.2008 um 23:05 schrieb Peter Ammon: Thanks Stefan, From the screenshot, it looks to me like the test app is not using the unified title/toolbar metrics, but Mail is. Try checking the unified title/toolbar checkbox in

Re: Capsule-Style Toolbar Controls

2008-04-19 Thread Stefan Hafeneger
Okay, thanks for your help Peter. With best wishes, Stefan Am 19.04.2008 um 01:04 schrieb Peter Ammon: Yes, in Leopard, unified and non-unified windows are the same except for some minor differences in the toolbar metrics, which you found. :) The metric differences were left in for

Re: NSStream blocking behavior?

2008-05-08 Thread Stefan Haller
e only way to find out is to attempt a read : or a write operation (which could lead to a momentary block). The : NSStreamEventHasBytesAvailable and NSStreamEventHasSpaceAvailable : stream events have identical semantics. I'm not sure exactly what "momentary block" means here. -- S

Re: Cocoa and Carbon

2008-05-14 Thread Stefan Werner
nt to or can't use Objective-C). If you should run into limitations, you still have the option to use Carbon for those specific parts of your application that need it. -Stefan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not p

Re: Bypassing Interface Builder

2008-05-14 Thread Stefan Werner
should be possible do have proper localization support without having separate NIB files for each language. I'm expecting that Qt/Cocoa and wxCocoa will deliver such implementations. -Stefan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

NSArchiver binary format

2009-01-06 Thread Stefan Reitshamer
Does anyone have a description of the binary format that NSArchiver produces? Thanks - Stefan Reitshamer ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mode

Tab

2009-02-03 Thread Stefan Groschupf
e any kind of widget that does this already in one of the frameworks? Or do I have to build this from scratch? What would I use to build it from scratch? Thanks for any hints. Stefan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Plea

NSView enterFullScreenMode:withOptions: Transition

2008-10-09 Thread Stefan Hafeneger
screen mode is done using exitFullScreenModeWithOptions:. You can test whether a view is in full screen mode using the method isInFullScreenMode." I haven't found any solution that works. Has anybody got this working? With best wishes, Stefan smime.p7s Description: S/MIM

iPhone Development Mailing List

2008-10-16 Thread Stefan Arentz
It's been two weeks and Apple moves with its usual slowness and secrecy. It's probably going to take a while longer. And then some more. And then we wait a couple of weeks for the official mailing list. In the meantime, outside of the Apple domain, everybody is happily openly discussing iPhone deve

Re: iPhone Development Mailing List

2008-10-16 Thread Stefan Arentz
not my preferred way, but there is a lot of good iPhone development discussion going on. Interestingly this is hosted at ... Apple! http://discussions.apple.com/category.jspa?categoryID=164 S. On Thu, Oct 16, 2008 at 11:14 AM, Stefan Arentz <[EMAIL PROTECTED]> wrote: > It's

  1   2   >