Re: How do decipher an exception in the log file

2023-07-18 Thread Ben Kennedy via Cocoa-dev
ng the base load address of the executable. A full-on crash report, rather than log messages, would be a lot more useful. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: How to convert path through container into standard form?

2022-12-11 Thread Ben Kennedy via Cocoa-dev
should be possible to resolve it. Indeed, it seems to work in a Swift REPL. Issuing... (URL(fileURLWithPath: "/Users/ben/Library/Containers/com.apple.ScreenSaver.Engine/Data/Pictures").resolvingSymlinksInPath().path as NSString).abbreviatingWithTildeInPath .

Re: Indexing broken for one project

2022-02-13 Thread Ben Kennedy via Cocoa-dev
thing different for your main user? -ben ___ 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 yo

Re: Accessing a property of a view via its controller doesn't work

2021-09-07 Thread Ben Kennedy via Cocoa-dev
> On Sep 6, 2021, at 2:14 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > I had assigned the window to an ivar window_ in viewWillMoveToWindow: > > - (void) viewWillMoveToWindow: (NSWindow *) newWindow > { >window_ = newWindow; I asked earlier, but I’ll ask again: why are you doing this?

Re: Accessing a property of a view via its controller doesn't work

2021-09-04 Thread Ben Kennedy via Cocoa-dev
MyView, declared like this: > > @interface MyView : NSView CAAnimationDelegate> > { >NSWindow * window_; >... > } > @property (readwrite) NSWindow * window_; What’s the purpose of this? NSView already has a `window` property that returns its parent window. Why

Re: How to distinguish between different MS Teams statuses

2021-07-22 Thread Ben Kennedy via Cocoa-dev
in a future version such that the window is called something else? The window-enumeration approach is coarse and fragile at best. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: Distributing Mac App to Registered Devices

2021-06-23 Thread Ben Kennedy via Cocoa-dev
> On 23 Jun 2021, at 12:22 pm, Richard Charles via Cocoa-dev > wrote: > > Yes, that is what I do now. However when upgrading to Xcode 12 it wants to > change the debug and release configuration to use development signing. > Notarized builds are reserved for archiving. Just saying that Apple

Re: MacOS: nonmodal NSAlert panel

2021-05-12 Thread Ben Kennedy via Cocoa-dev
n -= 1 > } > let timer = Timer(timeInterval: 1.0, repeats: true) { timer in > if countdown == 0 { > timer.invalidate() > NSApp.abortModal() > } else { > updateMessage() > } > } > updateMessage

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-09 Thread Ben Kennedy via Cocoa-dev
property list out of > NSData? Not in the typical meaning of the phrase. It's a poorly-named method. It returns a "property list object" (the important part being "object"), by which it means an object of a class which is suitable for

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-08 Thread Ben Kennedy via Cocoa-dev
> On 8 May 2021, at 5:32 pm, Alex Zavatone wrote: > > Well, what I’m not sure about are how to store the results internally. Do I > declare both an NSArray and an NSDictionary and check to see which one ended > up getting the proper result? Call

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-08 Thread Ben Kennedy via Cocoa-dev
Sounds like NSPropertyListSerialization is what you’re after. https://developer.apple.com/documentation/foundation/nspropertylistserialization b Sent from my iPhone > On May 8, 2021, at 5:12 PM, Alex Zavatone via Cocoa-dev > wrote: > > I’m reading a configuration plist like so. > >

Re: /Library/Application Support off limits?

2021-04-14 Thread Ben Kennedy via Cocoa-dev
suitable to use for sharing files that need to be > read and written by different users - /Users/Shared doesn't seem right Why not? -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

Re: Command line builds and tee(1) not writing file

2021-03-09 Thread Ben Kennedy via Cocoa-dev
> On 8 Mar 2021, at 3:36 pm, Jeffrey Walton via Cocoa-dev > wrote: > > Tee(1) is not writing the file for him, and I can confirm the > behavior. Here's how it is being used: > >./cryptest-ios.sh 2>&1 | tee cryptest-ios.txt Hey Jeff, I recall encountering a similar problem a few months

Re: Programmatically created NSButton is drawn in the wrong position.

2020-12-14 Thread Ben Kennedy via Cocoa-dev
; > [button sizeToFit]; > [button setFrameOrigin:NSMakePoint(position, 20)]; Since you're positioning the frames manually, you need to set setTranslatesAutoresizingMaskIntoConstraints = YES instead of NO. -ben ___ Cocoa-dev mailing list (Cocoa-d

