State restoration Debugging

2016-10-10 Thread Alex Kac
got it all working once. Then I went to apply it to another tab and its View controllers, and I’ve never gotten it to work again. I’ve always hated working with state restoration, and I’m about to go old-school. Alex Kac ___ Cocoa-dev mailing list

Re: Replacement for CGContextSelectFont ?

2016-09-15 Thread Alex Kac
; > > I would appreciate any hints about how I can replace this function. Any > pointers and insights will be highly appreciated. > > Best regards, > Gabriel. > > Alex Kac ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Re: Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
*)splitViewController I was passing the view controller itself - not its parent navigation controller. > On Aug 29, 2016, at 11:29 AM, Alex Kac <a...@webis.net> wrote: > > I thought so as well. This is a pretty major project - 1600 classes, Mac/iOS > targets, and several third party librar

Re: Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
on removeFromSuperview? > On Aug 29, 2016, at 11:06 AM, David Duncan <david.dun...@apple.com> wrote: > > >> On Aug 29, 2016, at 9:57 AM, Alex Kac <a...@webis.net> wrote: >> >> I have a UINavigationController and UIViewController root that I set the &g

Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
I have a UINavigationController and UIViewController root that I set the toolbarItems on. I obviously also tell it not to hide the toolbar. Great! Works perfectly. But when I rotate, the toolbar is hidden - even if I rotate back to portrait. I've set all the "hides*" properties such as

Re: Core Data or not

2016-08-09 Thread Alex Kac
s been said so far. > > Alex Kac - El capitán ___ 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/

Reading in one window's frame auto-save size for another?

2016-08-01 Thread Alex Kac
size so I can apply it to another window? Alex Kac - El capitán ___ 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: Yosemite NSCollectionView appropriate for spreadsheet-like view?

2016-05-03 Thread Alex Kac
as that >> NSCollectionView from 10.11 onward did not do this... which Alex Kac just >> beat me to mentioning! I was curious if anyone was aware of limitations of >> this scope with that caveat. > > I dunno — I have a Mac app using NSCollectionView, and before I sent my

Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?

