Tab bar and split view controllers together?

2016-04-10 Thread Alex Hall
, but now I've got to learn about them. To that end, I'm reading more about them, but I hoped to get some input from you all on the subject. Thanks. -- Have a great day, Alex Hall mehg...@icloud.com ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: Understanding accessibility

2016-04-10 Thread Alex Hall
t; 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-de

Re: making a pronunciation dictionary for Voiceover on the iphone

2016-01-06 Thread Alex Hall
dmin 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/mehgcap%40icloud.com > >

Making custom table cells for view-based tables on mac?

2015-11-23 Thread Alex Hall
Hello list, My Twitter app is working well with its Cocoa bindings and default table cells, but I want to do more with said table cells. Right now, I put *all* the text into the cell's label, which works fine. I'd like to put the sender, tweet text, and timestamp each in their own fields, though

Re: dateFromString won't accept this string:

2015-11-23 Thread Alex Hall
pec 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

Re: dateFromString won't accept this string:

2015-11-23 Thread Alex Hall
7;m thinking about where data detectors will be useful. > > Sandor > > On Nov 22, 2015, at 16:12, Alex Hall <mailto:mehg...@icloud.com>> wrote: > >> Hey list, >> I’m using NSDateFormatter.dateFromString() to make a date from the date >> string in a tweet. H

Re: dateFromString won't accept this string:

2015-11-22 Thread Alex Hall
> On Nov 22, 2015, at 6:04 PM, Alex Hall wrote: > > >> On Nov 22, 2015, at 5:06 PM, Jerry Krinock wrote: >> >> >>> On 2015 Nov 22, at 13:12, Alex Hall wrote: >>> >>> Is there something else I have to do, like tell the formatter wha

Re: dateFromString won't accept this string:

2015-11-22 Thread Alex Hall
> On Nov 22, 2015, at 5:06 PM, Jerry Krinock wrote: > > >> On 2015 Nov 22, at 13:12, Alex Hall wrote: >> >> Is there something else I have to do, like tell the formatter what order to >> expect components to be in? > > Yes, and more. You must s

dateFromString won't accept this string:

2015-11-22 Thread Alex Hall
Hey list, I’m using NSDateFormatter.dateFromString() to make a date from the date string in a tweet. However, it seems to be returning nil, and I’m not sure why. Is there something else I have to do, like tell the formatter what order to expect components to be in? The string is something like:

Re: a question concerning how to fire a message at the beginning of my application

2015-11-17 Thread Alex Hall
.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/mehgcap%

Re: UserDefaults not letting me access a dictionary?

2015-11-16 Thread Alex Hall
> On Nov 14, 2015, at 15:41, Quincey Morris > wrote: > > On Nov 14, 2015, at 10:18 , Alex Hall <mailto:mehg...@icloud.com>> wrote: >> >> In a playground, accessing a dictionary of [String:Bool] works fine, as >> expected. In the app, th

Re: Voiceover support

2015-11-14 Thread Alex Hall
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/mehgcap%40icloud.com > > This email sent to mehg...@icloud.com -- Hav

UserDefaults not letting me access a dictionary?

2015-11-14 Thread Alex Hall
d error out right there, though. I haven't played much with user preferences before, so I may well be missing something, but it seems easy enough to use and there shouldn't be anything funny going on. Any thoughts? Thanks! -- Have a great day, Alex Hall mehg...@icloud.com ___

Labeling switches/checkboxes on iOS

2015-10-20 Thread Alex Hall
lways goes below toggles like this? Mostly, I'm wondering if there's anything VO is ignoring on the screen, which I should put in my own apps and then hide from VO. I hope I'm making at least some sense; this question seemed so simple

Re: Implications of disabling ATS?

2015-10-02 Thread Alex Hall
> On Oct 2, 2015, at 16:01, Kyle Sluder wrote: > > On Wed, Sep 30, 2015, at 03:45 PM, Mike Abdullah wrote: >> >>> On 30 Sep 2015, at 17:17, Jens Alfke wrote: >>> >>> >>>> On Sep 30, 2015, at 7:06 AM, Alex Hall wrote: >>>>

Re: questions on WebView for Mac apps

2015-10-01 Thread Alex Hall
IZER; > > It's max 3 minutes of work. Fair enough. As I said, I hadn't yet looked into how to do it, it just seems strange to not offer the object we're supposed to prefer in IB at all. > > > On Thu, Oct 1, 2015 at 3:00 AM, Alex Hall <mailto:mehg...@icloud.com>

