Tag Archives: Apple

Apple introduces CoreML − Machine Learning Framework

On June 2017 in an opening keynote of WWDC in California, Apple introduced CoreML − machine learning framework that is designed to help developer build amazing user experiences.

Two main parts of this framework are Vision and NLP (Natural Language Processing).

Vision allows you to integrate machine learning features into your applications, like:  face tracking, face detection, landmarks, text detection, rectangle detection, barcode detection, object tracking, and image registration.

Where is NLP focused on: language identification, tokenization, lemmatization, part of speech, and named entity recognition.

This is a very big step forward for a developers. Giving this set of tools and API's will allow us in the next 5 months build and bring new category of applications into customers smartphones by the time new iPhone 8 (?) and iOS11 will be delivered by Apple.

Just as an example, imagine an application, that will allow you to point your camera onto a dog, flower, tree, piece of furniture, etc and get full information about it: name, breed, classification, price and so much more.

Considering this exciting news I've created example application and custom Image Recognizer class written in Swift that takes user provided picture, process it and returns name of the object and confidence number (from 0-100%). See example screenshot below.

apple coreml vision application exampleFull github example of the working application project can be found here.

712 total views, 1 views today

App: Watch Recorder — One Tap Audio Capturing

 

I've been an owner of an Apple Watch for almost a year now. Until recently, I never thought about using it as a audio recorder, in fact I never even actually though it's possible. But then I got this idea of how cool if would be to have a full portable recorder on your wrist. Kind of like almost being a spy (always dream of being one). At first I even wanted to call my app as "Watch Spy Recorder," but then I decided to stick with just Watch Recorder.

1. Research

First thing you do when you got an app idea — you research. Sure enough there are plenty of apps that can record audio from your Apple Watch microphone, but big ammount of them are not working (I assume due to watchOS 2.2 update, which simply broke audio recording), so there is a good market for an app with a good user interface and good sharing capabilities. Let's do this!

2. Bussines plan

Application is distributed for free, but will include in-app purchase of Premium version with extended capabilities. See screenshot below for differences between Free and Premium vesions of an application:

watch_recorder_premium

3. Making an Apple Watch app

Main part of an application is going to be an Apple Watch extension. Without actual physical Apple Watch device, connected iPhone app is not going to function (unless Watch was previously connected and some audio recorded).

Main screen of application is consist of timer that's shows time of previous recordin, settings labels that shows user what currect audio settings he has and four action buttons around it: record, settings, info and list of recordings. "Play" button will appear once user record an audio. Nice feature that user can use, is actually option to hide action buttons in the settings, but still have access to them using Force Touch.

watch_recorder_mainscreen
Watch Recorder – main screen
watch_rec_buttins_hidden
Watch Recorder – hidden action buttons
watch_recorder_menu
Watch Recorder – Force Touch action buttons

Continue reading App: Watch Recorder — One Tap Audio Capturing

1,706 total views, 1 views today

Hello, mobile dev!

Welcome to a new “Mobile Dev” category! It’s going to be a hub of development work that I’ve been doing lately on iOS, WatchOS and tvOS platforms.

First of all: whats my angle? I’ve been doing web-development for about 8 years now. Thru all that time I’ve been telling myself not to ignore trends and to stay up-to-date developer: learn new programming languages and platforms. Couple of times I’ve tried (more below), but I never got a chance to deep-dive in it they way I always wanted. Time have come. Time for a changes.

Let me tell you how it’s all started. Back in the 2011 I bought my first iPhone 4 – and I must say I felt in love with it. Although, I was never a macOS user, my interest in iOS development started right about that time. Since I didn’t own any Mac computer I investigated my options and found tool called Adobe Flash Builder 4.5 and programming language Action Script. This wasn’t native development, but I decided to try.

My first app was targeting both iOS and Android platforms and was essentially an Hours Tracking tool that was talking to a web-service on one of my company servers: managing login/logout, fetching and saving data in the server MSSQL database. In that time I thought it looked cool (thanks for design from my friend and co-worker Hugo Tavares) and had a good amount of functionality, but as of it wasn’t app written in Objective-C it was a little slow and glitchy. I actually tried to run it couple of weeks ago in present 2016 on an Android phone and I was able to successfully login, although had some issues with saving data back to the server due to DB changes I wasn’t aware of. Here are couple of screenshots of an app:

hours_tracking_1 hours_tracking_2

I also had a shot of developing for Windows Phone 7 at that time and I even documented it in this very blog: First try programming for Windows Phone 7. In that blog post I was hoping that this app is not going to be my last app for Windows Phone, which is sadly was:

After that short endeavor my research and mobile dev learning process stopped. I think it was multiply reasons: got really busy with web-development at work, didn’t had mac computer or windows phone…excuses, excuses…I can make up many.

Gladly, here I’m again. Now in 2016 starting this new blog category, hoping to write more and develop even more. Right now, my main target is Apple products, in specific: Apple Watch, Apple TV, iPhone and iPad.

This time I didn’t come for this journey unprepared. Got all the equipment I need: got all the devices for testing, including access to new Apple TV box, got mac for development and even got theoretical and practical base. Speaking of which, I bought couple (3 to be exact) of online courses on Udemy (iOS, watchOS and tvOS) and been doing a lot of learning and trying for the past month or so.

More to it, I’m actually on the way to publish couple of apps to an App Store soon. Will they be approved or not, I will make sure that I take my time to write a couple of blog posts here to describe them and the process of development.

Stay tuned!

1,089 total views, 1 views today

Первые ощущения от использования iOS 7 beta на iPhone 4

Вчера состоялась конференция разработчиков компании Apple WWDCXII на которой было представлено много новинок, в том числе и бета версия обновленной мобильной iOS 7. Пересмотреть 2-х часовую презентацию можно по ссылке.

Через 2 часа после конференции сайт для разработчиков эппл ожил и мне удалось скачать и установить iOS 7 beta на свой основной телефон iPhone 4. Все мы дети глубоко внутри и всем очень хочется новую красивую игрушку, но я бы посоветовал воздержаться, прочитать статью до конца, а потом решать стоит ли вам спешить устанавливать не стабильную версию операционной системы на ваш старенький 4-й айФон.

И так что же нас ждет?

Continue reading Первые ощущения от использования iOS 7 beta на iPhone 4

9,431 total views, no views today