2016-05-03 Thread Alex Kac
ists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net > > This email sent to a...@webis.net Alex Kac - El capitán ___ Cocoa-dev mailing list (Cocoa-dev@

Re: NSTimer after Sleep

2016-04-29 Thread Alex Kac
ec > > I would expect the timer to fire rather soon now, but it never does. > The timer is not nil, is not invalid and has the correct fire time. > > What am I doing wrong? > > Gerriet. Alex Kac - El capitán ___ Cocoa-dev m

Re: Thoughts on autolayout

2016-04-21 Thread Alex Kac
milar. (b) Horizontal constraints are easily > made complete, because I account for each piece one step at a time from left > to right: leading constraint, width constraint, trailing constraint, etc. (c) > I don't worry about hugging priorities and the like until all else fails, >

Re: Getting displayName out of font file

2016-02-26 Thread Alex Kac
ing the ttf format (which probably would be rather >> too much): is there a way to get this? >> >> Ideally I would line to do: >> NSFont *font = [ NSFont fontFromFilePath: @“/path/to/Some Font.ttf” ]; >> NSString *displayName = font.disp

Re: How to record screen in iOS

2016-01-21 Thread Alex Kac
email sent to jche...@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.co

NSTableView/NSOutlineView row/view overlay

2016-01-18 Thread Alex Kac
Given a set of rows in an NSOutlineView, I want to add some “handles” that show up when you hover over a row. These handles would half cover the bottom of the view that is being hovered, and half cover the top of the row below it. Does anyone have any tips or anything to point me to how that

Re: Looking at moving part of our iOS app become an iOS framework to be used in other apps.

2016-01-15 Thread Alex Kac
e/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net > > This email sent to a...@webis.net Alex Kac - El capitán ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: NSTableView registerNib:forIdentifier: - multiple IDs in a single NIB

2016-01-14 Thread Alex Kac
able to send a confirmation right away as my wife called me for dinner. So confirmation: multiple views in a single NIB works. > On Jan 14, 2016, at 4:05 PM, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Jan 14, 2016, at 14:38 , Alex Kac <a..

NSTableView registerNib:forIdentifier: - multiple IDs in a single NIB

2016-01-14 Thread Alex Kac
I have a NIB with two views that I want to use depending on circumstances. I call one “weatherCell” and one “weatherCellNarrow”. I register it like this: - (NSString*)identifierForWeatherCell { return _narrowView ? @"weatherCellNarrow":@"weatherCell"; } nib = [[NSNib alloc]

Re: CG Error with popovers - known issue?

2016-01-01 Thread Alex Kac
We’ve seen the same issue. So its definitely an OS X issue. >> On 31 Dec 2015, at 9:32 AM, Jonathan Mitchell >> wrote: >> >> I am seeing the exact same issue with NSPopover on 10.11. >> The stack trace is identical. >> Did you manage to make any further progress with

Frameworks in the Helper LoginItems app

2015-12-23 Thread Alex Kac
I’ve got an app with a helper in the Contents/Library/LoginItems path. Both use AFNetworking.framework. I currently install AFNetworking.framework in the main app’s Framework path. I would like the helper to use AFNetworking from the main app’s Framework’s folder. I’ve tried setting the run

Re: Best Control for a Matrix these days?

2015-12-03 Thread Alex Kac
On El Capitan, NSCollectionView gives you the most control over row/column layout possible since it mirrors iOS and you can write your own collection layout flow. > On Dec 3, 2015, at 11:54 AM, Lee Ann Rucker wrote: > > That doesn't give you enough control over row/column

Swift circular imports

2015-11-03 Thread Alex Kac
I’ve got a bit of a foggy head this morning so perhaps I’m just not thinking clearly. We are moving our code from Obj-C to swift. All new code is in Swift. We are hitting an issue with a circular import however. So here is an example: App Delegate is still in ObjC, but all new code is written

Re: Swift circular imports

2015-11-03 Thread Alex Kac
3, 2015, at 10:07 AM, Alex Kac <a...@webis.net> wrote: > > I’ve got a bit of a foggy head this morning so perhaps I’m just not thinking > clearly. We are moving our code from Obj-C to swift. All new code is in > Swift. We are hitting an issue with a circular import however.

How to debug [NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] crash

2015-10-21 Thread Alex Kac
Our app is using a custom split view controller that we're getting rid of for the next major release, but for the CURRENT release we still have it. The problem I have is that on iOS 9 we're seeing the above when we hide the master view and show it a few times over and over agian. Its random

Re: questions on WebView for Mac apps

2015-09-30 Thread Alex Kac
; ___ > > 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 y

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
for events, I’m not sure how to set them up and get them in my NSViewController… > On Sep 28, 2015, at 2:30 PM, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Sep 28, 2015, at 1:05 PM, Alex Kac <a...@webis.net >> <mailto:a...@webis.net>> wrote: >> &g

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
OK I think I found something: http://cocoa.thedizzyheights.com/2010/07/cut-copy-and-paste-in-lsuielement-applications/ http://stackoverflow.com/questions/970707/cocoa-keyboard-shortcuts-in-dialog-without-an-edit-menu I’m going to try that now. > On Sep 28, 2015, at 3:22 PM, Alex

Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
for text fields works now. Stuff like cut, copy paste. So with that in mind, how do I enable that to work? --- Alex Kac - El capitán ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
OK I found the best solution :) Leave the MainMenu in the NIB. It won't be displayed, but all the actions will be handled properly. > On Sep 28, 2015, at 3:38 PM, Ken Thomases <k...@codeweavers.com> wrote: > > On Sep 28, 2015, at 4:22 PM, Alex Kac <a...@webis.net> wrote:

DockTile Plugin: Failed to set up extra plugin. file:///Applications/Informant.app/ Plugin in quarantine

2015-09-17 Thread Alex Kac
So interestingly, the plugin works fine on my El Capitan install, but not my Yosemite install. On my Yosemite install, I checked the code-signing: codesign --verify --deep --verbose=2 Informant.app and the end result is: Informant.app: valid on disk Informant.app: satisfies its Designated

DockTile plugin + Sandbox + App Groups

2015-09-08 Thread Alex Kac
If you have a Docktile plugin - it runs in the com.apple.dock.extra process, not under yours. So it doesn’t have simple access to your NSUserDefaults. If your app is sandboxed and using App Groups for its preferences files, I can’t find any way to get the docktile plugin to actually read a

Close Modal window after sheet ends

2015-08-24 Thread Alex Kac
I’ve got a modal window which opens a sheet to let the user enter a registration code. If the Reg code is accepted, I want to close the window after the sheet ends. However it doesn’t. I’ve tried a ton of different things and I believe it has something to do with the runLoop because dispatch

Re: Close Modal window after sheet ends

2015-08-24 Thread Alex Kac
24, 2015, at 11:41 AM, Alex Kac a...@webis.net wrote: I’ve got a modal window which opens a sheet to let the user enter a registration code. If the Reg code is accepted, I want to close the window after the sheet ends. However it doesn’t. I’ve tried a ton of different things and I believe

Re: Sharing Prefs between Main and Helper App

2015-08-12 Thread Alex Kac
Maybe its just Xcode and El Cap…I thought it was working too, but just now it wasn't. I did a clean and now it seems to be working again… On Wed, Aug 12, 2015 at 4:58 PM, Sean McBride s...@rogue-research.com wrote: On Wed, 12 Aug 2015 15:50:35 -0600, Alex Kac said: I have an OS X app signed

Sharing Prefs between Main and Helper App

2015-08-12 Thread Alex Kac
I have an OS X app signed with Developer ID. It is NOT sandboxed (I suppose I could, but I'd prefer to stay away from that for a bit longer). I need my helper and main app to share prefs. There must be a simple way to do this for now. I know that initWithSuite works with App Groups and

Re: User Default Controller in NIB - subclass to use the suite instead

2015-08-06 Thread Alex Kac
I just realized I asked this question a year ago in September. At the time I didn't really get a good answer, which is why we're back at it today. One thing I don't remember was if the addSuiteNamed and removeSuiteNamed option worked… On Thu, Aug 6, 2015 at 9:19 AM, Alex Kac a...@webis.net wrote

Re: User Default Controller in NIB - subclass to use the suite instead

2015-08-06 Thread Alex Kac
Also, we're now using Swift…which won't let you reassign self. On Thu, Aug 6, 2015 at 9:23 AM, Alex Kac a...@webis.net wrote: I just realized I asked this question a year ago in September. At the time I didn't really get a good answer, which is why we're back at it today. One thing I don't

User Default Controller in NIB - subclass to use the suite instead

2015-08-06 Thread Alex Kac
We use NSUserDefaults(initWithSuite:) in our app so that our helper apps, plugins all can share the same preferences. We also use the User Default controller in our NIBs to bind settings to it. I'd like to use a subclass of this which would use the suite instead of standardUserDefaults. At least

Helper App - xcode

2015-07-17 Thread Alex Kac
Perhaps I'm using the wrong search terminology - but what is the correct method to essentially add a helper app to an existing app? Specifically, I'm looking to: a) Have it faceless (I know how to do that) b) Option to run at launch if the user wants it to (I think I know how to do that) -

