Re: Tracking source of recommendation

2021-04-23 Thread John Alsop via Cocoa-dev
app with a universal link, so that when the app is installed, clicking on the link in the email will launch your app with the specified invitation code. This will behave as follows: - if the app is not installed, the link goes to your server - if the app is

Re: Prevent screen saver from starting, but don't prevent computer sleep

2020-06-29 Thread John Joyce via Cocoa-dev
> > On Jun 29, 2020, at 10:53, Graham Cox via Cocoa-dev > wrote: > > In the “old days”, your app could periodically call UpdateSystemActivity( > UsrActivity ) to prevent the screensaver kicking in. This has been deprecated > since 10.8, but the header for that function says it can be

Re: Customizing the Notarization Workflow fails

2020-05-04 Thread St John, David R via Cocoa-dev
Setting automatic code signing to Off and "Code Sign style" = Manual just means you have control over the certificate, developer team, etc. not that Xcode won't sign your product. There used to be a "Don't Code Sign" option which did as advertised but it hasn't been an option in a Xcode

Re: NSTimer +timerWithTimeInterval:

2020-04-29 Thread John Bishop via Cocoa-dev
Interval value is always specified in seconds; it yields > sub-millisecond precision over a range of 10,000 years. > > I can accommodate this odd behavior in my code, but something's gotta be > wrong... > -Carl >

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread John Joyce via Cocoa-dev
The life hack for this is to have a Run Script Build Phase that just lists out the build variables and their values. Then you look them up in the help menu to confirm what they mean. > On Apr 26, 2020, at 10:29, Jack Brindle via Cocoa-dev > wrote: > > Before someone reminds me, be sure to

Re: NSToolbar in Catalina

2020-03-23 Thread St John, David R via Cocoa-dev
I had a similar problem with .icns files showing weird graphics but on Mojave and earlier they were fine. I resolved the issue by using Icon Composer (on macOS 10.10) to extract the '.icns' file(s) to iconsets and then importing them into an Asset Library. The NSImage creation changed to use

Re: Getting rid of "cannot check for malicious software"

2020-03-05 Thread St John, David R via Cocoa-dev
Read up on notarization, Catalina requires signed and notarized code. https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution Dave From: Cocoa-dev on behalf of Gabriel Zachmann via Cocoa-dev Sent: Thursday, March 5, 2020

How to present a web view while supporting 10.9?

2020-02-06 Thread John Brownie via Cocoa-dev
: WKWebView } else {     var webView: WebView } ...but that is for running code, not declarations. Is there a way to do this through IB? Or is my alternative to build the window in code, using whatever is available based on the runtime platform? John -- John Brownie Mussau-Emira language, New Ireland

Re: Need for Swift

2019-10-15 Thread John Joyce via Cocoa-dev
> > On Oct 15, 2019, at 22:58, Turtle Creek Software via Cocoa-dev > wrote: > > Nobody > is every going to write a full CAD, project management or business > accounting app in either Swift or Obj-C. > > TurtleSoft has a big investment in C++ source code that's full of > construction

Re: Thoughts on Cocoa

2019-10-02 Thread John Randolph via Cocoa-dev
Speaking as a former moderator of this list, this thread is off-topic for Cocoa-dev. This list is for TECHNICAL discussion and help. Kindly take it to reddit or wherever else the denizens of comp.sys.mac.advocacy ended up. -jcr ___ Cocoa-dev

Re: Thoughts on Cocoa

2019-10-02 Thread John McCall via Cocoa-dev
on 64-bit macOS, this means that Carbon is no longer supported, after 7 years of formal deprecation and a few more years of “writing on the wall”. That is what some people are upset about. John. Jeff Evans On Oct 2, 2019, at 10:43 AM, Richard Charles via Cocoa-dev wrote

Re: Questions regarding release

2019-09-26 Thread John McCall via Cocoa-dev
argument, and it’s that retain which will be balanced by the release during object destruction. Functions and methods generally do not expect to be passed +1 objects. John. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: xCode troubles