Re: Bug reporting again.

2020-11-22 Thread Ben Kennedy via Cocoa-dev
ibName:bundle:]. But when a storyboard or nib is unarchived, -[initWithCoder:] is called instead. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderator

Re: Bug reporting again.

2020-11-22 Thread Ben Kennedy via Cocoa-dev
r IP address could not be found.”. Apple replaced Bug Reporter with Feedback Assistant months ago: https://developer.apple.com/bug-reporting/ The web site you're looking for is https://feedbackassistant.apple.com. -ben ___ Cocoa-dev mailing list (Cocoa-d

Re: Question about Info.plist's

2020-08-19 Thread Ben Kennedy via Cocoa-dev
> On 19 Aug 2020, at 7:45 pm, Michael Hall via Cocoa-dev > wrote: > > Something else I’m curious about is doesn’t this somehow invalidate any > application signing that’s been done? Code signing happens last, even if you put your shell script phase at the very bottom. (Observe the build

Re: Question about Info.plist's

2020-08-19 Thread Ben Kennedy via Cocoa-dev
ric (0-9) and period (.) > characters. The space breaks this. If you need a compound identifier like this, put it in a custom key in the Info.plist. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Question about Info.plist's

2020-08-19 Thread Ben Kennedy via Cocoa-dev
uot; or whatever. (But why not just take advantage of the existing CFBundleShortVersionString and CFBundleVersion?) -ben [1] https://developer.apple.com/library/archive/technotes/tn2259/_index.html: Under the heading "What's Next", about a third of the way down, the text seems to confuse "CFB

Re: Funny issue: one line in GUI is grey-ish

2020-08-09 Thread Ben Kennedy via Cocoa-dev
ke in a normal window (and, to my eye, everything else in the popover otherwise looks the same)! cheers, -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mo

Re: Thoughts on Cocoa source code

2019-10-09 Thread Ben Kennedy via Cocoa-dev
coa development question. Besides, nobody on this list will have an authoritative or succinct answer. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderato

Re: ARC

2019-08-23 Thread Ben Kennedy via Cocoa-dev
> On 23 Aug 2019, at 2:17 pm, Casey McDermott via Cocoa-dev > wrote: > > We allocate the controller in our app delegate class. It's a member but > apparently that is not a > strong enough reference, so the controller is released at the end of the > scope. What is best practice to hold a

Re: xCode troubles

2019-05-14 Thread Ben Kennedy
; judging my library of old and still-open bugs, that would put it at mid-2011 or so...) -ben > On 14 May 2019, at 3:20 pm, Peter Hudson wrote: > > Hi Jens > > Sorry my description was not clear. What happened is that the edit widget > panel would appear on the right hand sid

Re: Category errata in Objective-C

2019-03-29 Thread Ben Kennedy
me thing, which is exposing the symbol names to your interpreter or compiler for your convenient use as a programmer. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact t

Re: NSAlert