Accessibility

2015-07-01 Thread Alex Kac
Our app shows up in the Accessibility section of System Preferences: Allow the apps below to control your computer. Any idea why? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: Swift and parameter names

2015-06-24 Thread Alex Kac
to a...@webis.net -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc.* ___ 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: Swift and parameter names

2015-06-24 Thread Alex Kac
it. In the other you're passing arguments and its not obvious in most cases. On Wed, Jun 24, 2015 at 4:35 PM, Rick Mann rm...@latencyzero.com wrote: On Jun 24, 2015, at 15:25 , Alex Kac a...@webis.net wrote: I guess I cannot agree with you, Rick. I love the fact that Objective-C and now Swift require

Cannot create an NSPersistentStoreCoordinator with a nil model

2015-05-11 Thread Alex Kac
We have an app that's out in the wild, and as always there are weird issues that sometimes show up then. This seems like it should never happen or always happen. The crash is here: http://crashes.to/s/f382ed6e4ef Obviously we have a working model…its been shipped and working in hundreds of

Re: Cannot create an NSPersistentStoreCoordinator with a nil model

2015-05-11 Thread Alex Kac
, Mike Abdullah mabdul...@karelia.com wrote: On 11 May 2015, at 21:43, Alex Kac a...@webis.net wrote: We have an app that's out in the wild, and as always there are weird issues that sometimes show up then. This seems like it should never happen or always happen. The crash is here: http