2019-05-15 Thread John McCall
On 15 May 2019, at 11:40, Peter Hudson wrote: Hi John As things are now working ok again - the relevant files have been refreshed - there is probably little point in my sending you the project. If the problem occurs again, I’ll send the project over for you to have a look at. Okay, thanks

Re: xCode troubles

2019-05-14 Thread John McCall
On 15 May 2019, at 0:35, Richard Charles wrote: On May 14, 2019, at 10:19 PM, John McCall wrote: It's unfixed because it's apparently very hard to reliably reproduce. If you have reliable steps for reproduction, we'd be very interested. Perhaps Peter Hudson could send you his

Re: xCode troubles

2019-05-14 Thread John McCall
alarming, because it's 36.5 million numbers earlier; judging my library of old and still-open bugs, that would put it at mid-2011 or so...) It's unfixed because it's apparently very hard to reliably reproduce. If you have reliable steps for reproduction, we'd be very interested. John

Re: NSComboBox

2018-07-25 Thread John Harte
table to Selectable and it works, I can select from the list but I can’t type in text. Hope that helps, John signature.asc Description: Message signed with OpenPGP ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

How to include UIColor picker in code-completion in Swift playgroundbook

2018-02-13 Thread John Michael Zorko
-completion(playSound(), setLightColor(), UIColor(), show) Regards, John ___ 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

Re: Customizing NSPrintPanel by removing features, not adding

2017-10-17 Thread St John, David R
Hi Flavio, Presenting your custom print dialog (Adobe/Quark do this today) is the only way to accomplish all of the goals stated below. The standard print dialog isn’t designed to be customized in the way you want. Printing has never had much in the way of documentation, reading the header

Re: Is "-init" really needed?

2017-08-10 Thread John McCall
leases done by -autorelease can still be reclaimed by objc_retainAutoreleasedReturnValue. The autorelease-reclaim optimization is not reliable, and there are a number of caveats that make testing it tricky. That is why we generally refer to it as an optimization, rather than claiming it as a

Re: Who owns a child view controller?

2017-07-14 Thread John McCall
to understand the details behind abstractions. Especially with ARC, those details can matter a lot when you're tracking down a bug. And it also matters a lot for performance; for example, there are times when ARC does autorelease something to keep it alive, and if that autorelease is burning yo

Re: Sierra Document Handling

2017-04-06 Thread John Brownie
think you need to worry about it. John Richard Charles <mailto:rcharles...@gmail.com> 6 April 2017 at 06:27 Since switching to macOS 10.12 Sierra I am getting tons of document handling messages in the Xcode debug console for my document based application. // Delete existing document then

Re: NSMutableData +dataWithLength: sets errno?

2017-03-14 Thread John McCall
> expected behavior? I don't know why it's happening here, but unless you're calling a function that specifically documents its errno behavior, you should assume that every call you make might randomly overwrite errno with gibberish. John. ___ C

Re: Table selection and bindings

2017-02-14 Thread John Brownie
want to break it. When I get that far in the Swift rewrite, then I can poke at it some more in the hope of making it cleaner. Hopefully all will be well, so thanks for the pointers. John Quincey Morris <mailto:quinceymor...@rivergatesoftware.com> 14 February 2017 at 20:45 +1 what Kear

Table selection and bindings

2017-02-14 Thread John Brownie
that now the inspector is still pointed at an object, but there's no selection, and the logic goes badly wrong. Am I doing things incorrectly, or is there something that I can do to ensure that the change to the underlying array shown by the table triggers a selection change? -- John Brownie

Re: Debugging a privileged helper

2017-01-27 Thread John Brownie
e binary with the linker flag -sectcreate __TEXT __launchd_plist (path to the file). The launchd plist is exactly analogous to the tool that is already working, just the identifiers changed. -- John Brownie In Finland on furlough from SIL Papua Ne

Re: Debugging a privileged helper

2017-01-26 Thread John Brownie
th the appropriate code proxy.authenticatedCreateDirectory(url: location, authorization: authorization) { handler($0, $1) } == All of this is derived from Even Better Authorization Sample, translated to Swift. -- John Brownie In Finland on furlough from SI