Re: questions on WebView for Mac apps

2015-09-30 Thread Alex Hall
> On Sep 30, 2015, at 17:35, Charles Srstka wrote: > >> On Sep 30, 2015, at 4:28 PM, Jens Alfke > <mailto:j...@mooseyard.com>> wrote: >> >>> On Sep 30, 2015, at 2:20 PM, Alex Hall >> <mailto:mehg...@icloud.com>> wrote: >>> >

Re: questions on WebView for Mac apps

2015-09-30 Thread Alex Hall
our Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mehgcap%40icloud.com > > This email sent to mehg...@icloud.com -- Have a great day, Alex Hall mehg...@icloud.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Implications of disabling ATS?

2015-09-30 Thread Alex Hall
;t have ATS blocking everything. I'm not sure what the best course is here. Thanks. -- Have a great day, Alex Hall mehg...@icloud.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

questions on WebView for Mac apps

2015-09-29 Thread Alex Hall
p being called. This is a bit off the topic, but are there any auto layout gotchas I should know? I've read a lot about how terrible scroll views with auto layout can be, and I just want to know if a similar thing will happen with this view too. I think that's it.

Error unwrapping an optional which isn't an optional

2015-09-21 Thread Alex Hall
t'. As I said, I'm just curious about this, not desperate to fix it and totally lost like a couple weeks back. :) My delegate does a fine job doing what I want, and I might never use a binding for this job at all. The error is just such an odd one, considerin

Re: Working with NSTextFields

2015-09-20 Thread Alex Hall
> On Sep 18, 2015, at 21:24, Quincey Morris > wrote: > > On Sep 18, 2015, at 16:46 , Alex Hall <mailto:mehg...@icloud.com>> wrote: >> >> myField.accessibilityHelp="new help message" >> > > Well, it’s a fascinating p

Re: Tracking down source of [_NSControllerObjectProxy copyWithZone:]… error

2015-09-20 Thread Alex Hall
> On Sep 20, 2015, at 02:04, Quincey Morris > wrote: > > On Sep 19, 2015, at 20:09 , Alex Hall <mailto:mehg...@icloud.com>> wrote: >> >> [_NSControllerObjectProxy copyWithZone:]: unrecognized selector sent to >> instance 0x60800ae0 >>

Tracking down source of [_NSControllerObjectProxy copyWithZone:]… error

