> This toy can connect to the iphone's network by detecting the blinking
> screen of an iPhone. I wonder if it is possible that using this technique
> to transfer data.
Absolutely. Such techniques have been used for 150 years, using lamps or
reflected sunlight to send Morse-like codes to human o
>>
> Admittedly, I'm currently struggling to find a concrete example of why this
> is useful, but I just know it is:
This, I think, is one of those phrases that should give one pause when posting.
> Any app(s) should be able to register URL patterns they're able to handle. If
> the user take
> It's been about 4 or 5 years since I made this mistake but I've just seen a
> massive swath of code where every access of a dictionary object is using
> valueForKey instead of objectForKey.
>
> I've got a few examples of why this is a "really bad idea"™,
I would like to see these examp
> On Nov 10, 2015, at 15:21, Alex Zavatone wrote:
>
>
>> Yeah. Honestly, I'm looking for cases that would justify why all the
>> dictionary object access blocks in this code that use valueForKey are
>> wrapped with @try/@catch clauses. I've never seen cases with objectForKey
>> that would
> I opened a radar a while back and got this answer:
>
> "Shared file lists are no longer supported. There is no exact replacement
> API.”
> “If you want to manage your recent documents list, you should use
> NSDocumentController."
> “If you want to run a background tool independent of your main
> (I also don’t want to restart Xcode wars, but I do actually believe that the
> unified window style that arrived in Xcode 4 was an actual decision about
> which worked best, made by clever people who actually thought about it. It
> wasn’t — I believe — merely clueless. I also want to point out
> Second question:
> Finder says about the containing folder: 11,239 bytes (33 KB on disk) for 9
> items
> 11,239 = sum of TotalFileSizes of the 8 files in this folder.
> But where do the “33 KB on disk” come from? 8 times “Zero bytes on disk”
> should be zero, shouldn’t it?
Surely "xxx on disk
> I wish to provide a facility with a NSTableView wherein the leftmost
> (specifiable) columns remain statically on the left of the display
> (subject to vertical scrolling) while the remaining columns scroll
> normally constrained to the right of the static columns. I've done
> this succes
>> 2. The fact than an object is immutable does not (in general) mean that a
>> copy can be represented by the same object reference. For example, an object
>> that contained its own date of creation might be immutable, but a copy might
>> have a different date, and therefore be a different obje
> Does Apple allow a developer to limit the number of devices on which an app
> can run? I have an app that requires you to pay more to install it on more
> than one iPhone and two iPads. It should go without saying these are all on
> the same Apple ID.
>
> I thought Apple didn't allow this. Bu
Dave wrote:
> I hate it when people ask [why are you doing X]!
Decades of experience seeing such questions make us think that when someone is
asking how to do something extraordinary there's about 99% chance they don't
actually need to do it and are making things harder for themselves. Sometime
Aandi Inston wrote:
> (This is in addition to the five characters prohibited in strings because
> they are XML markup).
Minor nit. There are only 2 prohibited characters in XML, whether in a string
or out.
___
Cocoa-dev mailing list (Cocoa-dev@lists.ap
>> I have an idea for improving vibrancy
>
> Me too. Kill it.
Ditto. I look at vibrancy as Apple showing Microsoft how to do Glass right
without questioning whether it should be done at all. To me, "consume extra
resources in order to reduce the usability of the system" is a fundamentally
flaw
>> If you ask the wrong question, you get a wrong answer. :)
>
> Whether or not it was the wrong question is debatable.
Honestly I find that assertion suspect considering that you've moved the
goalposts three times.
___
Cocoa-dev mailing list (Cocoa-d
So, apparently iTunes 12.6 doesn't support older plugins any more. Has anyone
seen or heard news of a new SDK so those of us who have created plugins can
update them?
Greg
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
> Instead of doing the right thing when shift-clicking (selecting a range from
> the anchor), it simply adds/removes the clicked item to/from the selection.
> That's unlike pretty much any Apple matrix-of-items selection behavior ever.
You mean it selects like Finder icon views have since 1984?
> So, to answer my own question, I can "get this to work" using a custom
> NSComboBoxCell
> subclass, implementing -completedString.
>
> Having seen this in action I must confess this is a Bad Idea™.
You’re describing long-standing documented behavior and the correct approach to
achieve the a
Casey McDermott wrote:
> NSPanel is still modal, but longer lasting. We use it a lot, and it
> looks better than the modal dialogs in the current app.
I read in digest mode so maybe this has already been pointed out, but NSPanel
is not modal.
___
Coc
>> That would be poor API design. If it had -writeToFile, then it would also
>> need -writeToStream:, -writeToFileHandle:, -writeToFileDescriptor:,
>> -writeToNSURLSessionDataDelegate:, etc.
>> Providing the data itself means you can then use existing APIs on other
>> classes to put the data an
Sean McBride wonders:
> I was modernizing some of my code to support NSSecureCoding instead of just
> NSCoding and stumbled upon that fact that NSColor and NSImage support only
> NSCoding and not NSSecureCoding. Whereas NSURL, NSData, NSArray and
> countless others now support NSSecureCoding.
> This discussion about Swift vs Objective-C is interesting, but I think it
> omits something important. Both those languages only build apps for Apple
> products.
This was probably “omitted” because it’s not actually true.
___
Cocoa-dev mailing list (
> - I want to set the displayed contents of V to T2.
>
> What is/are the recommended way/s to do this?
>
> *I would hope that I could assign V.attributedString = T2, but alas the
> world does not seem to be this simple.*
The documentation suggests you should be working with the view’s textStorag
> I access the window of a view by two different ways, in the controller and in
> the view, resp., and in the controller, I always get a nil pointer.
Have you verified that the view you’re accessing in the controller is the same
instance as the one that works?
___
23 matches
Mail list logo