Debugging a privileged helper

2017-01-26 Thread John Brownie
ideas on how to track down the problem. Any suggestions? Thanks in advance! -- John Brownie In Finland on furlough from SIL Papua New Guinea ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

FSEventStreamCallback in Swift

2017-01-24 Thread John Brownie
), scanInterval, FSEventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)) I may well have the wrong way of handling the conversion through the context with all the unsafe pointer types, as I'm still rather new to Swift. -- John Brownie In Finland on furlough from SIL Papua New Guinea

Is SMJobBless still the correct way to do authorisation?

2017-01-09 Thread John Brownie
can learn from? How will mixing Objective-C in the helper application and Swift in the main application work in practice? Any other advice? Thanks, John -- John Brownie In Finland on furlough from SIL Papua New Guinea ___ Cocoa-dev mailing list (Cocoa

Re: Giving names to undo actions

2016-12-21 Thread John Brownie
actually doing the work. The other is to check whether we're undoing and not set the name in that case. At present I'm leaning towards the latter. John Quincey Morris <mailto:quinceymor...@rivergatesoftware.com> 21 December 2016 at 10:44 On Dec 21, 2016, at 00:06 , John Brownie <

Giving names to undo actions

2016-12-21 Thread John Brownie
y when you are actually doing the original action, and not when doing the undo version of it. Is that a correct interpretation? If so, how do you implement it? Do you test the NSUndoManager's undoing property and only set the name if it is NO? Any insights welcomed! John -- John Brownie In Finl

Re: didPrint selector not called

2016-12-16 Thread John McCall
> On Dec 16, 2016, at 11:33 AM, Jeremy Hughes <moon.rab...@virginmedia.com> > wrote: >> On 16 Dec 2016, at 19:29, John McCall <rjmcc...@apple.com> wrote: >> >>> On Dec 16, 2016, at 11:24 AM, Jeremy Hughes <moon.rab...@virginmedia.com> >>>

Re: didPrint selector not called

2016-12-16 Thread John McCall
eem right to you? You're overriding printDocumentWithSettings to ignore the passed-in delegate and selector. Unless you're certain that the passed-in delegate and selector are never useful, you're probably breaking something. John. > > Jeremy > > -- > >> On 16 Dec 2016, at 18:26, Quinc

Re: didPrint selector not called

2016-12-16 Thread John McCall
sume it probably isn't. It does seem kindof weird to be ignoring the delegate/selector pair that was passed in, though. John. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: function signature specialization crashlog

2016-10-31 Thread John McCall
u're interested in helping fix the compiler, > that's great, > but you should be bringing this up on swift-dev. If you're just trying to > figure out how > to get the Swift compiler to stop crashing on your code, the crash logs > probably > aren't going to help that much. >

Re: function signature specialization crashlog

2016-10-31 Thread John McCall
ld be going on? I'm afraid not. Please file a radar. John. > > cheers, > Torsten > > 0 Foo 0x0001000b8e10 > > function signature specialization <Arg[0] = Owned To Guaranteed, Arg[1] = > Owned To Guaranteed> of Foo.S

Re: Traceback from [SFLList removeItem:]

2016-10-26 Thread John Brownie
is still pretty exciting, though less so for my wife, who is the Finn. -- John Brownie In Finland on furlough from SIL Papua New Guinea ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Traceback from [SFLList removeItem:]

2016-10-26 Thread John Brownie
libsystem_pthread.dylib 0x000100e9e8c2 _pthread_wqthread + 1299 12 libsystem_pthread.dylib 0x000100e9e39d start_wqthread + 13 I assume that I can safely ignore these as someone leaving debug printing on, since all continues to work. Or do I need to worry? -- John Brownie

Re: Normalising file names on macOS

2016-09-22 Thread John Brownie
() to case-fold the string,*after* normalising, before using it as a dictionary key.) John -- John Brownie In Finland on furlough from SIL Papua New Guinea ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Normalising file names on macOS

2016-09-22 Thread John Brownie
s. I could perhaps create a scratch file with the given name, but that runs into the possibility of different file systems. Still, if there's no better option, I can work with that. Oh, and if it makes any difference, I'm supporting back to OS X 10.8 currently. John -- John Brownie In F

