TUAW Talkcast: Mountain Lion preview show, 10pm ET

Tonight on the Talkcast, we’re getting ready for the new top cat in town. The calendar is flipping past and the end of July is in sight, which means the release of OS X Mountain Lion is imminent. Our intrepid team has been helping you prepare your Mac for the new operating system via our ongoing Getting Ready for Mountain Lion series — now it’s your chance to call in and discuss, dissect, etcetera.

We’ll be welcoming a few special guests tonight, including Rene Ritchie of iMore and tech journalist Julio Ojeda-Zapata of the St. Paul (MN) Pioneer-Press. Bring your Mountain Lion musings — and also your predictions for Apple’s earnings call later this week.

To participate in the call, you can use the browser-only Talkshoe client, the embedded Facebook app, or download the classic TalkShoe Pro Java client; however, for +5 Interactivity, you should call in. For the web UI, just click the Talkshoe Web button on our profile page at 4 HI/7 PDT/10 pm EDT Sunday. To call in on regular phone or VoIP lines (Viva free weekend minutes!): dial (724) 444-7444 and enter our talkcast ID, 45077 — during the call, you can request to talk by keying in *8.

If you’ve got a headset or microphone handy on your Mac, you can connect via the free X-Lite or other SIP clients — basic instructions are here. Skype users with dial-out credit can call in via the service, or use those free iPhone minutes. Talk to you tonight!

Continue reading TUAW Talkcast: Mountain Lion preview show, 10pm ET

TUAW Talkcast: Mountain Lion preview show, 10pm ET originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 22 Jul 2012 18:15:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Best Resources In iOS Development – July 22nd 2012

This past weeks top iOS developer resources include a look at how one app that was able to dramatically increase it’s downloads, a conversion of the popular HTML5 example Zenplayer to Objective-C, and a new calendar control

Here are the resources:

How To Get A Massive Increase In Downloads With Some Simple App Store SEO – A look at how one app was able to drastically increase it’s downloads with a little keyword optimization.

Objective-C ZenPlayer: Great Looking Customized iOS Music Player Control – A remake of a popular HTML5 demo in Objective-C showing how to make a simple music player with some great custom buttons.

New Open Source iOS Calendar Component That Improves On Previous Calendar Controls – A calendar component with the capability of selecting dates from multiple months and a nice simple syntax.

Open Source Control For Making Custom Status Bars With Built In Progress Indication – A useful control for making status bars that include the capability of displaying progress.

Free Service For Easy Secure Validation Of iOS In-App Purchases – A service for easy secure encrypted validation of in-app purchase receipts.

Lightweight Objective-C Active Record Implementation For Managing Core Data Objects – A very lightweight Ruby On Rails inspired library for working with Core Data.

Using AFNetworking/JSON To Build Instagram Style App With A Web-Based Backend – A tutorial demonstrating how to use the popular AFNetworking library to create an app with a PHP backend.

Open Source Custom iOS Slimey Style Pull-To-Refresh Control – An iOS 6 inspired pull-to-refresh control similar to that found in the Mail app.

AFNetworking Add-On Library For Easy Download Resumption And Progress Checking – An AFNetworking add-on providing much easier download resumption and more.

Xcode Template For Easily Creating iOS Adobe Air Native Extensions (ANE) – An Xcode template providing a sample air native extension in Xcode so that you can easily create your own extensions.

Thanks for reading, please bookmark and share this post.

DeliciousTwitterFacebookRedditLinkedInEmail


Detecting Touches on a Label Control

The UILabel control is useful for displaying information, but it does not recognize events: an IBAction method cannot be wired to it. So how do we detect a touch event on a label and respond to it? The answer lies in the UITapGestureRecognizer object. Let’s see how it works.

Start Xcode, select “Create a new Xcode project,” and click Next. Choose the Single View Application template, and click Next. Name the project ControlTouch, and select options as shown:

Click Next, choose a location to save the project, and click Create.

When the project has been created, select the ViewController.h file, and add two properties and a method as shown here:

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@property (nonatomic, strong) IBOutlet UILabel *output;
@property (nonatomic, strong) IBOutlet UILabel *touchLabel;