Re: Cannot create an NSPersistentStoreCoordinator with a nil model

2015-05-11 Thread Alex Kac
Yeah, I'm adding that to my code now. Thank you :) On Mon, May 11, 2015 at 2:10 PM, Ryan Dignard conceptuallyfla...@gmail.com wrote: It may be advantage to log whether the model file exists and if it does exist if the permissions are correct. On Mon, May 11, 2015 at 1:06 PM, Alex Kac

Re: Core Data sync between iOS and Mac apps

2015-05-10 Thread Alex Kac
/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc.* ___ Cocoa-dev mailing list (Cocoa-dev

NSStatusItem, Popover and NSTextField make responder

2015-04-17 Thread Alex Kac
I have a popover that is opened on tapping a menu status item. In the popover I have a text field that I’d like to have become active when the popover is open. When the app is in the foreground and you tap on the status item it does become active. When its in the background, it does not. In beta,

NSTableView content height

2015-04-14 Thread Alex Kac
. I’d love to get a better suggestion. -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc.* ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

NSCheckbox right click in an NSOutlineView

2015-04-01 Thread Alex Kac
I have an NSCheckbox in a view based NSOutlineView. I want to support Control-click for the right click menu when a user control-clicks on the cell. Right click works perfectly already per the standard NSOutlineView. However because the NSCheckbox is eating the click, it doesn't do a right click

NSOutlineView - separator lines

2015-03-27 Thread Alex Kac
I'm trying to get rid of NSOutlineView horizontal separator lines. I've tried the following with no luck. self.outlineView.gridStyleMask = NSTableViewGridNone; self.outlineView.gridColor = [NSColor clearColor]; self.outlineView.intercellSpacing = NSZeroSize;

NSTextField with a NSTableView completion list - suggestions for text field

2015-03-20 Thread Alex Kac
I have a few places where I’d like to have essentially an NSTextField with an auto-complete - but its not a combo-box. The closest I can come up with what I’m looking for is the Apple Calendar location field where it brings up a search auto-complete. A few things are that it looks like a

NSStatusItem Popover doesn't work in Full Screen mode

2015-03-13 Thread Alex Kac
]; } } Alex Kac - President and Founder Web Information Solutions, Inc. Forgiveness is not an occasional act: it is a permanent attitude. -- Dr. Martin Luther King ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSScrollview general question

2015-03-04 Thread Alex Kac
I’ve personally set it to Always for now - I just got tired of having to first do a quick two finger scroll on my MBPr to get to the thumb to drag it and half the time having it fade out before I got to it. I lived with scrollers on my screen since the 1980s - I think I will live with it :)

Re: Exception on launch when clicking on an NSUserNotification