Normalising file names on macOS

2016-09-22 Thread John Brownie
g] returns "A string made by normalizing the string’s contents using the Unicode Normalization Form D." That seems not to give what I need, but I haven't seen a better option. Is there such a method? John -- John Brownie In Finland on furlough from

Re: Can initialKey & initialValue be set via bindings?

2016-06-16 Thread John Chacho
ore compiling and running. On Thu, Jun 16, 2016 at 2:40 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Jun 15, 2016, at 21:23 , John Chacho <jcha...@gmail.com> wrote: > > > If not, how can I add an arbitrary new record into the dictionary? > > &g

Can initialKey & initialValue be set via bindings?

2016-06-15 Thread John Chacho
kTextfield.stringValue) But despite the Model Key Path re-assuredly auto-completing to: "self.kTextfield.stringValue", it does not work. The values entered in the table are blank. Is there a way to bind initial key and initial value to textfield values using the Bindings Inspector? If not, how can I

Re: Problem about math library and the standard namespace of Apple Clang

2016-05-12 Thread John McCall
call your function. You should not declare functions in the global namespace with the same name as C library functions unless you really do mean to override them. John. > I also compile the following C/C++ codes: > > ,--- > | #include > | #include > | &

Re: How to keep things alive in Arc?

2016-05-10 Thread John McCall
or its full scope. You should use the precise-lifetime attribute. John. ___ 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

Re: Receiver type for instance message is a forward declaration

2016-05-06 Thread John McCall
un]; <-- ERROR HERE > > return op != nil; > } > > The error I'm getting is: Receiver type 'RAOperation' for instance message is > a forward declaration. > > What does this error mean, and how can I fix it? It means you haven't #included the header with the @

Re: Converting to ARC and blocks

2016-05-02 Thread John McCall
> On May 2, 2016, at 11:30 AM, Steve Mills <sjmi...@mac.com> wrote: > > On May 02, 2016, at 12:58 PM, John McCall <rjmcc...@apple.com> wrote: > > > You don't have to declare something with __block just to use it in a block. > > __block specifically mean

Re: Converting to ARC and blocks

2016-05-02 Thread John McCall
that retain. That doesn't work in ARC, because assigning to a __strong __block variable retains the new value, just like assigning to any other __strong variable. So the migrator tries to recognize __block variables that are being used that way (i.e. __block variables that are never modified

Re: BOOL parameter passed as nil object

2016-04-19 Thread John McCall
the right to find a way to miscompile your program. We strongly encourage you not to worry about any of this and just always call methods using the right method signature. John. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Codesign broken in 10.11.4

2016-04-07 Thread John Pannell
- hope this helps! John On Thu, Apr 7, 2016, at 08:13 AM, Trygve Inda wrote: > My app is built on 10.11.3. It is a prefPane with one command line tool > and > three app bundles (four helper tools) in it's bundle. I am getting > GateKeeper warnings on 10.11.4 systems, but not on a

Re: Creating NSXMLDocument programmatically

2016-03-22 Thread John Brownie
___ 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:

Creating NSXMLDocument programmatically

2016-03-22 Thread John Brownie
pointers. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea ___ Cocoa-dev

Re: Reading XML 1.1

2016-03-19 Thread John Brownie
On 14/03/2016 19:14, John Brownie wrote: Is it possible to read an XML 1.1 file using NSXMLDocument? The crucial thing for my purposes is that the character set allowed in XML 1.1 is larger. XML 1.0 defines characters as: Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD

Reading XML 1.1

2016-03-14 Thread John Brownie
the RestrictedChar characters, but NSXMLDocument apparently only handles the XML 1.0 character set. Is there a way to make NSXMLDocument handle the fuller character set? If not, is there an alternative that will enable me to parse an XML 1.1 file with a minimum of effort? Thanks, John -- John

Re: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?

2016-03-04 Thread John McCall
InstanceCache.m >> >> This can get a bit complex but its all doable. > > Block objects can help. clang supports block objects in plain C code > (-fblocks, I think). They're just enabled by default on our platform in all language modes. John. > Your Objective-C code can