– (IBAction)viewWasTouched:(UITapGestureRecognizer *)sender;

@end

Select the ViewController.xib file, and add two labels to the view. Change the text of the first label to “” (an empty string) and the text of the second label to “Touch Here.” When you are finished, the view should look something like this:

The View. The top label is selected, with its text deleted.

Now drag a UITapGestureRecognizer object from the library to the view. Wire up the two labels (output is wired to the top label with the empty text), then wire the viewWasTouched: method to the UITapGestureRecognizer.

Open the ViewController.m file, and add the following immediately after the @implementation line:

@synthesize output, touchLabel;

– (IBAction)viewWasTouched:(UITapGestureRecognizer *)sender
{
    if (sender.numberOfTouches == 1) {
        CGPoint touchPoint = [sender locationOfTouch:0 inView:self.touchLabel];
        CGFloat touchX = touchPoint.x;
        CGFloat touchY = touchPoint.y;
        // is the touch in the bounds of the touchLabel?
        if (touchX >= 0 && touchY >= 0) {
            if (touchX <= self.touchLabel.bounds.size.width && touchY <= self.touchLabel.bounds.size.height) {
                [self performSelector:@selector(labelTouched)];
            }
        }        
    }
}

// listing continues… webmaster: the labelTouched method goes here, delete this line

– (void)labelTouched
{
    if ([self.output.text isEqualToString:@""]) {
        self.output.text = @"Label Touched!";
    } else {
        self.output.text = @"";
    }
}

As always, we first synthesize the properties. In the viewWasTouched method, we verify that the number of touches is one, then we see if the touch occurred within the bounds of the touchLabel.

UITapGestureRecognizer recognizes taps at the view level. But we can get the position of the touch within the context of any view (not just the main view). In this example, we get the location in the context of the touchLabel control, and verify that the touch point is not less than (0, 0) (the top left coordinate of the label), or greater than the label’s width and height.

At this point, we’ve detected a touch, and verified that the location of the touch is inside the bounds of the label. We could put code directly inside this if statement, but it’s cleaner to place the code that handles the touch event inside a separate method. We can then tell the view to call that message by sending it the performSelector message.

The labelTouched method simply toggles the text of the output label between @”Label Touched” and @””. When we run the app, each time we touch the “Touch Here” label, the text in the output label will change.

This technique will work for any control not having built – in touch based events. For example, we could detect and respond to touches in a UITextField or UITextView control if we want perform some action in addition to the default action of displaying the keyboard.

Entitlement and Acquisition

Sparrow (a popular Mac and iOS email client) has been acquired by Google. The apps are essentially being put in maintenance mode, with no additional features planned for the future.

Cue predictable squawking on the internet. The same thing happens every time there’s an acquisition of a smaller, indie dev company or product by a larger company.

Continue reading “Entitlement and Acquisition”

Golfshot: Golf GPS — Track Your Game

GPS golf equipment has sky-rocketed over the last couple of years. Equipment prices have been driven down by making the technology more accessible, but the equipment can still be expensive with most of it costing around $200. A lot of these systems require subscription services as well, which increases the overall price. But what if a golfer could use their iPhone as a golf GPS. Fortunately for these golfers, there are several apps that provide this functionality. Today I want to talk about my favorite golf GPS app, Golfshot: Golf GPS.

Some golfers might feel that using a GPS might interfere with the old charm of the game of golf, but I think most can appreciate the benefit of using a GPS system. It can help amateur golfers play their best golf by providing accurate distances for each shot. Not only will this help them improve their game, it can also help keep the round moving at reasonable pace. A golf GPS helps take the guesswork out of the game, which translates to more confident shots and hopefully more fun.

The App

Golfshot: Golf GPS provides more functionality than just a GPS. The app also includes the ability to track scorecards for up to four players, statistics (such as % of fairways hit), shot tracking, ability to enter notes and pictures from holes, and overall statistic tracking from previous rounds. The app also has a battery save feature which helps keep the battery in check, although it is a wise idea to head to the course with a freshly charged iPhone.

Golfshot: Golf GPS keeps courses on their server and they are constantly adding new courses. There is a good chance your home course is already mapped out.