2018-09-10 Thread Ben Kennedy
> On 10 Sep 2018, at 11:06 am, Richard Charles wrote: > > On my development machine running 10.12.6 pressing the spacebar will dismiss > a simple NSAlert. This is because in System Preferences > Keyboard > > Shortcuts > Full Keyboard Access > All Controls was selected. (For some > reason it

Re: Can I generate a segue this way?

2018-06-06 Thread Ben Kennedy
On Jun 6, 2018, at 11:14 PM, Rick Aurbach wrote: > Working with a storyboard, I add a Tap Gesture Recognizer, connect it to the > label, and connect the segue to the gesture recognizer. I think I've set > everything up correctly, but tapping on the label does not trigger the segue. You might

Re: Best strategy to update view controllers in navigation stack after users edit data

2018-04-20 Thread Ben Kennedy
> On Apr 20, 2018, at 1:15 AM, Glen Huang wrote: > > I have an app where user can edit data and save to my server. I wonder what’s > the best way to update affected view controllers in the navigation stack? If I were to give a literal answer to your question, I'd suggest a

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Ben Kennedy
On Dec 4, 2017, at 2:53 PM, Rick Mann wrote: > I tried that. It doesn't work. > > MCP.m:262:54: Unexpected '@' in program Weird. I just tried it here, using your exact example, and it worked fine under Xcode 9.2. (I slapped it into my iOS app's

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Ben Kennedy
> On Dec 4, 2017, at 2:47 PM, Rick Mann wrote: > > #define NSSTR(s) (@ ## s) <-- magic; this > doesn't work > #define kSomeCStringConstant "foo" > ... > NSSTR(kSomeCStringConstant) You're close. The preprocessor is removing

Re: High Sierra Firmware Update

2017-09-26 Thread Ben Kennedy
> On Sep 26, 2017, at 7:25 AM, Richard Charles wrote: > > Question: Has anyone successfully upgraded the firmware an older Mac Pro when > installing High Sierra? I upgraded my MacPro5,1 without incident. However, the subsequent installation progress just hung the

Re: strange behaviour of hasPrefix

2017-05-03 Thread Ben Kennedy
lean value that indicates whether a given string matches the > beginning characters of the receiver. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: needsDisplay and subviews

2017-03-08 Thread Ben Kennedy
> On 08 Mar 2017, at 8:46 am, Jeremy Hughes wrote: > > If needsDisplay is set to true for an NSView, does that also cause subviews > to be redrawn? Admittedly I've been mostly doing iOS development for the last several years and barely any Mac lately, but,

Re: UTI and/or bundle-IDs with small letters

2017-03-02 Thread Ben Kennedy
> On 02 Mar 2017, at 11:38 am, Daryle Walker wrote: > > Turns out that the system gives me the UTI in all small letters, so my > (Swift) “switch” fails and my no-matching-type code is executed. I know I > could switch my bundle ID to all small letters, but I want to know

Re: Seeing nil passed to isEqual:, despite non-null declaration

2017-01-13 Thread Ben Kennedy
> On 13 Jan 2017, at 10:34 am, Quincey Morris > wrote: > > Did I miss a change in clang that made the default “not nullable”?? I read > the above declaration as meaning that the nullability is *unspecified*, which > implies that nil is allowed.

Re: Does setFormatter() retain?

2016-08-24 Thread Ben Kennedy
/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html#//apple_ref/doc/uid/TP40011210-CH5-SW3 https://developer.apple.com/library/mac/documentation/General/Conceptual/DevPedia-CocoaCore/ObjectOwnership.html#//apple_ref/doc/uid/TP40008195-CH67-S

Re: Does setFormatter() retain?

2016-08-24 Thread Ben Kennedy
on't. The legacy delegate stuff that you cited calls out the fact that they don't because it is contrary to normal expectations, and thus requires explicit concern by the caller. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: Thoughts on autolayout

2016-04-21 Thread Ben Kennedy
> On 21 Apr 2016, at 10:47 am, Ben Kennedy <b...@zygoat.ca> wrote: > > One is then left to hunt around in the damn list on the right in order to > find it and then delete it *again* from there in order to actually eviscerate > it. Oops; I meant the list on the left (the

Re: Thoughts on autolayout

2016-04-21 Thread Ben Kennedy
> On 21 Apr 2016, at 12:12 am, Quincey Morris > wrote: > 1. Part of the problem is branding. “Autolayout” actually refers to the > runtime layout engine, and what happens automatically is the runtime > relocation of UI elements according to constraints.

Re: Proper way to set up constants when building an iOS framework

2016-04-19 Thread Ben Kennedy
> On 19 Apr 2016, at 11:41 am, Quincey Morris > wrote: > > The (built) precompiled header files does *not* have extension “.pch”, While a trivial detail, this does not seem to be true (at least in Xcode 7.2). We have a prefix header called

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Ben Kennedy
events (user input) brokered by the table view. Perhaps in such a case there is additional UI-related work not suitable for inclusion in fireTheRockets. This decoupling enables you to separate these concerns. -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Ben Kennedy
> On Feb 27, 2016, at 11:01 AM, Carl Hoefs > wrote: > > The problem is that the delegate callback associated with selecting that row > doesn't occur. And indeed, I have since found that the documentation for this > method says: > > "Calling this method does

Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server

2016-02-10 Thread Ben Kennedy
If you actually took a look at the details, you'd see that the cert is for "ssl13.ovh.net" rather than "xenonium.com". If you visit https://ssl13.ovh.net in Safari you will see no such problem. Jean-Daniel did not expressly state that he's trying to serve anything at https://xenonium.com. -b

Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server

2016-02-10 Thread Ben Kennedy
> On 10 Feb 2016, at 5:00 pm, Gary L. Wade wrote: > > You've made my point. None of my friends would even bother with looking at > the certificate for his site (assuming that's his site from his email > address) and move on. At worst, they'd call me and I'd say

Re: App Transport Security exceptions App Store signed app

2016-01-26 Thread Ben Kennedy
Subdomains key for the latter domain. I imagine that if you either drop the 'www.' or add the NSIncludesSubdomains it might work...? -ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comme

Re: Settings.bundle settings disappear while running

2016-01-12 Thread Ben Kennedy
-quitting the Settings.app and relaunching it causes the stuff to show up again. This seemed only to be a problem during development. Is that what you're talking about? cheers, -ben > On 21 Dec 2015, at 12:52 pm, Eric E. Dolecki <edole...@gmail.com> wrote: > > Working on

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Ben Kennedy
> On 29 Nov 2015, at 3:00 pm, Shane Stanley <sstan...@myriad-com.com.au> wrote: > > On 30 Nov 2015, at 9:41 AM, Ben Kennedy <b...@zygoat.ca> wrote: >> >> Re-launch Preview, and observe that there is no way to undo this damage. As >> far as I can tell, one

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Ben Kennedy
> On 28 Nov 2015, at 5:20 pm, Quincey Morris > wrote: > > 1. Quit. This is intended to preserve all of the current state so that it can > be restored on relaunch. The idea is that the user can quit without changing > anything that’s going on, then

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Ben Kennedy
> On 29 Nov 2015, at 3:15 pm, Shane Stanley wrote: > > Then your claim that "there is no way to undo this damage" is incorrect. Open > an image in Preview, crop it, and quit. Open it again and you'll see the > document is marked dirty/Edited, and you can get back

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Ben Kennedy
> On 29 Nov 2015, at 3:34 pm, Shane Stanley wrote: > >> Is this what the average user expects? > > I don't know -- I don't think many of us here really count as average users. That's why I asked the question. If I, as a 20-year Mac power user find this baffling,

Re: Strange Message when Loading NIB

2015-10-23 Thread Ben Kennedy
> On 23 Oct 2015, at 4:38 am, Dave wrote: > > Please see methods below, these are in a Window Controller, I get the message > "Could not find image named ‘Outlook’.” in the log, but I have no clue why > this is being generated it what it means, it appears to be

Re: Drawing many different strings quickly

2015-10-01 Thread Ben
oth. I will have a small play with drawing options in case there more headroom that can be quickly gained, but am currently very happy. Thank you all for the assistance. - Ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Drawing many different strings quickly

2015-09-28 Thread Ben
> On 28 Sep 2015, at 17:08, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Sep 28, 2015, at 1:41 AM, Ben <ben_cocoa_dev_l...@yahoo.co.uk >> <mailto:ben_cocoa_dev_l...@yahoo.co.uk>> wrote: >> >> When scrolling vertically, there could be

Re: Drawing many different strings quickly

2015-09-28 Thread Ben
> On 27 Sep 2015, at 19:26, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Sep 27, 2015, at 10:42 , Ben <ben_cocoa_dev_l...@yahoo.co.uk > <mailto:ben_cocoa_dev_l...@yahoo.co.uk>> wrote: >> >> - Not all strings to be drawn

Drawing many different strings quickly

2015-09-27 Thread Ben
in the same font/size/colour - I can target the current (or current+1) OS version if that makes any difference Any pointers or suggestions gratefully accepted! - Ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Problem with Auto Layout and drawRect

2015-09-08 Thread Ben Kennedy
> On 07 Sep 2015, at 5:02 pm, Graham Cox wrote: > > Also, NSColor is immutable so there’s little purpose to having that property > ‘copy’, it can be ‘retain’ (or ‘strong’) and it will save you a small amount > of space per instance. As Dave said in his reply, isn't

Re: iOS 8.4: Converting a URL into a PHAsset

2015-07-29 Thread Ben Kennedy
On 29 Jul 2015, at 8:47 am, Carl Hoefs newsli...@autonomy.caltech.edu wrote: Ultimately, I'm simply trying to delete the asset: [PHAssetChangeRequest deleteAssets:@[asset]]; But you don't yet HAVE an asset; you seem to only have a regular file on disk, in an application's Documents

Re: iOS 8.4: Converting a URL into a PHAsset

2015-07-29 Thread Ben Kennedy
with it */ ; What are you ultimately trying to do? cheers, -ben ___ 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

Re: PSA: floor(NSFoundationVersionNumber) doesn't work with Yosemite or later

2015-07-10 Thread Ben Kennedy
On 10 Jul 2015, at 12:01 pm, Charles Srstka cocoa...@charlessoft.com wrote: What this means is that if you try to use an El Capitan-only feature and put it in a block that starts with a check on floor(NSFoundationVersionNumber) or floor(NSAppKitVersionNumber) to make sure it’s larger than

Re: UIPageViewController not resizing its child view controllers on rotation

2015-06-30 Thread Ben Kennedy
On 30 Jun 2015, at 7:30 am, Devarshi Kulshreshtha devarshi.bluec...@gmail.com wrote: Though pagination control has resized properly, view of added view controller has not resized properly. You haven't said so, but I presume that the UIPageControl belongs to your root view, and not

Re: Would you pay for a better table view?

2015-06-30 Thread Ben Kennedy
On 30 Jun 2015, at 4:10 pm, Michael David Crawford mdcrawf...@gmail.com wrote: Cocoa Touch's table view works for simple things but it is painful for anything fancy. Have you checked out UICollectionView, or as of this month, UIStackView? Were I to write a better table view, would any of

Re: NSWindow child window and key status

2015-06-16 Thread Ben
Thank you for the suggestion, unfortunately it does not fix the problem. I will probably end up using a tech support incident for this one. - Ben On 15 Jun 2015, at 23:50, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 15, 2015, at 13:38 , Ben ben_cocoa_dev_l

NSWindow child window and key status

2015-06-15 Thread Ben
it, but this might involve private API. Ideally I'd like to do it without having to subclass the parent window. Thank you for any pointers, Ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: [PSA] OSStatus.com -- Error code lookup

2015-06-01 Thread Ben Kennedy
On 01 Jun 2015, at 5:59 am, Uli Kusterer witness.of.teacht...@gmx.net wrote: It's a trick web devs use to get certain browsers to switch on UTF8 support, IIRC. Isn't that what Accept: and Content-Type: headers are for? Oh... apparently seems like a cheap workaround for broken MSIE:

Re: [PSA] OSStatus.com -- Error code lookup

2015-05-31 Thread Ben Kennedy
-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/ben%40zygoat.ca

Re: Custom NSView subclass - expressing the fact that a property affects the displayed image

2015-05-22 Thread Ben Kennedy
On 22 May 2015, at 6:03 am, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: I agree that it’s extra indirection, but since performance is never going to be an issue, I feel it’s a slight gain on tidiness and maintainability. I agree that it’s not a big deal for one property, but when

Re: NSFontPanel swamping the responder chain (and crashing)

2015-05-22 Thread Ben Kennedy
On 21 May 2015, at 1:33 am, Graham Cox graham@bigpond.com wrote: I can’t do a ‘po self’, even just typing it in, at this point, no matter how cunning I am at breaking at the right time. It seems as if there really isn’t enough info to resolve ‘self’ (the message is error: use of

Move a folder and update corresponding Finder sidebar favorite

2015-05-20 Thread Ben Staveley-Taylor
, — Ben. ___ 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

How do I prevent NSUserNotifications from being added to the notification list?

2015-03-24 Thread Ben Jones
scheduleNotification:notification]; Does anybody know how I can programmatically prevent the notification from being added to the notification list (the one that is opened by clicking on the icon at the top right of the screen)? Many thanks, Ben. ___ Cocoa-dev mailing list

Re: Responsive scrolling control with lots of subviews

2015-03-02 Thread Ben
On 2 Mar 2015, at 19:10, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 02 Mar 2015, at 19:26, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote: - Granularity of selection. For example single or multiple disconnected cells. NSTableView only gives me row or column. - Scrollable floating

Re: Responsive scrolling control with lots of subviews

2015-03-02 Thread Ben
On 2 Mar 2015, at 14:10, Mike Abdullah mabdul...@karelia.com wrote: On 2 Mar 2015, at 11:44, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote: Hi list, Since NSCell is apparently on the way out, I've been trying to build a new control I need using views. It's a cut-down spreadsheet-alike

Responsive scrolling control with lots of subviews

2015-03-02 Thread Ben
to achieve decent drawing/scrolling performance here? - Ben PS. I have tried using/subclassing NSTableView and have filed a bug for the functionality that I'm after (rdar://17406314 rdar://17406314 marked as dupe of rdar://2778108 rdar://2778108). ___ Cocoa

Re: Responsive scrolling control with lots of subviews

2015-03-02 Thread Ben
On 2 Mar 2015, at 15:45, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 02 Mar 2015, at 15:54, Ben ben_cocoa_dev_l...@yahoo.co.uk mailto:ben_cocoa_dev_l...@yahoo.co.uk wrote: On 2 Mar 2015, at 14:10, Mike Abdullah mabdul...@karelia.com mailto:mabdul...@karelia.com wrote: On 2 Mar

Re: Responsive scrolling control with lots of subviews

2015-03-02 Thread Ben
On 2 Mar 2015, at 17:42, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Mar 2, 2015, at 02:44 , Ben ben_cocoa_dev_l...@yahoo.co.uk mailto:ben_cocoa_dev_l...@yahoo.co.uk wrote: Since NSCell is apparently on the way out, I've been trying to build a new control I need

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Ben Kennedy
On 04 Feb 2015, at 8:26 am, Alex Zavatone z...@mac.com wrote: Looking at the UIScrollView to which they applied, I couldn't make heads or tails of how the constraints listed in the console translated into the constraints on the only UIScrollView in the XIB. I don't suppose you saved a copy

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Ben Kennedy
On 04 Feb 2015, at 1:08 pm, Alex Zavatone z...@mac.com wrote: Thanks Kyle. The thing that scares me here is that I have no idea why this started failing and why it stopped, so I'm afraid it could stop working at any time without knowing why. Kyle already gave you a likely reason: you have

Re: NSTableCellView Constraints?

2015-01-27 Thread Ben Kennedy
to resize in accord. This very fact is a blessing, since it affords you control. Perhaps you have a view you'd like right-justified? Or proportionally sized? Is UIKit supposed to guess this? b -- Ben Kennedy, chief magician Zygoat Creative Technical Services http://www.zygoat.ca

Re: Adding constrains for anonymous buttons

2015-01-25 Thread Ben Kennedy
= [NSLayoutConstraint constraintsWithVisualFormat:format options:0L metrics:nil views:views]; b -- Ben Kennedy, chief magician Zygoat Creative Technical Services http://www.zygoat.ca ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: What's up with the Cocoa Text System?

2015-01-23 Thread Ben Kennedy
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/ben%40zygoat.ca This email sent to b...@zygoat.ca

AVCaptureInputPortFormatDescriptionDidChangeNotification confusion

2014-11-29 Thread Ben
I'm trying to get the video dimensions by using AVCaptureInputPortFormatDescriptionDidChangeNotification however the width height returns a number way higher than I am expecting. Expecting 320/480 or similar but getting width = 1088784512, height = 1819304813. Any ideas what I am doing wrong?

Re: Is it possible to read your own quarantine info after launch?

2014-11-29 Thread Ben Staveley-Taylor
to host a different build, but probably a config file is the way to go. — Ben. On 28 Nov 2014, at 22:18, Ken Thomases k...@codeweavers.com wrote: On Nov 28, 2014, at 10:14 AM, Ben Staveley-Taylor ben.staveley-tay...@oracle.com wrote: I want to determine from which server my application

Is it possible to read your own quarantine info after launch?

2014-11-28 Thread Ben Staveley-Taylor
-quarantined it and the info is gone. Is there a way to access the quarantine info after launch? Or is there another way to determine where the downloaded app came from? Thanks. — Ben. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: How do I show application-specific data on a web page?

2014-10-19 Thread Ben Kennedy
; it would probably fit your bill very well. In my day job we use it for generating a variety of both simple (in-app based) and complex (user-content-driven) HTML and text files. [1] https://github.com/groue/GRMustache b -- Ben Kennedy, chief magician Zygoat Creative Technical Services http

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-22 Thread Ben Kennedy
LeftMenuViewController instance (the class which according to your trace is making the call) simply calls presentViewController on itself instead? b -- Ben Kennedy, chief magician Zygoat Creative Technical Services http://www.zygoat.ca ___ Cocoa-dev

Printing onto custom paper (filling in forms)

2014-08-28 Thread Ben
a scaling factor from points to any physical unit? I'll also need to precisely position drawn strings in the view to print, so will presumably need to translate points to physical dimensions when drawing too. Can anyone point me to something that might explain how to proceed here? Thanks, Ben

Re: Printing onto custom paper (filling in forms)

2014-08-28 Thread Ben
On 28 Aug 2014, at 15:01, Keary Suska cocoa-...@esoteritech.com wrote: On Aug 28, 2014, at 7:20 AM, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote: I'm trying to make a tool for myself to fill in some repetitive forms. They've got a custom paper size with a series of boxes to be filled

Re: Quickie about constraints

2014-08-18 Thread Ben Kennedy
Thank you Charles and Roland for pointing out that section of documentation, and correcting in detail my mis-advice in the first reply. Going back to what Kyle replied to me originally: Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the views in question? Then you

Re: Quickie about constraints

2014-08-15 Thread Ben Kennedy
On 15 Aug 2014, at 8:17 pm, Graham Cox graham@bigpond.com wrote: What I really want is that part of my view hierarchy to be free to use -setFrame:, but other parts use the autolayout constraints normally. Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the views

Backup eligibility (iCloud/iTunes) for iOS shared app group container

2014-08-13 Thread Ben Kennedy
container seems like the reasonably obvious thing to do. thanks, -ben ___ 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: iBeacons - can 100 different devices be active and seen by one device?

2014-07-18 Thread Ben Kennedy
range is but surely quite a number of bits). Having said this, determining the relative proximity based solely on RSSI didn't seem to be particularly straightforward in practice, especially if there a bunch of them nearby. cheers, -ben On 17 Jul 2014, at 7:33 am, Jim Adams jim.ad...@sas.com

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-14 Thread Ben Kennedy
) withBytes:newBytesPtr length:1024]; ...? -ben ___ 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

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-14 Thread Ben Kennedy
chunk of data (whatever size). -ben ___ 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

