Add to array from UITableView selection.


@interface ViewController () <NSFetchedResultsControllerDelegate, UITableViewDelegate, UITableViewDataSource>{
    NSMutableArray *children;
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    NSMutableArray *childrenArray = [[NSMutableArray alloc]initWithArray:children];
 NSManagedObject *record = [[self.fetchedResultsController fetchedObjects]objectAtIndex:indexPath.row];
    NSString *state = [record valueForKey:@"name"];
    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
    if([childrenArray containsObject:state]){
        [childrenArray removeObject:state];
        cell.accessoryType = UITableViewCellAccessoryNone;
    } else {
            [childrenArray addObject:state ];
              NSLog(@"State: %@", state);
        cell.accessoryType = UITableViewCellAccessoryCheckmark;
     [[NSUserDefaults standardUserDefaults] setObject:childrenArray forKey:@"children"];
    [[NSUserDefaults standardUserDefaults]synchronize];
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    children = childrenArray;
    NSLog(@"Children: %@", children);

Although not very pretty, this is how I accomplished my task.


The State of Things


Okay, let me begin. This post isn’t some whiny SJW-esque crapkin that populates a website that rhymes with Humblr, this is simply a long update on whats been going on. First off, I took an internship in October, so that means less time is devoted to app writing, Arduino, website updates, videos, etc.  Second, I also teach a Javascript class at a local school on Wednesdays, so that is also takes time out of my day. Third, christmas is ramping up, so any money is devoted to gifts. Lastly, my car is in need of assistance, so many parts need cleaning and reassembly, it needs to be done, period.

What about PayUp?

Right now, it doesn’t appear to need updating, all issues appear to be smoothed out. Sadly, a horrible initial release hindered its chance from ever becoming popular. It has had a major overhaul, most core code was re-written, and a new name was applied. Right now, I have made a total of $10, not even enough to cover a license.

What about YouTube?

I don’t know why I wrote this section, it doesn’t matter, as I don’t regularly update my channel with content, nonetheless, I hope to shoot, edit, and upload a new channel ‘trailer’ before the new year. To my many, many, many readers (/s), don’t expect it to happen, this is just hopeful thinking.

What about the website?

You are looking at this, this theme provides functionality and beauty without impacting the load time.

What other projects do you have in mind?

Other than the YouTube trailer, I’d like to fix our GoPro HD Hero2 (actually, just fixed it), apply the BACK-BONE mod kit to my employer’s GoPro HD Hero3, continue working on an app for a local child-care center, and I’d like to learn Swift (get off my LAWN)




Thanks readers (all three of you :D) for your time, see you soon.

  ~ Keaton

Ebook Piracy.


After reading Mr. Penumbras 24 Hour Bookstore (great read, I’ll upload it on the site later), I was suddenly interested in ‘Grumble’/’GrumbleNet’, along with ebook piracy. As a whole, I am advocate for ebook piracy, just due to the fact that knowledge needs to be free. I fully understand that writers pour their heart and soul into their tales of excitement and wonder. That being said, there never will be a base of pirates that actually make a difference in book sales, in other words, the ebooks will always draw revenue. There, I like books on my Kindle, so sue me. (please don’t).

How To: Install Yosemite on an Unsupported Mac!


I’m back with a much better guide to install Yosemite on your MacPro1,1 or other unsupported Mac. Before you begin, if you have a Mac Pro, get a better graphics card, your default one will suck, thanks to Yosemite. The one that I am using as a stop-gap actually works fine for Yosemite, it is currently $35 (USD) on Newegg, if you want it, here is the link. Now on to the guide!

NOTICE: I am not responsible for erasing or breaking your Mac! Continue at your own risk!

This works on the public release with some ‘shoe-horn’ing.

* An unsupported Mac, your choice if you deem it capable or not [Maverick Download Enabler].
* SFOTT Beta [download] [mirror]
* A USB Drive (8GB).
* OS X


1. Download and install SFOTT from the link/mirror above.

2. Download Yosemite either from a suspicious location or from the Mac App Store (try using Mavericks Download Enabler if on unsupported Mac).

3. Rename ‘Install OS X’ to ‘Install OS X Yosemite’.
Hopefully that will not need to happen in newer versions of the script.

4. Plug the USB drive into your Mac and format it as ‘Mac OS Extended’ and name it SFOTT.

(photos will be added later)

Note: 12a only needs to be done if your Mac Pro’s graphic card doesn’t have EFI boot. If it does, you can still use 12a, but you can also use 12b.


1. Open SFOTTBeta and follow the instructions until you get to a numbered Terminal menu.

2. Go to the Extras menu (7) and then the Yosemite menu (9).

3. Select OS X Yosemite Public Beta (2), since the official option is a placeholder, lol.

4.Go back to the main menu (1) and go to settings (3).

5. Select ‘Choose USB/media for the sfott key’ (2) and select the SFOTT usb key you made earlier.

6. Return to the main menu (5) and then go to settings (3) then select option ‘Select the computer to use’ (3).

7. Use option ‘Choose current computer’ (1) and then select ‘Select OS X System Version’ (4).

8. Select ‘OS X Yosemite Public Beta’ (1)

9. Select ‘Select OS X Installer’ (5) and select ‘In the default /Applications Folder location (Faster)’ (1) It should work if you renamed your installer specified above.

10. Go back to the main menu and select ‘Create / Patch SFOTT Key’ (4).

11. Select ‘Create a New key in Autorun’ (2). Follow the directions there.

12a. If you have a graphics card that doesn’t support EFI boot, open System Preferences on the target Mac, plug in the SFOTT USB key, and open the ‘Startup Disk’ preference pane. Select the SFOTT key and reboot from the panel.

12b. If you are using a Mac with built-in graphics or your graphics card supports EFI boot, just reboot and hold down option after the chime.

13. Your install should continue as expected.


1. The installer says ‘OS X Cannot be Installed on this Machine':
Make sure you set your machine/board-id in step 6-7.

BitBridge, a Siri-controlled Solution!


Here at BitTank, we write a lot of apps that never see the light of day, mostly because they aren’t suitable for the end user and requires changing code manually. Recently, I decided to make a lamp that is controlled by Siri, easy right? Slap SiriProxy on a RaspberryPi and be done with it. Wrong. SiriServer doesn’t work with iOS 7, much less iOS 8. I knew it could be done somehow. I looked at Googolplex (bad idea), but I eventually came to HomeKit, a new Apple API that allows you to control household stuff with Siri. Perfect application of API, my lamp. Now, on GitHub, I have for OS X, BitBridge, an application that makes your Mac appear like a HomeKit bridge on the network and advertises sample services, the only one that actually works is the Light. The Light opens up a serial port to my Arduino and sends commands. The bridge receives commands from the HomeKit API. In order for this to work, you need to use a client app on your iPhone, also on the BitTank Github as ‘BitBridge-iOS’. Check them out today!