Golfshot: Golf GPS keeps courses on their server and they are constantly adding new courses. There is a good chance your home course is already mapped out.

When first opening the app and signing up for a Golfshot account, the app will download golf courses that are synced through the GolfShot system. Once all of the updated courses have been downloaded, the app will load the courses closest to you. Just select the course you are going to play and enter up to three other players to keep their scores as well.

When first downloading all of the course data, make sure you are on a Wi-Fi connection and plugged into a power source. Otherwise, you might see your battery start dropping off pretty quickly.

GPS

The biggest feature of the app is the GPS. The GPS feature in Golfshot: Golf GPS allows users to obtain distances to hazards, greens and also pre-entered club layup data. When first teeing off on a hole the distance provided will show an increasing grid of distance items until the green distance is registered. These are presented with a front edge, center and back edge distance.

Tracking a drive is great way to document shots and brag to your friends.

Tracking a drive is great way to document shots and brag to your friends.

A great feature is the shot tracking. Using the GPS, the app will track the distance of any shot while on the course. To activate this feature, press the golf ball next to the center of the green distance measurement. This will reveal a menu for shot tracking, image capture, notes, scorecard and access to club averages. Pressing Done when arriving at your ball will save the distance. Just considering the GPS features of the app alone make it worth the price of the admission.

It should be noted that the GPS is working very hard to give accurate and timely data. With the GPS being active for an extended period of time it will use up a considerable amount of battery life. While viewing distances, there is an option to turn on a screensaver to save your battery. This keeps the GPS active, but in a reduced power state so it will quickly update distances when clearing the screensaver. I have been using this app for over two years and on average you will see the app use 40%–60% of the battery. A lot of factors are included in that estimate, such as GPS signal and length of round, but users should expect around a 50% drain on the battery.

Other Features

As previously mentioned, the app supports manually entered club layup data. The items entered will show among the GPS data and is sorted by distance to the green. For example, in the screenshot below I usually hit with my pitching wedge around 130 yards. In order to have a 130-yard shot to the green, I need to hit my next shot 215 yards.

GPS also supports seeing an aerial view of the golf course. To access this area, press the GPS text at the bottom of the screen when viewing distances. An aerial view will load showing distance markers on the course. The maps are rendered through Google and mostly are helpful if you would like to get the big picture of a hole.

Looks like the hole is just straight, should be easy to keep it in the fairway!

Looks like the hole is just straight, should be easy to keep it in the fairway!

Within the aerial view, a user can tap on a location and drag with their finger to obtain a custom distance or to map out a shot to the hole. On occasion, you might not have a good view of the hole due to it being located on the edge of the course.

Statistics

The statistics section is accessible from the home screen. The sections within the statistics section include driving accuracy, greens in regulation, recovery performance, putting averages, scores by par, scoring and swing tracking.

All of the statistic screens are interactive, allowing the user to determine how many rounds are used when making the calculations. Going into the Options screen also allows the user to change how the statistics are calculated by changing the course and/or adding a date range. All of the statistic screens show a graph and percentages in the top right. On the bottom half of the screen, statistics for the individual rounds being used to make up the overall numbers are scrollable. Scrolling in the bottom area will reveal a line graph showing the statistics for each section.

The statistics provide a lot of information to watch your game improve. I just need mine to improve quicker!

The statistics provide a lot of information to watch your game improve. I just need mine to improve quicker!

The driving accuracy screen provides information about fairway percentages hit and the percentage of fairways which were missed left and right. The green accuracy screen shows the percentage of greens that were hit or missed. Recovery performance shows the % amount of scrambling and the percentage of sand saves. Putting averages will show the average putts per hole and average putts per green in regulation. The scores by par will show the average score by 3, 4 and 5-par holes. The scoring page will show the scoring numbers whether it was an eagle, birdie, par, bogey or double bogey.

Scorecards

Scorecards are viewable and accessible from the home screen. The front nine holes will show in a landscape view. Scrolling to the right will reveal the back nine. The scorecard is laid out in a grid format, and the score is put above the par of each hole.

Entering scoring data for the par 4 hole 11.

Entering scoring data for the par 4 hole 11.