2015-02-27 Thread Alex Kac
… # 19986044 On Feb 27, 2015, at 9:35 AM, Kyle Sluder k...@ksluder.com wrote: On Thu, Feb 26, 2015, at 08:49 PM, Alex Kac wrote: It would be a fantastic clue! Except … its not printed in the console, or in the xcode console, or anywhere. So I have no idea. My guess is that the OS is swallowing

Re: Exception on launch when clicking on an NSUserNotification

2015-02-27 Thread Alex Kac
for everyone. On Feb 26, 2015, at 11:04 PM, Graham Cox graham@bigpond.com wrote: On 27 Feb 2015, at 4:27 pm, Alex Kac a...@webis.net wrote: What’s not shown above is the identifier - which is a 64 character string, and the sound name which is a 10 character string. I’m pretty sure that’s

Re: Exception on launch when clicking on an NSUserNotification

2015-02-26 Thread Alex Kac
On OS X (this is OS X, not iOS - hence NSUserNotification and not UILocalNotification), when you start an app by tapping on a notification, because you haven’t had a chance yet to register the delegate of the NSUserNotificationCenter (this has nothing to do with NSNotificationCenter), the OS

How to prevent app activation on NSUserNotification action

2015-02-26 Thread Alex Kac
If my app is currently hidden and a user notification occurs and the user taps on the action button (in my case Snooze); how do I prevent the app from coming to the foreground? If the user hits Snooze I don't want the app to come to the foreground. I put a breakpoint on all my show window

Exception on launch when clicking on an NSUserNotification

2015-02-26 Thread Alex Kac
On another NSUserNotification note, I create an NSUserNotification with a sound, title, informative text, action items, and in some cases a userInfo dictionary. If my app is running and I tap on it - it works fine. I get the notification activation delegate call, and all is good. I’ve also

Re: Exception on launch when clicking on an NSUserNotification

2015-02-26 Thread Alex Kac
, Jens Alfke j...@mooseyard.com wrote: On Feb 26, 2015, at 6:17 PM, Alex Kac a...@webis.net wrote: However I'm having a problem on launching the app by tapping on the notification. My app gets an applicationWillFinishLaunching, and then gets an exception before it hits

Re: How to prevent app activation on NSUserNotification action

2015-02-26 Thread Alex Kac
/Calendars app - but I wanted to be sure. On Feb 26, 2015, at 7:33 PM, Jens Alfke j...@mooseyard.com wrote: On Feb 26, 2015, at 6:11 PM, Alex Kac a...@webis.net mailto:a...@webis.net wrote: If my app is currently hidden and a user notification occurs and the user taps on the action

Re: UIColor in CoreData database into NSColor

2015-02-20 Thread Alex Kac
of 10 - just to convert backups - then I’m OK with that. On Feb 20, 2015, at 2:48 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Feb 20, 2015, at 11:15 , Alex Kac a...@webis.net mailto:a...@webis.net wrote: So with that in mind, has anyone tackled a conversion process

UIColor in CoreData database into NSColor

2015-02-20 Thread Alex Kac
We have a CoreData database on iOS that we want our users to be able to restore in our OS X app from backups. It uses UIColor while our desktop app uses NSColor for now. The correct method for us is to save our color info in a non-platform specific way…but people have database backups where its

Re: licence key validation method

2015-01-12 Thread Alex Kac
...@rols.org wrote: I’m sure it all helps. I don’t know the answer here but I am trying to ask questions which might point to a solution. Alex Kac - President and Founder Web Information Solutions, Inc. ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSImage glowing

2014-11-06 Thread Alex Kac
Thank you guys. This has helped a lot. I have a much better understanding of this now. On Nov 5, 2014, at 7:40 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Nov 5, 2014, at 5:53 PM, Wim Lewis w...@omnigroup.com wrote: On Nov 5, 2014, at 3:43 PM, Alex Kac a...@webis.net wrote