2015-09-19 Thread Alex Hall
crollView.contentView.documentView as! NSTextView } } Anyway, any suggestions on how to hunt down the cause of this copying bug would be appreciated. Thanks everyone! -- Have a great day, Alex Hall mehg...@icloud.com ___ Cocoa-dev mailing list (Co

Re: Working with NSTextFields

2015-09-18 Thread Alex Hall
ange instead, but the point is that I see that error as soon as I try to modify the accessibility details of the text field, and the app won't even build. > > Keep in mind that with Swift, the error that’s reported is still sometimes a > secondary error. What it sa

Re: Working with NSTextFields

2015-09-15 Thread Alex Hall
er, but it would be really nice to be able to change this according to different user actions. > On Sep 15, 2015, at 13:20, Jens Alfke wrote: > > >> On Sep 15, 2015, at 9:11 AM, Alex Hall wrote: >> >> * When I call myField.stringValue="some text", that st

Re: Working with NSTextFields

2015-09-15 Thread Alex Hall
> On Sep 15, 2015, at 13:20, Jens Alfke wrote: > > >> On Sep 15, 2015, at 9:11 AM, Alex Hall wrote: >> >> * When I call myField.stringValue="some text", that string ("some text") >> appears as expected, but it's highlighted. That

Working with NSTextFields

2015-09-15 Thread Alex Hall
inspectors, for the field or its child cell. I don't want rich text, just spellchecking. Is it hiding somewhere, or is this done programmatically? As always, thank you for your time and help. -- Have a great day, Alex Hall mehg...@icloud.com ___

Re: Basics of Cocoa Bindings

2015-09-12 Thread Alex Hall
I've gotten bindings working, I want to use them, at least until I fully grasp them and am comfortable using them whenever the situation calls for them. I won't be switching away from them for a while. > > Sent from my iPhone > >> On Sep 12, 2015, at 9:28 PM, Alex Hall

Re: Basics of Cocoa Bindings

2015-09-12 Thread Alex Hall
ts of an array or dictionary in a table, what would you use instead? > On Sep 12, 2015, at 00:05, Quincey Morris > wrote: > > On Sep 11, 2015, at 20:20 , Alex Hall <mailto:mehg...@icloud.com>> wrote: >> >> Okay, the error I'm seeing (about [ViewController

Re: Basics of Cocoa Bindings

2015-09-11 Thread Alex Hall
d. Anyway, just something to watch if anyone decides to have a look at the file. > On Sep 11, 2015, at 23:20, Alex Hall wrote: > > >> On Sep 11, 2015, at 21:04, Quincey Morris >> wrote: >> >> On Sep 11, 2015, at 15:49 , Alex Hall > <mailto:mehg...@icl

Re: Basics of Cocoa Bindings

2015-09-11 Thread Alex Hall
> On Sep 11, 2015, at 21:04, Quincey Morris > wrote: > > On Sep 11, 2015, at 15:49 , Alex Hall <mailto:mehg...@icloud.com>> wrote: >> >> I followed all of that, and I see what you're saying. The binding to an >> array is, to it, no different

Basics of Cocoa Bindings

2015-09-08 Thread Alex Hall
e few developers I know only do iOS; and none of my family or friends knows anything about programming at all. I've tried getting into Apple development off and on for a few years, but Xcode has finally gotten to the point where it's usable enough with Voice

Re: Getting started with Cocoa Bindings in My Project?

2015-09-07 Thread Alex Hall
e. > On Sep 7, 2015, at 08:25, Alex Hall wrote: > > >> On Sep 7, 2015, at 02:07, Ken Thomases wrote: >> >> On Sep 7, 2015, at 12:01 AM, Alex Hall wrote: >> >>> My first step is to make a KVO-compliant backing store, because Swift >>> array

Re: Getting started with Cocoa Bindings in My Project?

2015-09-07 Thread Alex Hall
> On Sep 7, 2015, at 02:07, Ken Thomases wrote: > > On Sep 7, 2015, at 12:01 AM, Alex Hall wrote: > >> My first step is to make a KVO-compliant backing store, because Swift arrays >> won't do the job. As you said, my goal of updating an array and having my

Re: Getting started with Cocoa Bindings in My Project?

2015-09-06 Thread Alex Hall
t's how I understand the whole procedure. I thought it would be easier to just say what I've got then to try to keep replying in-line. Thanks again for the responses! > On Sep 6, 2015, at 14:14, Ken Thomases wrote: > > On Sep 6, 2015, at 10:59 AM, Alex Hall wrote: > >&

Getting started with Cocoa Bindings in My Project?

2015-09-06 Thread Alex Hall
worth. I really want to grasp this concept, though, and I'm still researching and reading. I'm hoping that being able to ask specific questions about my specific model will help to clarify what general-purpose explanations haven't. Thanks in advance for your help and patience. -

Subclassing NSView in Yosemite?

2014-11-06 Thread Alex Hall
n provide. Thanks. Oh, here's the page I'm looking at, among many others on Google: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/index.html#//apple_ref/doc/uid/2014-SW10 -- Have a great day, Alex Hall mehg...@icloud.com

Intercepting *all* keystrokes in NSView?

2014-08-04 Thread Alex Hall
ey aren't stopped. If it matters, my UI is the default window, inside of whose view is my key-capturing NSView subclass instance, inside of which is a basic text field. Please let me know if you need any additional code snippets, and thank you in advance for any sugg

Re: Direct NSSpeechSynthesizer output to buffer instead of file?

2014-02-06 Thread Alex Hall
a look at this link. > > But really ask on the other list. Most definitely! > >> On Feb 6, 2014, at 7:15 PM, Alex Hall wrote: >> >> Hello again, >> The NSSpeechSynthesizer can output speech to a sound output device or a >> file. However, I want to cap

Direct NSSpeechSynthesizer output to buffer instead of file?

2014-02-06 Thread Alex Hall
Hello again, The NSSpeechSynthesizer can output speech to a sound output device or a file. However, I want to capture the output and store it as audio data, so I can string together multiple outputs and then save the whole thing to a file. I've looked, but the only link I found that might have o

NSSpeechRecognizer and complex commands/grammars?

2014-02-06 Thread Alex Hall
Hello everyone, In looking at the class reference for the NSSpeechRecognizer, you are told that: Through an NSSpeechRecognizer instance, Cocoa applications can use the speech recognition engine built into OS X to recognize spoken commands. With speech recognition, users can accomplish complex, mu

Re: Another best practice question: storing hotkey assignments

2014-01-04 Thread Alex Hall
On Jan 4, 2014, at 2:14 PM, Steve Mills wrote: > On Jan 4, 2014, at 10:13:46, Alex Hall wrote: > >> Yes, I can do it, but it seems like there must be a more efficient way than >> or-ing every combination of those five masks with the modifier flags each >> keypress

Another best practice question: storing hotkey assignments

2014-01-04 Thread Alex Hall
Hello list, I'm happy to say my audio game is now working. The game itself is not written yet, but the audio menu is doing well - I can navigate it with the arrow keys and the proper selector is called when I press enter. Thanks again for all your help thus far. As I build the map and the rest

Re: NSView subclass does not seem to start

2014-01-01 Thread Alex Hall
:45 AM, Andy Lee wrote: > On Dec 30, 2013, at 5:34 PM, Alex Hall wrote: >> Anyway, the problem remains that I need to capture keystrokes (and >> eventually mouse movements) in a subclass of NSView, but nothing seems to >> happen. Since this is an audio game, there is no nee

Re: NSView subclass does not seem to start

2013-12-31 Thread Alex Hall
On Dec 31, 2013, at 12:45 AM, Andy Lee wrote: > On Dec 30, 2013, at 5:34 PM, Alex Hall wrote: >> Anyway, the problem remains that I need to capture keystrokes (and >> eventually mouse movements) in a subclass of NSView, but nothing seems to >> happen. Since this is an au

Re: NSView subclass does not seem to start

2013-12-30 Thread Alex Hall
On Dec 30, 2013, at 6:05 PM, Ken Thomases wrote: > Hi, > > On Dec 30, 2013, at 4:34 PM, Alex Hall wrote: > >> Anyway, the problem remains that I need to capture keystrokes (and >> eventually mouse movements) in a subclass of NSView, but nothing seems to >> ha

NSView subclass does not seem to start

2013-12-30 Thread Alex Hall
Hello list, A few days ago I said I am working on an audio game, when I asked about code organization. I have taken the advice I was given and am simply trying to get things to work, keeping the major portions separated as much as I can but mostly just wanting the project to do what I want. For

Best Practices for Code Organization

2013-12-27 Thread Alex Hall
Hello list, I am continuing to work on my audio game for the Mac. Audio games are a genre of games for those who cannot see; these games use audio to indicate obstacles, enemies, and other game elements. Anyway, as with most games, a huge part of the experience is keyboard commands, which means

Re: Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
On Dec 16, 2013, at 8:06 PM, Seth Willits wrote: > On Dec 16, 2013, at 3:21 PM, Alex Hall wrote: > >> I went ahead and used timers, just to get things off the ground. Many people >> seem to dislike them, but they work for me, for now anyway. It's really &

Re: Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
would > recommend the solution that requires the least code written (NSTimer), and > avoid multithreading. If you run into performance problems you can always > implement a more advanced solution later. > > cheers, > - Dan > > > On Dec 13, 2013, at 3:57

Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
Hello list, I am attempting to use OpenAL to move a sound source around. To do so smoothly, though, will require a loop, so I can update the position in small increments many times per second. This is essentially a game loop, so I've done much searching on implementing game loops in Objective-C.

Re: Getting true 32-bit integers with NSNumber?

2013-12-02 Thread Alex Hall
Thanks for the help everyone. Instead of NSUIntegers I now use ALuints, and instead of calling unsignedIntegerValue on NSNumbers I now call unsignedIntValue. My warnings have gone from over 80 to around 30, so this is definitely the right track. The only snag now is that dictionary the controlle

Getting true 32-bit integers with NSNumber?

2013-12-01 Thread Alex Hall
Hello list, I was given a library someone made to use with OpenAL. When he made this, iOS2 was the standard, so naturally it is still 32-bit. I am now trying to use it on OS10, and am getting the expected implicit conversion errors. As far as I can tell, the numbers being used are all 64-bit int

new to Cocoa/Objective-c: many points of confusion

2013-02-03 Thread Alex Hall
Hello all, First, I will quickly give my background. I graduated two years ago with a computer science degree and a math minor; my education focused mostly on Java, Python, and some web languages, with bits of several other languages thrown in from time to time. I understand the concepts of mode