unsubscribe

2014-05-27 Thread Ben Kazez
On May 27, 2014, at 3:41 PM, cocoa-dev-requ...@lists.apple.com wrote: Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit https://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message

Re: Black treatment showing when an iOS 7 only application is in the background

2014-05-27 Thread Ben Kennedy
On 27 May 2014, at 11:52 am, Alex Zavatone z...@mac.com wrote: But, it appears that even when using Inferred for view controllers' Simulated Metrics, Inferred is being ignored and is being replaced with Black Opaque. I thought that the simulated metrics stuff in IB were exactly that --

Re: Where are the errors in NSOSStatusErrorDomain defined?

2014-05-21 Thread Ben Kennedy
___ 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/ben

Re: Client certificate extraction out of SSL/TLS Connection on server side

2014-05-15 Thread Ben Kennedy
-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/ben%40zygoat.ca This email sent to b

Type of text field used by Xcode's Jump to Line?

2014-05-13 Thread Ben Golding
In an app I'm working on, I'd like to use a very basic text input field just like the one used by Xcode's NavigateJump in File (aka, cmd-L) but I don't know what it's called so I can't look it up. Could someone let me know what it's called? Thanks, Ben. smime.p7s Description: S

Re: Type of text field used by Xcode's Jump to Line?

2014-05-13 Thread Ben Golding
On 14 May 2014, at 11:52 am, Kyle Sluder k...@ksluder.com wrote: On May 13, 2014, at 6:31 PM, Ben Golding b...@object-craft.com.au wrote: In an app I'm working on, I'd like to use a very basic text input field just like the one used by Xcode's NavigateJump in File (aka, cmd-L) but I

NSTextFinder vs NSTableView -- mano a mano showdown

2014-04-15 Thread Ben Golding
it would be nice if there was a way for it to offer a regular expression option for power users. Thanks, Ben. smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Remove redundant AM/PM when formatting a time range?

2014-04-15 Thread Ben Kazez
as a starting point, for more consistency? Perhaps it would be simpler to simply split the formatted time strings on -- not the correct solution, to be sure, but it seems to work in a wide range of locales. Ben ___ Cocoa-dev mailing list (Cocoa-dev

Re: Retain count in non ARC

2014-04-06 Thread Ben Kennedy
seemed to be well documented or explained when properties were first introduced. b -- Ben Kennedy, chief magician Zygoat Creative Technical Services http://www.zygoat.ca ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

  1   2   3   4   5   6   7   >