Re: NSImage glowing

2014-11-05 Thread Alex Kac
]; [NSGraphicsContext setCurrentContext:bitmapContext]; [buttonCell drawImage:template withFrame:bounds inView:nil]; [NSGraphicsContext restoreGraphicsState]; return bmpImageRep; On Nov 4, 2014, at 10:41 AM, Alex Kac a...@webis.net wrote: I have an NSImage that looks like in a mini-toolbar - kind

NSImage glowing

2014-11-04 Thread Alex Kac
I have an NSImage that looks like in a mini-toolbar - kind of like Xcode. Now of course I can just create a hand-drawn selected version, but I like doing things like that in code. So I’d like to have code that takes the NSImage and makes it glow like Xcode here:

Toolbar icons, yosemite

2014-10-18 Thread Alex Kac
I’m learning about toolbar buttons/icons on Yosemite (probably not much different than before, but…I’m an iOS guy so its new for me). I have a few basic, 101-style questions that I hope somebody can point me to the right place for: 1. How do you do a popup menu button like the sidebar icon

Re: NSOutlineView not lazy when expanding items :(

2014-09-16 Thread Alex Kac
. Alex Kac - President and Founder Web Information Solutions, Inc. I am not young enough to know everything. --Oscar Wilde ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

NSUserDefaultsController in a NIB when not using standardUserDefaults

2014-09-08 Thread Alex Kac
This feels like there should be an easy answer... We are no longer using standardUserDefaults since we want to someday offer a widget for our app that will require accessing our app's preferences..so we're using NSUserDefaults with a custom suiteName. *The question is*: in the NIBs for our

Re: NSUserDefaultsController in a NIB when not using standardUserDefaults

2014-09-08 Thread Alex Kac
[super initWithCoder: coder]? Do you need the result of that call, since you immediately override it? Sent from my iPad On Sep 8, 2014, at 2:09 PM, Alex Kac a...@webis.net wrote: This feels like there should be an easy answer... We are no longer using standardUserDefaults since we

Re: NSUserDefaultsController in a NIB when not using standardUserDefaults

2014-09-08 Thread Alex Kac
Thanks. I’ll let you know when I can try it out later tonight. On Sep 8, 2014, at 3:40 PM, Jerry Krinock je...@ieee.org wrote: On 2014 Sep 08, at 11:09, Alex Kac a...@webis.net wrote: Is there a better way? How about redirecting standardUserDefaults, by sending it -addSuiteNamed

Looking for OS X 10.9 and above contract developer with immediate availability

2014-07-06 Thread Alex Kac
Hey guys! We’re in need of an experienced OS X UI developer who is fluent with Core Animation and creating custom views. Some background first. We have been working on a desktop port of our iOS app for awhile, but because we are a very small team we also get a lot of distractions so we’re not

NSButton, Templates, images…

2014-06-24 Thread Alex Kac
I’m sure I’m missing something simple. Reading the docs, reading some stack-overflow comments, and a few posts on this list from years ago, it seems like I am missing something. I have an NSButton with an image. I’d like to have the button look etched when unselected - and tinted blue when

Re: iOS app restarting from screen one. Why?

2014-06-19 Thread Alex Kac
and restore it when you get relaunched. It will appear to the user as if the app was running the whole time. Thanks, Jon Alex Kac - President and Founder Web Information Solutions, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Simple question? NSButton/checkbox color

2014-06-06 Thread Alex Kac
is using images to mimic the UI - and since it's specific to the OS it ships with, it doesn't have to worry about mismatches if it runs on a different one. - Original Message - From: Alex Kac a...@webis.net To: SevenBits sevenbitst...@gmail.com Cc: Cocoa-Dev Cocoa-dev

Simple question? NSButton/checkbox color

2014-06-05 Thread Alex Kac
I’m still learning AppKit after many years on iOS :) Given an NSButton based checkbox…what’s the best way to get a colored check? I think we’re just going to have to use a custom image that we create - which is fine just annoying as we’ll also have to match Yosemite - but if there is a better