The app provides a visual score with a colored box depending on the score of the hole. Also, the scorecard will show more statistics, such as if a green in regulation was achieved and how many putts were hit.

Scorecards can be emailed to other players in the group if their email address is within the iOS contacts app.

Conclusion

Golfshot: Golf GPS is a complete Golf app that can be appreciated by amateur and tour minded players alike. The GPS is as reliable as a Sky Caddie at a fraction of the cost, and with no yearly service cost, the initial $30 price tag seems very fair. If you are looking for a good way to track shot distances, track statistics and be more confident with each shot, give Golfshot: Golf GPS a try.

Cook Outside with Outdoor Eating

Many people choose to head into the proverbial “Great Outdoors” and participate in the recreational activity that is camping. It can be a refreshing experience to enjoy nature outside of an urban setting, but it can also be an opportunity to cook up some great food.

Outdoor Eating comes from The Duke of Edinburgh’s Award. It’s all about recipes for cooking outdoors, and provides a list of the ingredients needed plus the instructions to make it with ease. With Outdoor Eating, you can plan what you’re going to eat before you head out, guaranteeing you have the ingredients on hand.

Browsing Recipes

Outdoor Eating contains over 80 recipes that you can cook up while camping, all available in the default view of the app, named Recipes. You can view them all at once, in a long list view or tap the icon in the top-right corner to switch to a horizontally scrolling grid view. Outdoor Eating provides a few quality images to accompany the recipes, so it’s easy to browse a variety of foods by just what looks appetising.

Browsing recipes in Outdoor Eating can be done in either a list view, or a grid view, though both show images of the recipes.

Browsing recipes in Outdoor Eating can be done in either a list view, or a grid view, though both show images of the recipes.

You need only tap on an icon to launch into a recipe. Each one is offered the aforementioned high-quality photo of the dish, allowing you to judge it’s appetisingness, alongside it’s name and an estimate of the time it’ll take to make.

In addition those features you’ll also get step-by-step instructions on how to prepare and cook the chosen dish at the bottom, using a swiping gesture to navigate between stages. If you swipe all the way along to the right-most panel of the recipe’s instructions, you might also find a tip on how to modify the dish for a potentially more tasty end result.

By tapping on the Ingredients tab at the bottom of the recipe screen, you’ll get a list of the ingredients required to create the dish. The plus icon allows you to add all these items to a convenient aggregated shopping list that you can take with you when shopping before you head out into the outdoors.

Viewing a recipe, you can hit the Ingredients tab at the bottom to view a list of the items the recipe requires.

Viewing a recipe, you can hit the Ingredients tab at the bottom to view a list of the items the recipe requires.

Each recipe is also tagged with a number of key features such as Dessert or Barbecue. This makes it really easy to find specific groups of recipes, and you can even filter recipes in the main listing by activity (such as backpacking vs camping or caravanning), course, time needed, method and whether or not the process will require refrigeration. You can also search the catalogue of recipes by keyword.

My Stuff and Extras

The My Stuff section, accessible by tapping on the two down arrows under the app’s title bar, offers up a location to easily save items. Any recipes you favourite will show up under the Favourites tab, allowing you to easily access the dishes you like and/or cook the most.

You also get a shopping list, which aggregates the lists of ingredients for each of the recipes you’ve added to the list, making it really easy to shop for all the ingredients you’re going to need at once.

Some of the "extras" available in Outdoor Eating. The app offers up both listings of equipment you should probably bring while camping or backpacking, and general cooking and safety tips.

Some of the "extras" available in Outdoor Eating. The app offers up both listings of equipment you should probably bring while camping or backpacking, and general cooking and safety tips.

If you add a recipe to your planner via the plus button in the top-right corner of the recipe viewer, it’ll appear under the planner tab in your My Stuff section. This is a neat little part of the app that allows you to allocate specific dishes to the days of your trip, offering an itinerary of eating, which is pretty cool.

Outdoor Eating also includes an Extras section which lists various equipment you should carry with you while camping/caravanning or backpacking (they are marked to show which activity they are applicable for, or both), various cooking tips and safety precautions, separated into where they are applicable.

Interface

