Re: Auto layout in XCode 6.4

2015-08-25 Thread Alex Zavatone
It's not the most straightforward thing in existence. I've found that watching several YouTube videos will do more good than most anything else. Sadly, there is one 7 minute video that made things pretty clear but I can't find it (not Ray's). This one is pretty good. https://www.youtube.com/w

Re: Is it possible to transfer data by using light

2015-09-17 Thread Alex Zavatone
Yes. How do you think TV remotes work? They use IR transmitters/receivers. They are, however, PAINFULLY SLOW. When we were making FiOS TV, we had to create an app called FiOS Mobile Remote for the iPhone that would control your FiOS set top box. EVEN THOUGH the iPhone had to pipe its commands

Re: Is it possible to transfer data by using light

2015-09-21 Thread Alex Zavatone
On Sep 21, 2015, at 11:54 AM, Sixten Otto wrote: > On Sun, Sep 20, 2015 at 9:55 PM, Jens Alfke wrote: > >> But honestly, if you're going this route, it will be much faster to >> transmit QR codes, since each code contains thousands of bits. >> > > Especially given that recent versions of iOS

Re: Continue application processing with mouse down on a menu

2015-09-26 Thread Alex Zavatone
On Sep 26, 2015, at 10:23 AM, Scott Ribe wrote: >> It has seem like a rule that has been in place forever that an application >> pauses processing when the mouse is down on a menu. Why? It's not like all the threads are locked in a repeat loop. ___

Re: How to install 10.11 ?

2015-10-01 Thread Alex Zavatone
If it's any consolation, I couldn't update my Retina MBP 15 either initially. When the installer was about to restart "An error occurred. Please try again." i had to reboot and install the OS again holding down some command key sequence. Only after a 1 hour install and putting a fresh install

An off-topic question/post that may be worth a short read. (Sorry for the xpost)

2015-10-02 Thread Alex Zavatone
de 6.4, since I can't get git working worth a damn on Xcode 7.0.1. In any case, hope you all appreciate that what I've learned from your time and efforts to help each other (and me) out will be passed on to bring Objective-C skills into folks on the edge of the Kalahar

Re: Mac OSX 10.11 and XCode

2015-10-05 Thread Alex Zavatone
That's it. Dave. That's it. My Checkout window still has the nasty cell string overlap, but I can check in to Git from the app without causing a SIGSEV. I disconnected my Thunderbolt display off of my 15" MBP and I was able to commit a file without crashing. I tried 2 installs of 7.0.1 las

Re: Handling http:// URLs

2015-10-13 Thread Alex Zavatone
Yeah, they do. Just change your scheme to rickmann://myurlshallfollow and you register the scheme with the app. Is that what you are referring to? On Oct 13, 2015, at 8:20 PM, Rick Mann wrote: > I thought iOS 8 (or 7?) introduced support for iOS apps to handle http URLs. > Specifically, I c

Re: UILabel is maiming my Character

2015-10-14 Thread Alex Zavatone
NSAttributedText works really nice with these. I'll send you some material on that. On Oct 14, 2015, at 7:02 AM, Gerriet M. Denkmann wrote: > I put into some iOS 9 app (Xcode 7.0) 4 UILabels. > All have Clip Subviews = off, font size 96 with a coloured background, text > plain = “ฟี้กุฎุมพี”.

Re: UILabel is maiming my Character

2015-10-15 Thread Alex Zavatone
Gerriet, what I noticed at the time of writing those methods was that there was no predefined way to create superscripted text for NSAttributedText. What my premise was to simulate/create superscripted text was to raise the baseline a % of the text's font size and reduce the font size used for t

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-15 Thread Alex Zavatone
What happens if you only use this: NSAllowsArbitraryLoads ?? On Oct 15, 2015, at 3:56 PM, Marek Hrušovský wrote: > I read on some blogposts that ios9 GM did not support IP addresses for ATS. > Do not know if this has changed. > > On Thu, Oct 15, 2015 at 9:06 PM, Devarshi Kulshreshtha < > deva

Just a little off topic update.

2015-10-23 Thread Alex Zavatone
Africa and just how fast they take to getting their heads around iOS. This is really good. Hoping you all enjoy the off topic, yet still cocoa related diversion. All the best from Windhoek West, Namibia, Alex Zavatone ___ Cocoa-dev mai

More of a dev tools question, so please advise if this is the wrong place to ask - automating the Network Link Conditioner