cycle windows

2016-02-26 Thread John Weeks
Is there a way to query the keyboard equivalent for Cycle Windows? Or maybe a notification of some sort that Cycle Windows has been triggered? Thanks! -John Weeks WaveMetrics, inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

[OT] Forums for Web Development?

2016-02-15 Thread John Bartleson
After getting many great tips from this list over the years, I find myself needing to switch gears and do some web development. I'm starting on a server-based app that will be the front end to a SQL database that may grow to be very large. Although it's easy to find info on the basic

NSDateFormatter behavior

2016-02-13 Thread John MacMullin
setAutomaticQuoteSubstitutionEnabled:NO]; and [aTextView setAutomaticTextReplacementEnabled:NO]; but can’t figure out how to get the textfield textview from the NSFormCell. This of course assumes that this is the correct direction to take. Any ideas? Best regards, John ___ Cocoa

Re: LGPL code in the Mac App Store?

2016-01-29 Thread John Daniel
com > <mailto:cocoa-dev-requ...@lists.apple.com> wrote: > > I think that this is a slightly uncharitable view of OSS devs, but not > terribly inaccurate. John Daniel Etresoft, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: 32-bit / 64-bit roadmap

2016-01-21 Thread John McCall
>> >> All we can know is that deprecation will come no sooner than June (10.12 >> Tehachapi), withdrawal no sooner than June of 2017 (10.13 San Quentin). > > Unrelated, but… are these the official code names? Well, not anymore. :) John. __

Re: Why doesn't SMJobBless sample work?

2016-01-11 Thread John Brownie
to SMJobBless() its daemon. Now — any heads-up or hint will be greatly appreciated. You want the Even Better Authorization Sample Code rather than SMJobBless. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New

Re: Cocoa-dev Digest, Vol 13, Issue 14

2016-01-11 Thread John Brownie
On 12/01/2016 14:08, Eden Smallwood wrote: On 11/01/2016 18:44, Motti Shneor wrote: You want the Even Better Authorization Sample Code rather than SMJobBless. John I don't think he does. The E. B. A. S. C. relies on AEWP, which is utterly, hopelessly, unspeakably deprecated

Re: Hurdles in converting to Swift

2015-12-24 Thread John Brownie
On 24/12/2015 11:49, Quincey Morris wrote: On Dec 23, 2015, at 17:38 , John Brownie <john_brow...@sil.org <mailto:john_brow...@sil.org>> wrote: 2015-12-24 10:43:40.664 AppName[10464:1086828] Unknown class SearchViewController in Interface Builder file. Try going to the ins

Hurdles in converting to Swift

2015-12-23 Thread John Brownie
cleaned the build folder, but it still happens. Any wisdom on how to proceed? John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea Mussau-Emira language, Mussau Island, New Ireland Province, Papua

Re: Hurdles in converting to Swift

2015-12-23 Thread John Brownie
___ 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:

xcodebuild and PMD

2015-11-26 Thread John Michael Zorko
code (and there will only be more of it as time goes on). Any help would be quite appreciated! Regards, John ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: xcodebuild and PMD

2015-11-26 Thread John Michael Zorko
> On Nov 26, 2015, at 12:21 PM, Alex Zavatone wrote: > > What’s PMD? https://pmd.github.io ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

AppleEvents: Send port for process has no send right, port=( port:37207/0x9157 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526)

2015-11-21 Thread John MacMullin
, John MacMullin ___ 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

Re: Assigning an element of a swift array to a userdata parameter triggers didSet

2015-11-18 Thread John McCall
as the user data; you can construct a pointer from an Int like this: UnsafePointer(bitPattern: i) and get the Int back like this: unsafeBitCast(ptr, Int.self) The fact that the latter is apparently the only interface for getting back to an Int is probably a bug. John. ___

Re: New warning in Xcode 7

2015-10-13 Thread John McCall
o something else? I’ve > used this form of expression for years without any issues, why is it suddenly > one? Pre-increment is defined to return the value that would be stored in its operand. The actual store to the operand is indeterm