I did want to touch on Outdoor Eating’s very skeumorphic user interface, made to resemble variously-coloured shades of wood. However, even if you’re a hater of skeumorphic or metaphorical design, Outdoor Eating will still look great.

More recipes in Outdoor Eating.

More recipes in Outdoor Eating.

Especially on the return display, the typography choices made throughout the app mean it looks great and the images on the recipes look incredibly crisp. The wooden design produces a nice feel which matches the experience and context that you’ll most likely use the app in.

Final Thoughts

Outdoor Eating not only looks good, it’s also a great reference source if you’re planning a camping, caravanning or backpacking vacation. There could, of course, be more recipes, but the ones that are included at the time of writing do aptly cover the various courses of the day.

If you’re heading out into the proverbial great outdoors and plan to stay, you best go equipped with this fantastic app. You certainly won’t go hungry!

ZEVO ZFS on OS X project now part of GreenBytes

The ZEVO ZFS technology for Mac, developed by former Apple engineer Don Brady at his company Ten’s Complement, has been acquired by enterprise storage vendor GreenBytes. Brady announced the transition on Twitter and on the Ten’s Complement site; he is joining the GreenBytes development team.

ZFS is a file system invented in 2004 at Sun (now part of Oracle) which offers next-generation support for huge volumes, fault tolerance and other essential Big Storage features. The history of ZFS on OS X is somewhat convoluted. In the run-up to OS X Leopard 10.5, it seemed likely that ZFS would be used as an alternative or replacement for HFS+ as the Mac’s primary file system format. That never materialized, and the announced/anticipated support for ZFS in Snow Leopard never shipped either. Apple’s open source ZFS project was closed down in 2009.

Ten’s Complement originally announced the ZEVO product in March of 2011. As to the future of the project, GreenBytes’ spokesman Michael Robinson responded to TUAW’s inquiry: “ZEVO’s ZFS on OS X is safe. Ten’s Complement has joined GreenBytes to continue their work and now they have more development support.” Robinson says that GreenBytes will have more to share regarding ZEVO’s future “down the line.”

Thanks Bill.

ZEVO ZFS on OS X project now part of GreenBytes originally appeared on TUAW – The Unofficial Apple Weblog on Sun, 22 Jul 2012 09:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Legendarily horrible film "MANOS" gets its own iOS game

There are few movies that are as bad as the 1966 horror film MANOS: The Hands of Fate, which sits very near the bottom of IMDB’s ratings list. I can think of a few almost as bad, like Robot Monster (guy in gorilla suit wearing a space helmet), Hercules Against the Moon Men (science-fiction and Greek myth combining the worst elements of both), and maybe Santa Claus Conquers the Martians (Martians kidnap Santa so Mars kids can have Christmas).

Certainly, though, MANOS is a stunner. Without going too deeply into the plot, it’s about a vacationing family who happen upon a cult in the Texas desert. The film was shot in less than 3 months for $19,000 and directed by an insurance salesman. The handheld camera being used could only shoot in 32 second spurts, so the editing is, shall we say, a bit choppy. Chunks of plot are unconnected, the night shots are plagued with moths, and one character (Torgo) may be a satyr.

MANOS would have probably remained unknown and unmourned except for the thorough mocking it received as the source film for an episode of Mystery Science Theater 3000. After Joel and the bots suffered through the screening, both Dr. Forrester and TV’s Frank admitted that this experiment was too horrible even for their evil scheming ways. After that, MANOS reemerged as a cult “classic” despite its near-unwatchability.

If you can’t get enough MANOS, then you’re in luck; there’s a shiny new iPhone game based on the film. Mashable notes today that the game is coming to your iOS device from FreakZone games in the UK. It’s built in the style of an old NES 8-bit side scroller, and it will be unleashed July 26.

Apparently the game is not completely pure MANOS; there are bits and monsters thrown in from other bad movies, and the soundtrack is made of themes from MANOS. If the game does well, you guessed it, more bad movies will be used for sequels.

If you’re a MANOS: Hands of Fate cultie, or even if you’re not, the game should be worth a few plays. If you haven’t seen the actual movie, frankly, I advise caution. If you really need to see this bomb and have some fun, MANOS will be screening nationwide via satellite in August as a special one-night event with live commentary from the RiffTrax (ex-MST3K cast) guys.