2015-11-03 Thread Alex Zavatone
e set up the network link conditioner control panel and automated changing the settings on it a la AppleScript or another tool? If this would be of use to anyone else, I'll happily share. Cheers. - Alex Zavatone ___ Cocoa-dev mailing list

Re: Multiple simultaneous UIAlertControllers

2015-11-05 Thread Alex Zavatone
Make a queue. Sent from my iPhone > On Nov 5, 2015, at 6:10 PM, Carl Hoefs wrote: > > I don't want more than 1 alert presented at a time, of course, but they get > generated asynchronously. I thought dispatch_get_main_queue() would nicely > serialize any that occur. Thus David's comment that

Re: Multiple simultaneous UIAlertControllers

2015-11-05 Thread Alex Zavatone
A queue of content to be in each alerts. I think we've all had this issue. If there is more than one alert, then have a little number within the alert so that you know it's alert #n of nn alerts. And then each OK or Cancel button displays the next alert until they are gone. Add the alert conte

runOnMainQueueWithoutDeadlocking and all its evils.

2015-11-06 Thread Alex Zavatone
But seriously, WHY? Thank you. - Alex Zavatone ___ 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/U

Re: Multiple simultaneous UIAlertControllers

2015-11-06 Thread Alex Zavatone
On Nov 5, 2015, at 6:58 PM, Carl Hoefs wrote: > Thanks for the tip, I'll look into it. > > (As a general thought, though, it would appear that UIAlertController > should be a singleton app-wide, and it should manage its own serialized > presentation. Any other solution seems like external plumbi

Re: runOnMainQueueWithoutDeadlocking and all its evils.

2015-11-09 Thread Alex Zavatone
to the main queue and an alternative in case there some realities I didn't forsee. It will be quite nice to reduce the 60+ cases of use of these. Cheers > > >> On 6 Nov 2015, at 18:23, David Duncan wrote: >> >>> >>> On Nov 6, 2015, at 8:36 AM, Alex Zav

Re: runOnMainQueueWithoutDeadlocking and all its evils.

2015-11-09 Thread Alex Zavatone
On Nov 6, 2015, at 1:23 PM, David Duncan wrote: > >> On Nov 6, 2015, at 8:36 AM, Alex Zavatone wrote: >> >> Bearing in mind my experience dealing with code in the past that was chock >> full of runOnMainQueueWithoutDeadlocking calls, I can not fathom why someone

Instancetype and refactoring methods

2015-11-09 Thread Alex Zavatone
ject that holds the method a better choice than id? It appears so, but just thought I'd ask the group. Thanks in advance, Alex Zavatone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Instancetype and refactoring methods

2015-11-09 Thread Alex Zavatone
isn't even declared in the protocol. I don't know how it worked in the first place. Spooky code is spooky. Thanks, Jens. Always appreciated. On Nov 9, 2015, at 2:20 PM, Jens Alfke wrote: > >> On Nov 9, 2015, at 10:58 AM, Alex Zavatone wrote: >> >> Before I g

The joys of people using valueForKey to get objects out of a dictionary.

2015-11-10 Thread Alex Zavatone
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"™, and certainly might explain why lots of that cod

Re: The joys of people using valueForKey to get objects out of a dictionary.

2015-11-10 Thread Alex Zavatone
@ within our key names, I haven't seen much here that indicates why it's dangerous, nor why the code I'm looking at that uses valueForKey on dictionaries needs to be wrapped in @try/@catch statements. For what we're doing on a daily basis, if we're not using @

Re: The joys of people using valueForKey to get objects out of a dictionary.

2015-11-10 Thread Alex Zavatone
On Nov 10, 2015, at 2:15 PM, Jens Alfke wrote: > >> On Nov 10, 2015, at 10:52 AM, Alex Zavatone wrote: >> >> Here's a great reason to use objectForKey: wherever possible instead of >> valueForKey: - valueForKey: with an unknown key will throw >> NSUnk

Re: The joys of people using valueForKey to get objects out of a dictionary.

2015-11-10 Thread Alex Zavatone
And you guys have no idea how useful this discussion was to me today. Even though the KVO valueForKey: method doesn't crater with an NSUnknownException with ease, it turns out that this wonderful code is also using the KVO method of setValue: forKey: on a dictionary. And guess what? *** Termin

Re: Installing older OS X

2015-11-17 Thread Alex Zavatone
VM Ware? I'm running 10.6.8 on this Mac, 10.5.whatever on another and keep a few external HDs around and spare Macs and install images for this purpose. On Nov 17, 2015, at 8:02 PM, Graham Cox wrote: > Yeah, Apple really make it hard to set up older OS installs for dev testing. > > If you co