Re: Simple question? NSButton/checkbox color

2014-06-05 Thread Alex Kac
way, to color a checkbox control without having to use images to mimic the UI of the OS we’re running on. On Jun 5, 2014, at 6:38 PM, SevenBits sevenbitst...@gmail.com wrote: On Jun 5, 2014, at 8:32 PM, Alex Kac a...@webis.net wrote: I’m still learning AppKit after many years on iOS :) Given

Re: ARC Retain Cycles

2014-04-26 Thread Alex Kac
to have to profile the app carefully and find the problem. This probably took 1 to 1.5 days to do, if the OS didn’t use autorelease, I wouldn’t have had to spend that time finding and cleaning up after the OS! Really, what OS other, makes you clean up after it? Alex Kac - President

Re: iOS 7 navigation bar height

2014-04-16 Thread Alex Kac
a UITabBarController with 3 tabs, and each tabs is a Alex Kac - President and Founder Web Information Solutions, Inc. Champions aren't made in the gyms. Champions are made from something they have deep inside of them - a desire, a dream, a vision. They have last-minute stamina, they have to be a little faster

NSLayoutManager subclass - change the bounds of an attributed string

2014-03-23 Thread Alex Kac
I’m learning here as I go using TextKit on iOS (and soon for OS X). I’ve created an attributed name for an NSAttributedString that essentially i want drawn as a background rounded rect for the text in the attributed string. To do this I’ve subclasses NSLayoutManager and used that for

Re: NSLayoutManager subclass - change the bounds of an attributed string

2014-03-23 Thread Alex Kac
So I tried this…and didn’t do anything. On Mar 23, 2014, at 12:15 AM, Alex Kac a...@webis.net wrote: My best guess is - (CGRect)boundingRectForGlyphRange:(NSRange)glyphRange inTextContainer:(NSTextContainer *)container; ___ Cocoa-dev mailing

Re: UIButton issue in ios7.1/xcode5.1

2014-03-20 Thread Alex Kac
suggestions for workarounds? - any ideas how this could happen when building with xcode 5.1 but not xcode 5.0? Alex Kac - President and Founder Web Information Solutions, Inc. Forgiveness is not an occasional act: it is a permanent attitude. -- Dr. Martin Luther King

Re: secure uitextfield is not secure

2014-03-05 Thread Alex Kac
On Mar 5, 2014, at 3:05 PM, Luther Baker lutherba...@gmail.com wrote: The only way to find out is to file a radar and see what comes out in iOS 8. How very sad ... there should really be no way I could influence Apple in this regard. IE: this isn't some elaborate, hard to define bug. This

Re: Preferences caching?

2013-11-27 Thread Alex Kac
well if every developer served a month in a call centre. I guess we’re going to have to put a button somewhere that’s going to do this for them. Sigh. ―Graham Alex Kac - President and Founder Web Information Solutions, Inc. If at first you don't succeed, skydiving is not for you

Re: iOS Storyboard - on boarding - skip

2013-10-19 Thread Alex Kac
completion:nil]; I find that Storyboards quickly regress to string based programming for anything out of the ordinary flow and avoid them whenever i can. -Richard On 18 Oct 2013, at 6:07:41 PM, Alex Kac a...@webis.net wrote: Howdy guys. I am looking for some advice. I have

iOS Storyboard - on boarding - skip

2013-10-18 Thread Alex Kac
Howdy guys. I am looking for some advice. I have an on boarding process that asks for permissions from the user for things like contacts, location, etc…where each page describes why we’re asking and then asks the user to enable access. It works wonderfully and really makes everything far

Re: Core Data with ODBC databases?

