Just a request for a quick sanity check please.

2015-07-14 Thread Alex Zavatone
I'm looking at some Cocoa spaghetti that seems to violate all the laws or reason and I'd just appreciate some verification that there is no reason whatsoever that a sane Cocoa developer would ever do this before I go and change this code. Am I correct in assuming that there is no rational

AfxIsValidAddress

2015-07-14 Thread Raglan T. Tiger
Is there a Cocoa or OS X equivalent to the Windows function AfxIsValidAddress ? Or, is this even a valid consideration for OS X? -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: AfxIsValidAddress

2015-07-14 Thread Wim Lewis
On Jul 14, 2015, at 9:44 AM, Jens Alfke j...@mooseyard.com wrote: On Jul 14, 2015, at 9:13 AM, Raglan T. Tiger r...@crusaderrabbit.net wrote: Is there a Cocoa or OS X equivalent to the Windows function AfxIsValidAddress ? I don’t know, I’m not a Windows programmer. It would help if you

Re: AfxIsValidAddress

2015-07-14 Thread Jens Alfke
On Jul 14, 2015, at 9:13 AM, Raglan T. Tiger r...@crusaderrabbit.net wrote: Is there a Cocoa or OS X equivalent to the Windows function AfxIsValidAddress ? I don’t know, I’m not a Windows programmer. It would help if you told us what that function does. —Jens

Re: AfxIsValidAddress

2015-07-14 Thread Scott Ribe
On Jul 14, 2015, at 10:44 AM, Jens Alfke j...@mooseyard.com wrote: I don’t know, I’m not a Windows programmer. It would help if you told us what that function does. It appears to be a placebo for debugging memory problems:

Re: AfxIsValidAddress

2015-07-14 Thread Jens Alfke
On Jul 14, 2015, at 10:09 AM, Wim Lewis w...@omnigroup.com wrote: If you don't know (with enough certainty to omit a call to IsValidAddress) whether a pointer is readable, you certainly don't know whether the data there is what you expect to be there. Plus, preflighting access this way

Re: Unable to connect IBOutlet in Swift Xcode 7b2

2015-07-14 Thread Fritz Anderson
[The thread is a week old, so it may have gone stale…] On 7 Jul 2015, at 1:58 AM, Rick Mann rm...@latencyzero.com wrote: On Jul 6, 2015, at 23:22 , Kyle Sluder k...@ksluder.com wrote: On Mon, Jul 6, 2015, at 07:57 PM, Rick Mann wrote: On Jul 6, 2015, at 17:54 , Charles Srstka

Re: C Sharp?

2015-07-14 Thread Dave
On 14 Jul 2015, at 19:49, Jonathan Mitchell jonat...@mugginsoft.com wrote: On 14 Jul 2015, at 18:48, Dave d...@looktowindward.com wrote: Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You could check out Dubrovnik.

Re: Unable to connect IBOutlet in Swift Xcode 7b2

2015-07-14 Thread Quincey Morris
On Jul 14, 2015, at 12:49 , Rick Mann rm...@latencyzero.com wrote: What is my module's name, exactly, in an app target? Go to the build settings for the target, filter on “Module Name” and you’ll see it. Note that you can’t enter the module name into the build settings directly. If you try,

Re: C Sharp?

2015-07-14 Thread Jens Alfke
On Jul 14, 2015, at 1:04 PM, Dave d...@looktowindward.com wrote: I looked at that, but unless I am mistaken, it allow you to bind Cocoa to C# not the other way round? At some level those amount to the same thing. The difference is which side wants to “own” the process — with Xamarin IIRC

Re: AfxIsValidAddress

2015-07-14 Thread Raglan T. Tiger
On Jul 14, 2015, at 11:22 AM, Scott Ribe scott_r...@elevated-dev.com wrote: This is a definite FUGGEDABOUTIT situation. I already have! -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Unable to connect IBOutlet in Swift Xcode 7b2

2015-07-14 Thread Rick Mann
On Jul 14, 2015, at 12:29 , Fritz Anderson fri...@manoverboard.org wrote: Blank? Not a placeholder for “Current — Your_Target_Name?” The NIB/storyboard loading process for Swift needs an absolute module name, and in my experience, IB’s reference may not survive transfer between projects

Re: C Sharp?

2015-07-14 Thread Dave
I looked at that, but unless I am mistaken, it allow you to bind Cocoa to C# not the other way round? I want to be able to compile some existing C# code and then call it Cocoa. Cheers Dave On 14 Jul 2015, at 18:56, Sixten Otto hims...@sfko.com wrote: On Tue, Jul 14, 2015 at 10:48 AM,

Snow Leopard 10a432 DMG

2015-07-14 Thread 2551
I need to support users still on Snow Leopard (I’m on Xcode 6.4 / Yosemite 10.10.4). I’m building using the latest SDK but deployment target is 10.6. As others have noted in the past, the compiler will not warn of any code incompatibilities, so I’m looking to install SL on an external

Re: C Sharp?

2015-07-14 Thread Jonathan Mitchell
On 14 Jul 2015, at 18:48, Dave d...@looktowindward.com wrote: Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You could check out Dubrovnik. https://github.com/ThesaurusSoftware/Dubrovnik The solution includes a code generator that

Re: AfxIsValidAddress

2015-07-14 Thread Scott Ribe
On Jul 14, 2015, at 11:09 AM, Wim Lewis w...@omnigroup.com wrote: It checks whether a given address range is mapped (or equivalent terminology on Windows). Windows has another function that programmers like to use, IsBadReadPtr(), that does something similar. No, it doesn't. It is

C Sharp?

2015-07-14 Thread Dave
Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? All the Best Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: C Sharp?

2015-07-14 Thread Sixten Otto
On Tue, Jul 14, 2015 at 10:48 AM, Dave d...@looktowindward.com wrote: Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You mean like http://xamarin.com/platform ? ___ Cocoa-dev mailing list

Re: Just a request for a quick sanity check please.

2015-07-14 Thread Gary L. Wade
If the NSURLConnection in question has been started asynchronously, your described scenario sounds appropriate. In fact, it's what Apple recommends since the class will handle things in the background and only report back on progress. A synchronous request would fall into the questionable