Re: Installing older OS X

2015-11-18 Thread Alex Zavatone
Hy, that's a nice little tip. Thanks, man. Sent from my iPhone On Nov 18, 2015, at 2:31 AM, Charles Srstka wrote: >> On Nov 18, 2015, at 1:22 AM, Quincey Morris >> wrote: >> >>> On Nov 17, 2015, at 23:13 , Charles Srstka >> > wrote: >>> >>> Oh, sorry, I

Re: KVO question

2015-11-18 Thread Alex Zavatone
Are you implying that one KVO is blocking the others? Sent from my iPhone > On Nov 17, 2015, at 8:18 PM, Graham Cox wrote: > > I’m using KVO to observe a bunch of properties. > > Most of these properties are split out into simple things that set a single > value, but internal to my object, so

Re: [OT] Good XML Viewer App for Mac

2015-11-20 Thread Alex Zavatone
Would Textmate be recommended here? Sent from my iPhone > On Nov 20, 2015, at 8:47 AM, Charles Jenkins wrote: > > I don’t remember where I got the script, but I use TextWrangler in > conjunction with an XML formatter script to view XML documents. > > -- > > Charles > > On November 20, 2015

Re: dateFromString won't accept this string:

2015-11-23 Thread Alex Zavatone
Have you looked into The spec for date formatting? It is seriously helpful. It's some ISO document. Specify the format at which the date is coming in and it should convert. I will send you my crappy routines for this for iOS. Sent from my iPhone > On Nov 23, 2015, at 9:06 AM, Alex Hall wrot

Re: dateFromString won't accept this string:

2015-11-23 Thread Alex Zavatone
the stands for. Should be pretty easy, once you see what each of the letters in the formatter represent. Here’s a pretty good (really really good) reference: http://waracle.net/iphone-nsdateformatter-date-formatting-table/ Cheers, Alex Zavatone On Nov 23, 2015, at 4:32 PM, Sandor S

Re: xcodebuild and PMD

