Re: What is the modern Cocoa way to send an Apple Event to yourself?
On 22 Aug 2014, at 12:24, Daryle Walker dary...@mac.com wrote: Oh, is there a non-retired list of the basic Apple Events and their required and optional parameters? Non-retired? Hmm; tricky. There's Apple Event Manager Reference and Apple Events Programming Guide, both 2007, both marked as 'legacy'. Then there's NSAppleEventDescriptor Class Reference, also from 2007 and NOT marked as legacy (last I looked). Phil signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
Le 22 août 2014 à 07:24, Daryle Walker dary...@mac.com a écrit : I changed my app from implementing -application:openFile: to -application:openFiles: in my application delegate. Then, I noticed that my Open File menu command directly calls my window creation function, and I decided to change the action handler to call -application:openFiles: instead. Later I realized that changing a global via -replyToOpenOrPrint: to the application object may not be a good idea if said object doesn’t expect it (like outside of application launch). So now I want to re-reimplement the open-file action handler by calling the open-file Apple Event to myself. Looking through the modern Apple docs, I see all sorts of stuff about handling Apple Events, but nothing about sending them. Help. I think you can use NSWorkspace. It will generate the same events than the one send when you try to open a file from the Finder. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
buggy sequence: miniaturize/close/makeKeyAndOrderFront
Hi, I noticed that the sequence: setReleasedWhenClosed(false) miniaturize close makeKeyAndOrderFront results in a visible window for which _hovering_ on the standard titlebar butons doesn't work (clicking on the buttons and moving/resizing the window does work). The problem is the miniaturize call, without it the window restores correctly. But I need to be able to hide a miniaturized window and later restore it. Any known workarounds? Background story: I want to implement the `hide` functionality on my windows. `orderOut` doesn't cut it because it doesn't work on a miniaturized window (known bug from 2008), so `close` is the next thing. But I can't seem to restore a closed window that was closed while miniaturized, without this weird bug. Thanks, Cosmin. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
On Aug 21, 2014, at 10:24 PM, Daryle Walker dary...@mac.com wrote: I changed my app from implementing -application:openFile: to -application:openFiles: in my application delegate. Then, I noticed that my Open File menu command directly calls my window creation function, and I decided to change the action handler to call -application:openFiles: instead. Later I realized that changing a global via -replyToOpenOrPrint: to the application object may not be a good idea if said object doesn’t expect it (like outside of application launch). So now I want to re-reimplement the open-file action handler by calling the open-file Apple Event to myself. This is a very strange idea. Cocoa applications do not do this; they just call straight into NSDocumentController. --Kyle Sluder ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
On 22 Aug 2014, at 10:40 AM, Kyle Sluder k...@ksluder.com wrote: This is a very strange idea. Cocoa applications do not do this; they just call straight into NSDocumentController. Even if they want to be recordable? — F ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
On Fri, Aug 22, 2014, at 12:10 PM, Fritz Anderson wrote: On 22 Aug 2014, at 10:40 AM, Kyle Sluder k...@ksluder.com wrote: This is a very strange idea. Cocoa applications do not do this; they just call straight into NSDocumentController. Even if they want to be recordable? I can't think of an application on my system that's recordable except for TextWrangler. --Kyle Sluder ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
On Aug 22, 2014, at 12:35:53, Kyle Sluder k...@ksluder.com wrote: On Fri, Aug 22, 2014, at 12:10 PM, Fritz Anderson wrote: On 22 Aug 2014, at 10:40 AM, Kyle Sluder k...@ksluder.com wrote: This is a very strange idea. Cocoa applications do not do this; they just call straight into NSDocumentController. Even if they want to be recordable? I can't think of an application on my system that's recordable except for TextWrangler. Which is a crying shame. Why isn't Apple building recordability into Cocoa? Used to be all the good apps were totally recordable. -- Steve Mills office: 952-818-3871 home: 952-401-6255 ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
null value in KVO change dictionary ?
Hello, I'm puzzled by a problem that I am seeing with key value observing an arraycontroller and I'm hoping that someone here could shed some light. Here's the situation: I have a nib with a panel that contains a collectionview and an arraycontroller. It's like some Tool panel in a drawing app. The arraycontroller content binding is bound to a method in the windowcontroller (file's owner) that returns an array of custom objects. The collectionview content and selectionIndexes bindings are bound to the arraycontroller. This all seems to play nicely together. Next, the windowcontroller's document is observing the 'selection' property of the arraycontroller. The purpose is to get hold of whatever object is selected in the collectionview and link that to a 'tool' property of the document. Now, when I change the selection in the collectionview, the document is indeed notified, but what's puzzling me is that the value for the 'new' key in the change dictionary is 'null'. I've tried observing other arraycontroller properties, such as 'selectionIndexes' or 'selectedObjects', and the document gets all the notifications, but 'new' as well as 'old' value in the change dictionary are always 'null', even though I can get a hold of the selected object using '[object selectedObjects]'. So why is this object not in the change dictionary? Thanks for any help. -- Luc Van Bogaert 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 cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
iOS database within sandbox
I’m writing a Cocoa-based iOS 8 app that needs to store and manage data locally on the device. Is there a relational database available for general purpose use in iOS 8? Is there a limitation to how much space an app can use in its sandbox? I presume a database would necessarily need to reside in Application_Home/Documents/... -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS database within sandbox
Can you use CoreData? On Aug 22, 2014, at 5:54 PM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: I’m writing a Cocoa-based iOS 8 app that needs to store and manage data locally on the device. Is there a relational database available for general purpose use in iOS 8? Is there a limitation to how much space an app can use in its sandbox? I presume a database would necessarily need to reside in Application_Home/Documents/... -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/velocityboy%40rodentia.net This email sent to velocity...@rodentia.net ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS database within sandbox
On Aug 22, 2014, at 6:01 PM, Jim Geist velocity...@rodentia.net wrote: Can you use CoreData? On Aug 22, 2014, at 6:00 PM, Catchall catch...@rodentia.net wrote: Is there a reason to not use CoreData? Hmm, I guess that’s what CoreData is for, isn’t it? I had heard that it is pretty difficult to learn, and since I’m used to accessing databases from C/Linux, my first thought was to go the “easy” route. I’ll look into it. Regarding the other portion of my question, are there limitations to how much storage space can be used on an iPhone? Is the space managed as “first-come first-served”? Thx, -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS database within sandbox
I don’t know of any storage quotas, I’ve seen debug logging fill up the device before the app gets whacked. And some of the games I play have gigs of data. CoreData has a bit of a curve, but it saves you a lot once you’re used to it. It works at the object level, and just not having to serialize or deserialize your data into SQL columns is a huge win. It also has built in migration strategies so if you rev your schema between app versions, you usually don’t have to write a ton of code to transition your data manually. The design I would recommend (and I’d love to hear if this is what others do) is to use categories to extend the classes that Xcode generates for your CoreData entities. I add methods for every type of query I need. You don’t want to change the generated classes directly, since every time you change an object, Xcode will overwrite any changes you’ve made. On Aug 22, 2014, at 6:07 PM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: On Aug 22, 2014, at 6:01 PM, Jim Geist velocity...@rodentia.net wrote: Can you use CoreData? On Aug 22, 2014, at 6:00 PM, Catchall catch...@rodentia.net wrote: Is there a reason to not use CoreData? Hmm, I guess that’s what CoreData is for, isn’t it? I had heard that it is pretty difficult to learn, and since I’m used to accessing databases from C/Linux, my first thought was to go the “easy” route. I’ll look into it. Regarding the other portion of my question, are there limitations to how much storage space can be used on an iPhone? Is the space managed as “first-come first-served”? Thx, -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS database within sandbox
2 choices out of the box - Core Data and SQLite Core data (once learnt) saves you a lot of time writing cookie cutter code. As for storage - the iOS platform obviously has storage limitations by device so if you’re going to target 8GB devices you’ve already got a limit but within reason an app can store many GB of data locally (some games are massive). If your deployment case is for corporate controlled devices you may have a smaller set of parameters to worry about. On 23-Aug-2014, at 10:24, Carl Hoefs newsli...@autonomy.caltech.edu wrote: I’m writing a Cocoa-based iOS 8 app that needs to store and manage data locally on the device. Is there a relational database available for general purpose use in iOS 8? Is there a limitation to how much space an app can use in its sandbox? I presume a database would necessarily need to reside in Application_Home/Documents/... -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/mhoward%40mahoward.com This email sent to mhow...@mahoward.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What is the modern Cocoa way to send an Apple Event to yourself?
On Aug 22, 2014, at 1:24 AM, Daryle Walker dary...@mac.com wrote: I changed my app from implementing -application:openFile: to -application:openFiles: in my application delegate. Then, I noticed that my Open File menu command directly calls my window creation function, and I decided to change the action handler to call -application:openFiles: instead. Later I realized that changing a global via -replyToOpenOrPrint: to the application object may not be a good idea if said object doesn’t expect it (like outside of application launch). So now I want to re-reimplement the open-file action handler by calling the open-file Apple Event to myself. Looking through the modern Apple docs, I see all sorts of stuff about handling Apple Events, but nothing about sending them. Help. Oh, is there a non-retired list of the basic Apple Events and their required and optional parameters? I figured out something that (seemingly) works, but I feel slightly dirty: - (IBAction)openDocument:(id)sender { NSOpenPanel * const panel = [NSOpenPanel openPanel]; panel.allowsMultipleSelection = YES; panel.delegate = self; [panel beginWithCompletionHandler:^(NSInteger result) { if (result == NSFileHandlingPanelOKButton) { NSAppleEventDescriptor * const fileList = [NSAppleEventDescriptor listDescriptor]; NSAppleEventDescriptor * const openEvent = [NSAppleEventDescriptor appleEventWithEventClass:kCoreEventClass eventID:kAEOpenDocuments targetDescriptor:nil returnID:kAutoGenerateReturnID transactionID:kAnyTransactionID]; for (NSURL *file in panel.URLs) { [fileList insertDescriptor:[NSAppleEventDescriptor descriptorWithDescriptorType:typeFileURL data:[[file absoluteString] dataUsingEncoding:NSUTF8StringEncoding]] atIndex:0]; } [openEvent setParamDescriptor:fileList forKeyword:keyDirectObject]; [[NSAppleEventManager sharedAppleEventManager] dispatchRawAppleEvent:[openEvent aeDesc] withRawReply:(AppleEvent *)[[NSAppleEventDescriptor nullDescriptor] aeDesc] handlerRefCon:(SRefCon)0]; } }]; } Is this the best we can do? (BTW, “SRefCon” went from an integer to a pointer during the 32/64-bit transition.) I’m writing the following down so I don’t forget if I try to access Apple’s Radar bug/request system. NSAppleEventManager.h A category on NSWorkspace Method(s) to translate an application identifier to a target NSAppleEventDescriptor. Method to send an AppleEvent, with the application already specified within, as the initial A.E. for the newly-launched application. Add a Boolean parameter to control whether to proceed if the application was already running. Maybe add a block that takes the reply AppleEvent (set to nil when a reply isn’t desired). Method to translate a NSRunningApplication object to a target NSAppleEventDescriptor. Method to send an AppleEvent (as a NSAppleEventDescriptor) with a block to accept the reply AppleEvent (or nil if undesired). NSAppleEventDescriptor.h needs to add a method to return a target NSAppleDescriptor of the current application. It differs from using [NSRunningApplication currentApplication] in that the target value in this header is for shortcut dispatch while the former one is for full dispatch (like if an outside app sent the event). Any improvements for this idea? I guess it’s too late for Yosemite (unless they had the same idea by coincidence). Oh, add a modern AppleEvent reference. I remember from the 1990s and the following decade that some events added extra (optional) parameters, like for searching. — Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS database within sandbox
I'm not sure how helpful this is but rechnically, Core Data is an ORM - an object to relational mapping framework. Also realize that Core Data is most often configured to use SQLite as its backing store. In addition the, Xcode ships with a nice CoreData/ORM editor which often makes Core Data easier and faster to use for the average case. But, if you have sufficient reason, you are more than welcome to use SQLite directly ... Additionally then, you may also want to consider FMDB, Gus Mueller's thin wrapper around SQLite that makes it much easier to work with in the context of an iOS app. Finally then, the database need not necessarily reside in the Documents' directory ... save for the fact that different directories are cleared out differently based on a few rules inherent to the platform. So in a sense, yes, you are probably safest dropping the SQLite file there - but it isn't necessarily a requirement. Hth, -Luther On 23-Aug-2014, at 10:24, Carl Hoefs newsli...@autonomy.caltech.edu wrote: I’m writing a Cocoa-based iOS 8 app that needs to store and manage data locally on the device. Is there a relational database available for general purpose use in iOS 8? Is there a limitation to how much space an app can use in its sandbox? I presume a database would necessarily need to reside in Application_Home/Documents/... -Carl ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/mhoward%40mahoward.com This email sent to mhow...@mahoward.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/lutherbaker%40gmail.com This email sent to lutherba...@gmail.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront
On Aug 22, 2014, at 10:01 AM, Cosmin Apreutesei cosmin.apreute...@gmail.com wrote: I noticed that the sequence: setReleasedWhenClosed(false) miniaturize close makeKeyAndOrderFront results in a visible window for which _hovering_ on the standard titlebar butons doesn't work (clicking on the buttons and moving/resizing the window does work). The problem is the miniaturize call, without it the window restores correctly. But I need to be able to hide a miniaturized window and later restore it. Any known workarounds? I encountered this same issue. Making the window a one-shot window (window.oneShot = YES) works around it. Cheers, Ken ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: null value in KVO change dictionary ?
On Aug 22, 2014, at 4:31 PM, Luc Van Bogaert luc.van.boga...@me.com wrote: I'm puzzled by a problem that I am seeing with key value observing an arraycontroller and I'm hoping that someone here could shed some light. I've tried observing other arraycontroller properties, such as 'selectionIndexes' or 'selectedObjects', and the document gets all the notifications, but 'new' as well as 'old' value in the change dictionary are always 'null', even though I can get a hold of the selected object using '[object selectedObjects]'. So why is this object not in the change dictionary? This is a long-standing issue with array controllers. The KVO change notifications never include the new or old values, regardless of the KVO options to request them. You just have to query the object via the key path to get the new value. If you request NSKeyValueObservingOptionPrior, you can get the old value at the time that fires. Regards, Ken ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Bad EXC
Devs, I am getting this error: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode 0x0) over this line of code: if self.contentView!.frame.size.width photo.size.width { docRect.size.width = self.contentView!.frame.size.width imageLocation.origin.x = (self.contentView!.frame.size.width - photo.size.width) / 2.0 } I am using XC6 beta 6. Has any encountered this? Any guidance on resolving the issue? Thanks. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
-glyphWithName:
NSFont *font = [NSFont systemFontOfSize:288]; NSGlyph glyph = [font glyphWithName:glyphName]; if glyphName is @“A” for example I get A if the glyphName is @“” I get nothing if the glyphName is @“ampersand” I get I cannot find a list that tells me the names of these non-alphabet characters. Where should I look for this list and will the names be the same regardless of font? -rags ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Bad EXC_BAD_INSTRUCTION on drawRect call in Swift
Devs, I am getting this error: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode 0x0) over this line of code: if self.contentView!.frame.size.width photo.size.width { docRect.size.width = self.contentView!.frame.size.width imageLocation.origin.x = (self.contentView!.frame.size.width - photo.size.width) / 2.0 } I am using XC6 beta 6. Has any encountered this? Any guidance on resolving the issue? Thanks. I will also add the stack trace: ArnoldTransformer2`@objc ArnoldTransformer2.ATView.drawRect (ArnoldTransformer2.ATView)(C.CGRect) - () at ATView.swift: 0x1e550: pushq %rbp 0x1e551: movq %rsp, %rbp 0x1e554: subq $0x30, %rsp 0x1e558: leaq 0x10(%rbp), %rax 0x1e55c: movsd (%rax), %xmm0 0x1e560: movsd 0x8(%rax), %xmm1 0x1e565: movsd 0x10(%rax), %xmm2 0x1e56a: movsd 0x18(%rax), %xmm3 0x1e56f: movq %rdi, -0x8(%rbp) 0x1e573: movsd %xmm2, -0x10(%rbp) 0x1e578: movsd %xmm3, -0x18(%rbp) 0x1e57d: movsd %xmm0, -0x20(%rbp) 0x1e582: movsd %xmm1, -0x28(%rbp) 0x1e587: callq 0x100018f1a ; symbol stub for: objc_retain 0x1e58c: movsd -0x20(%rbp), %xmm0 0x1e591: movsd -0x28(%rbp), %xmm1 0x1e596: movsd -0x10(%rbp), %xmm2 0x1e59b: movsd -0x18(%rbp), %xmm3 0x1e5a0: movq -0x8(%rbp), %rdi 0x1e5a4: movq %rax, -0x30(%rbp) 0x1e5a8: callq 0x1bc60 ; ArnoldTransformer2.ATView.drawRect (ArnoldTransformer2.ATView)(C.CGRect) - () at ATView.swift:224 0x1e5ad: addq $0x30, %rsp - Problem is here 0x1e5b1: popq %rbp 0x1e5b2: retq ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com