2013-10-17 Thread Alex Kac
articles on this. That's what AFIncrementalStore/AFRESTClient does. It uses AFNetworking to communicate with the web service: https://github.com/AFNetworking/AFIncrementalStore Cheers, Flavio Alex Kac - President and Founder Web Information Solutions, Inc. “Don't forget until too late

Re: Core Data with ODBC databases?

2013-10-17 Thread Alex Kac
this in a controlled situation. On Oct 17, 2013, at 11:36 AM, Kyle Sluder k...@ksluder.com wrote: On Thu, Oct 17, 2013, at 09:04 AM, Alex Kac wrote: YES, that was it. I KNEW I saw a project for this, but couldn’t find it via Google anymore. Please don't use AFIncrementalStore. It's just a bad idea

Re: Core Data with ODBC databases?

2013-10-16 Thread Alex Kac
: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net Alex Kac - President and Founder Web Information Solutions, Inc. To educate a person in mind and not in morals is to educate a menace to society. -- Theodore Roosevelt

Re: How to get a Normal button in iOS 7/IB

2013-10-04 Thread Alex Kac
Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc.* ___ Cocoa-dev mailing list

Re: How to get a Normal button in iOS 7/IB

2013-10-03 Thread Alex Kac
This email sent to a...@webis.net -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc.* ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: iOS Calendar Question

2013-10-02 Thread Alex Kac
: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net Alex Kac - President and Founder Web Information Solutions, Inc. The person who is not hungry says that the coconut has a hard shell. -- African Tribal Saying

Re: iOS Calendar Question

2013-10-02 Thread Alex Kac
” and then they get a dialog asking for permission. On Oct 2, 2013, at 12:03 PM, Dave d...@looktowindward.com wrote: On 2 Oct 2013, at 18:56, Alex Kac a...@webis.net wrote: To Safari - probably not. You’d have to bring up the document interaction controller, which would bring up any app that supports ICS

Re: iOS7 Controls

2013-09-24 Thread Alex Kac
your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net Alex Kac - President and Founder Web Information Solutions, Inc. Forgiveness is not an occasional act: it is a permanent attitude. -- Dr. Martin Luther King

Re: iOS7 Controls

2013-09-24 Thread Alex Kac
-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net Alex Kac - President and Founder Web Information Solutions, Inc. Patience is the companion of wisdom. --Anonymous

Re: ARC vs Manual Reference Counting

2013-09-09 Thread Alex Kac
focusing on the rare edge cases. But for the most part when actually coding you can simply ignore ref-counting. Your code becomes more compact and readable, and you’re less likely to make mistakes. Alex Kac - President and Founder Web Information Solutions, Inc

Re: ARC vs Manual Reference Counting

2013-09-08 Thread Alex Kac
and considerations than previously existed with manual reference counting? Alex Kac - President and Founder Web Information Solutions, Inc.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: bugreport.apple.com

2013-09-03 Thread Alex Kac
at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net This email sent to a...@webis.net -- *Alex Kac - **President and Founder* *Web Information Solutions, Inc

Re: IB autolayout is impossible

2013-08-19 Thread Alex Kac
of whack-a-mole. So angry. Alex Kac - President and Founder Web Information Solutions, Inc. In the Country of the Blind, the one-eyed man is king. --Desiderius Erasmus ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?

2013-05-09 Thread Alex Kac
I'd strongly recommend a great tool from the DTCoreText github project - DTHTMLWriter and DTHTMLReader. It is designed to work with HTML documents and turn them into XML or like (he uses it for NSAttributedStrings). I've been using this project very heavily and it works extremely well. For

UIAppearance for iOS provided view controllers

2013-04-20 Thread Alex Kac
We customize the look of UIBarButtonItems in our app - which looks and works great EXCEPT it also applies to the iOS provided view controllers which do NOT look correct. Here is what we're doing: id barButtonItemProxy = [UIBarButtonItem appearanceWhenContainedIn:[UINavigationController

  1   2   3   >