2015-11-26 Thread Alex Zavatone
What’s PMD? On Nov 26, 2015, at 3:16 PM, John Michael Zorko wrote: > > Hello, all … > > I’m exploring how to plug our iOS builds into our existing PMD-based code > sniffing tool. We’re using Xcode 7.1.1. Is there a way that I can process > xcodebuild’s output (or hook into the Xcode analyzer

Re: iOS: Using AppDelegate as an app-wide singleton

2015-12-01 Thread Alex Zavatone
I'm more of a fan of special case singletons, or else you essentially create one big global al over again. Also, the AppDelegate class has certain responsibilities. For organizational purposes, I feel most comfortable in creating a singleton for the purpose of the task at hand. On Dec 1, 20

Re: iOS: Using AppDelegate as an app-wide singleton

2015-12-01 Thread Alex Zavatone
What does Apple do on this? I think their standard is to use shared in the name. On Dec 1, 2015, at 7:33 PM, Quincey Morris wrote: > On Dec 1, 2015, at 16:20 , Carl Hoefs wrote: > >> The following seems to be working out for me. >> >> #import "AppCommon.h" >> @implementation AppCommon >> +

Re: iOS: Using AppDelegate as an app-wide singleton

2015-12-01 Thread Alex Zavatone
On Dec 2, 2015, at 12:24 AM, Luther Baker wrote: > The conversation here is pretty loose ... and so everyone might be right in > what they are intending to convey... ;-) but I thought I'd just put in a vote > to stop using the term "Singleton" for this access pattern. It isn't a > Singleton (u

iOS - force app to be restarted in the background.

2015-12-21 Thread Alex Zavatone
being restarted in the background and it's not reconfiguring itself properly or going through the normal startup process in that case. BKUnsuspendLimit exceeded 15 wakes in 300 sec To test this, is there any way to tell the OS to relaunch the app in the background? Thanks in ad

Re: Finder-like user interface?

2015-12-28 Thread Alex Zavatone
inish after clicking on a disclosure triangle in an NSOutlineView when in the old days, the contents would either display or hide instantly. It would be awesome if there is a way to get the instant response that we used to get. The less superfluous animations, the better. Thanks, Alex Zavatone O

Re: got alert to fire but have two ok buttons

2015-12-28 Thread Alex Zavatone
How can we help you if we can't see the code you used to fire an alert? Please supply the code that is causing this. Thanks. On Dec 28, 2015, at 1:04 PM, Scott Berry wrote: > I have a bit of an inconvenience now. I have two okay buttons for my alert. > I only need one after the alert. Where

Re: Strange app crash

2016-01-01 Thread Alex Zavatone
Mac OS or iOS? You state there is a crash, but don't supply a crash log or tell us what type of a crash it is. How do you expect us to help you? Help us help you. On Jan 1, 2016, at 9:14 PM, SevenBits wrote: > Hi list, > > Xcode has decided not to cooperate with me. > > My latest app is cra

Re: Strange app crash

2016-01-01 Thread Alex Zavatone
Am I correct in assuming that it's throwing an exception before it's drawn the first window? If that is the case, check your window XIB. It's possible that you have something mis-wired there. If you replace your first XIB with a placeholder, does the problem go away? On Jan 1, 2016, at 9:54

Re: Only assign value to variable if not nil.

2016-01-06 Thread Alex Zavatone
Bingo. Ternary operators. Thanks all. On Jan 6, 2016, at 5:45 PM, Alex Zavatone wrote: > Hi all. I was just extending some of my configuration file support on iOS to > add move from one config file to one master and then a product specific one. > > So, in the master, i'

Only assign value to variable if not nil.

2016-01-06 Thread Alex Zavatone
e assigning, but I'm figuring there's something I could learn here and one of you just might know what that is. Cheers, Alex Zavatone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Re: Panes vs. Separate Windows

2016-01-10 Thread Alex Zavatone
On Jan 9, 2016, at 5:19 PM, Rick Mann wrote: > In complex apps (e.g. CAD apps, IDEs) a given document has many auxiliary > windows. The trend in UI at Apple has been to consolidate these into panes in > a single window. I've always preferred separate windows (e.g. separate > toolbar window).

Re: Panes vs. Separate Windows

2016-01-11 Thread Alex Zavatone
On Jan 11, 2016, at 2:17 AM, Britt Durbrow wrote: > My preference would be multiple windows (one primary document window and > several utility panel windows) that can be snapped into place against each > other. This gives the freedom to use multiple monitors while also having the > screen-real

Re: Panes vs. Separate Windows

2016-01-11 Thread Alex Zavatone
Way back in the mid '90s, there was some double click tool that simply felt like the holy grail to me. You double clicked or option clicked on the title of a window and it would turn that window into the "floating windoid" title bar only. We took this model and made it so that when you collaps

Re: enum as String

2016-01-11 Thread Alex Zavatone
I've got a few things set up in Objective-C for getting a string value from an enum but I'm sure it's different in Swift. I can send the Objective-C ones if you think they would be helpful. On Jan 11, 2016, at 10:37 AM, Eric E. Dolecki wrote: > I have the following enum > > *enum SomeMode: St

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

2016-01-15 Thread Alex Zavatone
framework. Is there a set of standard operating practices that are available online to review for this type of app restructuring? Thanks in advance. - Alex Zavatone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

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

2016-01-15 Thread Alex Zavatone
On Jan 15, 2016, at 4:56 PM, Jens Alfke wrote: > >> On Jan 15, 2016, at 1:31 PM, Alex Zavatone wrote: >> >> However, a good amount of app startup and config is triggered in the >> appDelegate, same as push notification, opening the app via URLs and other >>

Re: Best Way to Hold Array of CFRefType’s

2016-01-18 Thread Alex Zavatone
Can you create a simple case simulation where you try out both with a placeholder CFFRefType and see which works and which fails? On Jan 18, 2016, at 8:44 AM, Dave wrote: > Hi, > > I have need to keep an Array of CFRefType’s stored in an Object. What is the > best way to do this? I can’t use

Re: How to save a Dictionary Network to a plist file?

2016-01-21 Thread Alex Zavatone
/comments/41wnxs/ios_data_serialization_ipc_vs_android/cz5r0p3 In any case, let me know if you want to take a look at the stuff I’ve got and I’ll send when I’m conscious. GL. Alex Zavatone On Jan 21, 2016, at 7:36 PM, dangerwillrobinsondan...@gmail.com wrote: > I'm surprised nobody has m

Re: How to record screen in iOS

2016-01-22 Thread Alex Zavatone
As somewhat of a cheesy hack, can't you capture the desired views or window content as bitmaps on schedule and queue them for processing to a file or set of files to be converted into a video? If it's not your app that you want the client to record, couldn't you make an SDK for game vendors to

Re: How to record screen in iOS

2016-01-22 Thread Alex Zavatone
trying to handle audio as well. I think that's the case though. What's "good enough" for the frame rate? Sounds like something fun to try, assuming the OP has vast amounts of spare time to try it out. >> On Jan 22, 2016, at 9:59 AM, Alex Zavatone wrote: >>

Re: adding frameworks to my project

2016-01-22 Thread Alex Zavatone
If you select your project from the navigator, you can add frameworks by selecting Build Settings in the center Editor window. From there, there are 4 items that appear, "Target Dependencies", "Compile Sources", "Link Binary With Libraries" and "Copy Bundle Resources". Select and expand "Link B

Re: adding frameworks to my project

2016-01-22 Thread Alex Zavatone
want to add. On Jan 22, 2016, at 10:03 PM, Scott Berry wrote: > Hello Alex and all, > > Alex, I have found what your talking about but it’s showing 0 frame works. I > did exactly as you said. Would anyone know why this is? > > >> On Jan 22, 2016, at 7:08 PM, Alex Zavato

Re: How to save a Dictionary Network to a plist file?

2016-01-24 Thread Alex Zavatone
On Jan 24, 2016, at 1:51 PM, Jens Alfke wrote: > >> On Jan 24, 2016, at 7:12 AM, Dave wrote: >> >> And it would synthesize the initWithCoder, encodeWithCoder and copyWithZone >> methods. > > It would be nice, but the compiler doesn’t always have enough information to > do this: > > * Some

Re: Obj-C - your thoughts on hiding data members?

2016-01-24 Thread Alex Zavatone
In this effort, what visual convention would you add to the private properties' names to indicate to the viewer that these are not public properties? A prefix of _ is already used by the compiler to indicate the internal ivar backing properties so, what convention should be used for private prop

Re: delete stock apps

2016-01-25 Thread Alex Zavatone
On Jan 25, 2016, at 1:16 AM, Rick C. wrote: > Does anyone know if there’s a way to delete stock apps on 10.11 without > disabling SIP and rebooting the machine? Or, is there a way to disable SIP > without rebooting? Thanks! > ___ SIP? SIP means th

Re: Obj-C - your thoughts on hiding data members?

2016-01-25 Thread Alex Zavatone
On Jan 25, 2016, at 5:52 PM, Greg Parker wrote: > >> On Jan 24, 2016, at 3:55 PM, Graham Cox wrote: >> >> In Objective-C 2, data members can be moved into a @interface MyClass () >> section which lives in the .m file, rather than in the header file as in the >> classic case. This makes sens

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
pportunity to take advantage of these techniques that Greg, Graham, Quincy, Snej, et al. are bringing to our attention, it's the perfect time to at least try out some conventions that clearly tell the programmer what the thing is simply by looking at it. I think it's a

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Alex Zavatone
Shouldn't the notification be as dumb as possible and let the notification receiver/processor handle any decisions on what to process or read from? On Jan 26, 2016, at 10:37 AM, Clark Cox wrote: > The notification’s userInfo *must* be a dictionary, trying to force it to be > something else is

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
On Jan 26, 2016, at 2:10 PM, Jens Alfke wrote: > >> On Jan 26, 2016, at 6:32 AM, Alex Zavatone wrote: >> >> Since we're all computery and programmy and stuff, couldn't we put together >> a little matrix of the type of variable and come up with several loo

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
On Jan 26, 2016, at 4:08 PM, Jens Alfke wrote: > >> On Jan 26, 2016, at 12:43 PM, Alex Zavatone wrote: >> >> Additionally, when creating an @property, the compiler does this >> automatically, when it create the iVar, correct? > > Only if you have auto-synt

iOS app HTTPS handling differences on development vs. Ad-Hoc distributables

2016-01-27 Thread Alex Zavatone
signed SSL certs that I haven't covered? Would this best be handled in setting up a challenge response reply? Ideas are welcome. Thanks. Alex Zavatone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: Obj-C - your thoughts on hiding data members?

2016-01-27 Thread Alex Zavatone
On Jan 27, 2016, at 6:38 AM, Dave wrote: > >>> I'm going to step out on a limb and since Xcode has supported editing in UTF-8 and 16, that we look into those character sets and pick some symbols that accurately represent public, protected and private. >>> >>> Now you’re pullin

Re: App Transport Security exceptions App Store signed app

2016-01-27 Thread Alex Zavatone
Here’s another discussion on nscurl that might help from Quinn at Apple DTS with a little more info. Thanks for the tip, Gavin. https://forums.developer.apple.com/thread/14816 On Jan 27, 2016, at 7:02 PM, Gavin Eadie wrote: >> On Jan 27, 2016, at 12:55 AM, Trygve Inda wrote: >> >> Calls t

Re: Obj-C - your thoughts on hiding data members?

2016-01-27 Thread Alex Zavatone
On Jan 27, 2016, at 2:49 PM, Alex Zavatone wrote: > > On Jan 27, 2016, at 6:38 AM, Dave wrote: > >> >>>> >>>>> I'm going to step out on a limb and since Xcode has supported editing in >>>>> UTF-8 and 16, that we look into tho

Re: Trying to understand a permissions failure when writing to ~/Desktop

2016-01-27 Thread Alex Zavatone
According to the sandboxing docs, I recall that for sandboxing, there are a certain set of locations where you can save files to without requiring user permission. Your ~/Documents folder is one of them. IIRC, all other locations require user confirmation to save the files. Try saving to the d

Re: Trying to understand a permissions failure when writing to ~/Desktop

2016-01-27 Thread Alex Zavatone
Sorry man. It’s been a long long day. On Jan 27, 2016, at 9:54 PM, Roland King wrote: > From the original mail > > "Note this isn’t a sandboxed app, so that shouldn’t come into it.” > > >> On 28 Jan 2016, at 10:51, Alex Zavatone wrote: >> >> According

Re: Obj-C - your thoughts on hiding data members?

2016-01-28 Thread Alex Zavatone
nt from my iPhone > On Jan 28, 2016, at 6:14 AM, Dave wrote: > > >> On 28 Jan 2016, at 00:34, Alex Zavatone wrote: >> >> Ahh, just a little testing shows that well, if it’s not ASCII, it’s not >> going to work, period. > > See? If i

Re: Trying to understand a permissions failure when writing to ~/Desktop

2016-01-28 Thread Alex Zavatone
On Jan 28, 2016, at 1:08 AM, Graham Cox wrote: > >> On 28 Jan 2016, at 4:36 PM, Graham Cox wrote: >> >> Why would the OS think an app was sandboxed > > > OK, I think I found the problem. In Build Settings->Code Signing, the “Code > Signing Entitlements” was set to a .entitlements file which

Re: UISearchBar covers status bar

2016-02-01 Thread Alex Zavatone
On Feb 1, 2016, at 5:42 PM, Rick Mann wrote: > I've got a UISearchController that I present (presentViewController) as a > result of the user tapping a button. When this hapens, the currently-display > UINavigationBar slides up off the top of the screen, and the UISearchBar > slides down, but

Re: UISearchBar covers status bar

2016-02-01 Thread Alex Zavatone
in a containing class like a nav controller. Hoping that this translates over to Mac OS. On Feb 1, 2016, at 7:36 PM, Rick Mann wrote: >> >> On Feb 1, 2016, at 16:06 , Alex Zavatone wrote: >> >> >> On Feb 1, 2016, at 5:42 PM, Rick Mann wrote: >> >>

Re: UISearchBar covers status bar

2016-02-01 Thread Alex Zavatone
On Feb 1, 2016, at 10:50 PM, Rick Mann wrote: > >> On Feb 1, 2016, at 19:47 , Alex Zavatone wrote: >> >> Check out how I did it where the search bar is within the scene’s view and >> the scene’s view is the top level view. Hopefully, this will translate from &g

Re: UISearchBar covers status bar

2016-02-02 Thread Alex Zavatone
1 PM, Rick Mann wrote: > >> On Feb 1, 2016, at 20:02 , Alex Zavatone wrote: >> >> >> On Feb 1, 2016, at 10:50 PM, Rick Mann wrote: >> >>> >>>> On Feb 1, 2016, at 19:47 , Alex Zavatone wrote: >>>> >>>> Check out ho

Re: Easier way to make NSView subclasses refresh on a property change?

2016-02-03 Thread Alex Zavatone
Set a key value observer for each that would call the refresh method. If there's a way to cluster them all into a collective set of things that would change (I think there may) I'm interested in hearing about it too. Would it be possible (or wise) to add them to an array or set and put the obse

Re: Weird Problem, is this an XCode Bug?

2016-02-04 Thread Alex Zavatone
On Feb 4, 2016, at 9:59 AM, Dave wrote: > XCode 7.2 (7C68). > Mac OS X (not iOS). > > Hi, > > I sent the following message to the XCode List, but now I’m wondering if > there is a bug in my code that is causing this weird behaviour? What could > cause then Debugger to think that a regular ob

Re: Weird Problem, is this an XCode Bug?

2016-02-04 Thread Alex Zavatone
On Feb 4, 2016, at 11:12 AM, Dave wrote: > Jeez, really? I need a broken debugger like a hole in the dead at the moment. > Any idea what causes it and how to get rid of it? Using “po” won’t help as > it’s a custom object, I need to look at the properties. Any ideas how I can > do this? OK.

Re: Question about Archives and Serialisations Programming Guide

2016-02-05 Thread Alex Zavatone
The first question is, “Do you have any circular references?” On Feb 5, 2016, at 8:13 AM, Dave wrote: > Hi, > > I’m having problems with Back Links when Archiving/Unarchiving an Object. I > found the text below at: > > https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Arc

Re: Question about Archives and Serialisations Programming Guide

2016-02-05 Thread Alex Zavatone
On Feb 5, 2016, at 8:46 AM, Dave wrote: > >> On 5 Feb 2016, at 13:34, Jean-Daniel Dupas wrote: >> >> And obviously, you also add - encodeWithCoder: and -initWithCoder: methods >> in your custom classes. > > Yes, see my other thread, it decodes all the other fields but not the (weak) > back

Re: Question about Archives and Serialisations Programming Guide

2016-02-05 Thread Alex Zavatone
ic initers and encoders, I'd sure like a pointer to them. Thanks and happy you got it working, Dave. Alex Zavatone On Feb 5, 2016, at 12:00 PM, Dave wrote: > Hi Alex, > > Found it! Well, Jean-Daniel did - Thanks again! > > I was barking up the wrong tree thinking it wa

Re: Question about Archives and Serialisations Programming Guide

2016-02-05 Thread Alex Zavatone
On Feb 5, 2016, at 12:01 PM, Dave wrote: >> >> Would something that is the opposite of strongify/weakify work here? Sort >> of a strongify a weak reference when it comes to archiving and archive the >> strong reference? > > Sort of a Quantum reference! > >> That almost sounds crazy enough

Just a quick verification on a bad access cause.

2016-02-08 Thread Alex Zavatone
assumptions and approach before I leave the debugger. Thanks in advance for any pointers, dereferenced or not (humor intended). Alex Zavatone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

An API for Airplane mode on iOS?

2016-02-08 Thread Alex Zavatone
ublished API to read the position of the Airplane Mode setting. All my sniffing around tells me that there is no formal API for this. Am I correct in assuming that this is true? Thanks in advance. Alex Zavatone ___ Cocoa-dev mailing list (Cocoa

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 8, 2016, at 5:13 PM, Jens Alfke wrote: > >> On Feb 8, 2016, at 1:55 PM, Alex Zavatone wrote: >> >> I'm using reachability classes to determine if we can reach our web services >> IP and monitoring all reachability enums, but would be "really nice

Re: Just a quick verification on a bad access cause.

2016-02-09 Thread Alex Zavatone
On Feb 8, 2016, at 5:10 PM, Jens Alfke wrote: > >> On Feb 8, 2016, at 1:47 PM, Alex Zavatone wrote: >> >> if ( [myIVar respondsToSelector:@selector(someMethod)] { >> EXC_BAD_ACCESS (code=1, address=0x143545358) >> I did a po on myiVar and I get

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 9, 2016, at 12:15 PM, Jens Alfke wrote: > >> On Feb 9, 2016, at 4:17 AM, Alex Zavatone wrote: >> >> I’ve created multiple tests using reachability and it would be REALLY EASY >> if we could simply respond to changes in the Airplane Mode switch. > >

Re: An API for Airplane mode on iOS?

2016-02-09 Thread Alex Zavatone
On Feb 9, 2016, at 3:37 PM, Jens Alfke wrote: > >> On Feb 9, 2016, at 10:38 AM, Alex Zavatone wrote: >> >> Simply put, if we can detect that this user is has turned off Airplane mode, >> we can respond in a more cautious manner. > > But you can run into t

Re: OT? Xcode Question

2016-02-11 Thread Alex Zavatone
There is an Xcode mailing list that you might want to post this to. Xcode-users Users On Feb 11, 2016, at 10:49 AM, Charles Jenkins wrote: > I find that when working with an Assistant Editor, I’m typically doing things > like creating outlets and actions, where I’m dragging from IB on the l

Re: Full-text indexing on iOS

2016-02-11 Thread Alex Zavatone
I'm sure you're already done this, but searching on your exact request gives 2 URLs in Google. The first is a link to your product unsurprisingly. The second is a project from 2015 that claims to do what you might want. I think a quick look at the second project might help to at least see if th

Re: Two Problems

2016-02-12 Thread Alex Zavatone
ugh self and BLAMMO! Unrecognized selector sent to instance. 2. Are you including the asset lib in your bundle for the build? Is the old name the same as the new name? Change the name of the graphic and see if it's even in the new build. GL Charles. Alex Zavatone. On Feb 12, 2016, at 8:59

Re: Two Problems

2016-02-12 Thread Alex Zavatone
figure out if it falls into the above issues. Lemmie know. Cheers Alex Zavatone > -- > > Charles > > On February 12, 2016 at 11:07:00, Alex Zavatone (z...@mac.com) wrote: > >> 1. What are you setting the delegate to? Self? If so, have you made sure to >> "con

Re: SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?

2016-02-17 Thread Alex Zavatone
original font's size or to move it a fixed amount. If you or anyone else would like, I'd be happy to share. Email me offline if you'd like me to send. Cheers, Alex Zavatone On Feb 17, 2016, at 9:37 AM, David Hoerl wrote: > >>> Is there a mechanism to do this? Even a gray so

Re: Buttons don't work after custom transition presentation?

2016-02-22 Thread Alex Zavatone
How are they wired up. Send me some screenshots offline and I'll see what I can do to help you. I've got time if you want to work through this. On Feb 22, 2016, at 6:50 PM, Rick Mann wrote: > I have a fairly straightforward fade-in custom transition. But the buttons in > my destination view

ARC code in a non ARC app. iOS

2016-02-23 Thread Alex Zavatone
ar with the -fno-objc-arc build flags to disable compiling one file at a time, but is there any possibility to include iOS code that does use ARC within an app that doesn't? Do I have a any options here or is this pretty much impossible? Thanks in advance. Alex Zavatone

Re: ARC code in a non ARC app. iOS

2016-02-23 Thread Alex Zavatone
:16 PM, Greg Parker wrote: > > >> On Feb 23, 2016, at 1:30 PM, Alex Zavatone wrote: >> >> Hi all. I'm in the middle of looking at an interesting problem on the iOS >> side. >> >> We have our code that is ARC and uses external compiled C libs

Re: ARC code in a non ARC app. iOS

2016-02-23 Thread Alex Zavatone
n initial test tomorrow morn. Is that well advised TY Mr. Q. Cheers, AZAVATON Sent from my iPhone > On Feb 23, 2016, at 6:19 PM, Quincey Morris > wrote: > >> On Feb 23, 2016, at 13:30 , Alex Zavatone wrote: >> >> Now, I'm familiar with the -fno-objc-arc bui

Re: ARC code in a non ARC app. iOS

2016-02-23 Thread Alex Zavatone
Aha! Awesome. That will work nicely. Now my concern is the compiled c lib that my code links to. Do I also have to rebuild that with non ARC flags too? Sent from my iPhone > On Feb 23, 2016, at 6:33 PM, Greg Parker wrote: > > >> On Feb 23, 2016, at 3:25 PM, Alex

Re: ARC code in a non ARC app. iOS

2016-02-23 Thread Alex Zavatone
Ok time for me to establish base test cases in very simple cases first. Sent from my iPhone > On Feb 23, 2016, at 6:47 PM, Quincey Morris > wrote: > >> On Feb 23, 2016, at 15:25 , Alex Zavatone wrote: >> >> Would it be recommended to package my ARC code with ARC

Re: Getting displayName out of font file

2016-02-26 Thread Alex Zavatone
I've got this somewhere for iOS, I think. Give me a sec and I'll dig it up. On Feb 26, 2016, at 5:16 AM, Gerriet M. Denkmann wrote: > I have a file “Some Font.ttf” and I want to know the displayName of this > font, which might be “Some-Font” or “Nice Font” or anything else. > Or nil if this is

Re: Getting displayName out of font file

2016-02-26 Thread Alex Zavatone
or (indFont=0; indFont<[fontNames count]; ++indFont) { NSLog(@"Font name: %@", [fontNames objectAtIndex:indFont]); } } } On Feb 26, 2016, at 2:17 PM, Alex Zavatone wrote: > I've got this somewhere for iOS, I think. Give me a sec and I

  1   2   3   4   5   6   7   8   9   10   >