Re: NSThread subclass get blocked on 'start' method call

2015-09-28 Thread John Daniel
are doing something in that callback that blocks the UI. Even then, schedule your callback on the UI run loop and have your callback spawn the thread or async block. And that API is deprecated in iOS9 anyway. If you don’t need to support iOS 8 or earlier, use the new Contacts API. John Daniel ___

Re: -[NSThread start] blocks ?!?

2015-09-28 Thread John Daniel
> On Sep 28, 2015, at 12:13 AM, cocoa-dev-requ...@lists.apple.com > <mailto:cocoa-dev-requ...@lists.apple.com> wrote: > > Thank you, John. You are referring to what my secondary thread is doing. My > point is that if we can’t at least rely on -[NSThread st

Re: -[NSThread start] blocks ?!?

2015-09-27 Thread John Daniel
that any shared access uses that serial queue, but I find GCD much more straightforward. You may end up blocked in a semaphore again, but it will be your own semaphore and you can more easily debug it. John Daniel ___ Cocoa-dev mailing list (Cocoa

Re: Error unwrapping an optional which isn't an optional

2015-09-21 Thread John Daniel
I think the optional in question is the IB object. You may be accessing this property before your nib is completely setup. John Daniel Sent from my iPad ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Identifying a specific Mac model

2015-09-15 Thread John Daniel
it on a new MacBook. It does seem to work, but my confidence is based more on faith than works. John Daniel i...@etresoft.com > On Sep 15, 2015, at 4:16 PM, Marek Hrušovský <xhrus...@gmail.com> wrote: > > Can you please tell us the path? > You can load it with mentioned method, then

Re: Identifying a specific Mac model

2015-09-15 Thread John Daniel
There is a gold icon in the system. I am hopeful that this method will retrieve it, if running on a gold MacBook. If not, people are reporting that it at least displays a silver MacBook icon and that’s as good as I can do on my own. John Daniel > On Sep 15, 2015, at 2:54 PM, Marek Hrušov

Re: Identifying a specific Mac model

2015-09-15 Thread John Daniel
if it will display in gold on a new MacBook, but it seems to work on two MacBookPros and an iMac. John Daniel i...@etresoft.com > On Sep 14, 2015, at 12:43 PM, Jean-Daniel Dupas <mail...@xenonium.com> wrote: > > If you just want to current machine icon, just

Re: Identifying a specific Mac model

2015-09-14 Thread John Daniel
web service that returns parseable XML. I don’t know if there is any query that will give me the machine icon. John Daniel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li

Identifying a specific Mac model

2015-09-13 Thread John Daniel
that provides similar information. Is there anything like this for the Mac? Thanks, John Daniel ___ 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

Crash in printing

2015-07-30 Thread John Brownie
myself, I can't tell what to look for. Any suggestions? John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province | New Ireland Province Papua New Guinea

Re: Drag highlight problems

2015-07-20 Thread John Brownie
On Mon Jul 20 2015 20:39:12 GMT+1000 (PGT) Uli Kusterer wrote: On 20 Jul 2015, at 04:36, John Brownie john_brow...@sil.org wrote: Everything works correctly except for the drag highlight. Sometimes, and I haven't been able to work out what the sequence is, the drag highlight will be left

Drag highlight problems

2015-07-19 Thread John Brownie
something wrong? John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province | New Ireland Province Papua New Guinea | Papua New Guinea

Drag highlight problems

2015-07-19 Thread John Brownie
something wrong? I'm on OS X 10.10.4, Xcode 6.4. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province | New Ireland Province Papua New Guinea | Papua New Guinea

Re: Swift 2.0

2015-07-02 Thread John Tsombakos
There’s this: The Swift Programming Language (Swift 2 Prerelease) https://itunes.apple.com/us/book/swift-programming-language/id1002622538?mt=11 https://itunes.apple.com/us/book/swift-programming-language/id1002622538?mt=11 On Jul 2, 2015, at 12:59 PM, William Squires wsqui...@satx.rr.com

Re: Going back to non-ARC

2015-06-13 Thread John Brownie
memory errors have been fixed by this. Thanks for the pointers that eventually led to a solution. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province | New Ireland Province

Going back to non-ARC

2015-06-12 Thread John Brownie
, and I think I should be releasing strong properties. What about IBOutlets that are declared as strong? Do they have to be released as well, or is there some magic in nib handling that makes that unnecessary? Any advice welcome before I go back to testing and looking at leaks, etc. John -- John

Re: Going back to non-ARC

2015-06-12 Thread John Brownie
On Fri Jun 12 2015 18:45:49 GMT+1000 (PGT) Ken Thomases wrote: On Jun 12, 2015, at 3:18 AM, John Brownie john_brow...@sil.org wrote: Having worked with ARC code for a long while, I discovered an incompatibility with a library that means I have to convert to non-ARC code. Before we address

Re: Going back to non-ARC

2015-06-12 Thread John Brownie
On Fri Jun 12 2015 21:11:26 GMT+1000 (PGT) Alex Zavatone wrote: Got a link to the iibrary? https://github.com/refnum/nano/tree/master John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern

How to debug a binding exception?

2015-06-02 Thread John Brownie
libdyld.dylib`start + 1 My problem is that I don't know what binding would be causing the problem. Is there a way to find out which it is? John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern

Another bindings question

2015-06-02 Thread John Brownie
and error, as I haven't really found a good guide to this whole area, so I would be happy to have a better solution. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province

Re: Another bindings question

2015-06-02 Thread John Brownie
___ 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:

Re: How to debug a binding exception?

2015-06-02 Thread John Brownie
___ 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:

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-21 Thread John McCall
be an issue with autosynthesized properties. The synthesized ivar name algorithm is not an implementation detail. It is fully specified as follows: the compiler prepends a ‘_’ to the property name. Do not worry about future releases of the language changing the ivar name. John

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread John McCall
at it is that the setter is buggy. You should probably make the property readonly and just directly assign to the ivar in -init. John. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Yet more new information. Was: Re: Weird UITableView problem

2015-04-30 Thread John Tsombakos
My two cents.. I just tried this on a MacPro, 10.10.3 and Xcode 6 (6.3.1) and no matter which device I run in the simulator and scale factor, i can see all the items in the list. If looking at the iPad Air, thye all fit on the screen without scrolling. Smaller devices I have to scroll the table

Re: Finder not responding to [NSRunningApplication activateWithOptions]

2015-04-08 Thread John Joyce
On Apr 8, 2015, at 11:38 PM, Ken Thomases k...@codeweavers.com mailto:k...@codeweavers.com wrote: On Apr 8, 2015, at 9:19 AM, Tomáš Znamenáček tomas.znamena...@gmail.com mailto:tomas.znamena...@gmail.com wrote: I should have mentioned that Finder behaves unlike other apps in this

Re: Runtime message on Yosemite seems spurious?

2015-03-19 Thread John Brownie
it, and it's probably somewhere in Apple's code. John -- John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg Summer Institute of Linguistics | Mussau-Emira language, Mussau Is. Ukarumpa, Eastern Highlands Province | New Ireland Province Papua New Guinea | Papua New Guinea

Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-22 Thread John Joyce
Why not use a framework ? This is exactly why they exist. To hold resources that can't be in a lib. Xcode 6 makes frameworks easy. Thanks! John Joyce Sent from my iPhone On 2015/02/22, at 20:17, Erwin Namal erwin.na...@gmail.com wrote: Thank you for your reply. I already use both Other

Re: Bindings and Editing in a row

2015-02-18 Thread John MacMullin
methods and with bindings. The other I cannot find in the docs. You would think that these intertwined relationships would be set out in the docs in a tidy fashion. On Feb 17, 2015, at 3:51 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Feb 17, 2015, at 12:35 , John

Bindings and Editing in a row

2015-02-17 Thread John MacMullin
it would appear that some of the table view methods operate independently of the bindings. Where is this documented? Best regards, John MacMullin ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

  1   2   3   4   5   6   7   8   9   10   >