The game trailer is below. Beware the Master!

Legendarily horrible film “MANOS” gets its own iOS game originally appeared on TUAW – The Unofficial Apple Weblog on Sat, 21 Jul 2012 20:45:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Entitlement and Acquisition

Sparrow (a popular Mac and iOS email client) has been acquired by Google. The apps are essentially being put in maintenance mode, with no additional features planned for the future.

Cue predictable squawking on the internet. The same thing happens every time there’s an acquisition of a smaller, indie dev company or product by a larger company.

Continue reading “Entitlement and Acquisition”

Chirp iPhone app introduces sharing via sound

You’d be forgiven for thinking this is a story about some sort of jukebox from my House (of Crackpot Theories), but this is news about a real app called Chirp.

What’s Chirp? “Half Bump, half Soundhound.” On your iPhone, you choose an item (photo, note, or link) and then you can share with everyone around you who also has the app. It plays a high pitched series of tones, which other phones nearby (also running Chirp) listen for; the tones convey the URL to the item uploaded, and the other phones download it. (The app does require data access to work, so it’s not true peer-to-peer sharing, but it’s good enough.)

I loaded it today, and since the TUAW staff doesn’t all report to one big office, I was sitting here by myself wondering how to test it. Luckily the Chirp Blog has a couple of test items you can use to try it out, and I have to admit, it’s pretty slick.

Something I hadn’t thought about when I first downloaded the app was doing something with audio on a website or in some other fashion, like an audio QR code. At first that sounded kind of cool, considering all the useful kinds of things to be done with something like that. Then I thought about hearing the same brief tone many many times a day and I think that would get old in a hurry.

As of now it appears to be just the Chirp app that uses this technology, but for a quick way to share files it looks reasonably handy.

[hat tip The Next Web]

Continue reading Chirp iPhone app introduces sharing via sound

Chirp iPhone app introduces sharing via sound originally appeared on TUAW – The Unofficial Apple Weblog on Fri, 20 Jul 2012 22:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

TUAW Origin Stories: Party Doodles

Party Doodles is a fun drawing game that has an interesting twist. While you can play with just an iPad, adding an Apple TV to the mix allows you use AirPlay, transforming this into living room fun for the whole family. Here’s a pic of the game in action.

Personally I think this is a great way for developers to use the Apple TV to enhance gameplay for an iOS game. Party Doodles is right at home using the larger screen, and it almost begs the question why you’d need an App Store on the Apple TV.

TUAW Origin Stories: Party Doodles originally appeared on TUAW – The Unofficial Apple Weblog on Fri, 20 Jul 2012 20:00:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

Weekend App Store sales: Crescent Moon, EA, King of Fighters, more

There’s no holiday this weekend, but there are some great app sales floating around. Here’s some to look out for.

So it’s not exactly a huge weekend of sales, but there are more than a few good games in there to pick up if you haven’t yet.

Weekend App Store sales: Crescent Moon, EA, King of Fighters, more originally appeared on TUAW – The Unofficial Apple Weblog on Fri, 20 Jul 2012 19:00:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

Mac, iOS developer Acrylic joins Facebook design team

Sparrow isn’t the only big Mac developer that’s switched to a high profile project today. Mac and iOS shop Acrylic has been called away from its own projects, including the apps Pulp and Wallet, by Facebook. The company doesn’t say exactly what they’ll be working on, but presumably it’ll be the Mac and iOS interfaces for the popular social network (which, let’s be honest, can use all the help they can get). Acrylic’s Dustin MacDonald says the matchup “was a natural fit.”

Facebook hasn’t acquired any of Acrylic’s projects, and those will remain available for download. Acrylic says it will post news of any updates or other work on its official blog, but helping design Facebook is probably a full-time job. Just like Sparrow, we’re sorry to see a really great Mac/iOS developer move on from the projects we know and love, but we’re also excited to see what work they can do on a bigger stage.

[via MacStories.net]

Mac, iOS developer Acrylic joins Facebook design team originally appeared on TUAW – The Unofficial Apple Weblog on Fri, 20 Jul 2012 17:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments