Mobile Development Digest #41

8006772899_07a8ed3186_c

iOS 10 adoption is growing, now it’s close to 40% (30% past week). iOS 9 is 55% now and iOS 8… well it’s in summarized “Older” now.

I’m still waiting for my Apple Watch Series 2. Want to check how SpriteKit works there 🙃 and SceneKit?

This week Dynamo will host meetup for iOS developers. I’ll talk about animations in iOS, hope that we will have videos 😬

(more…)

#backatayyab update

The story about my colleague Tayyab that began last week got good coverage in media, from local to international:

The Nordic Web: http://www.thenordicweb.com/blog/governments-the-nordics-encourage-talent-not-technicalities

Dagens Industri: http://digital.di.se/artikel/han-fick-jobb-som-utvecklare–blir-utvisad

Breakit: http://www.breakit.se/artikel/4948/efter-utvisningsbeskedet-stodet-gor-att-det-kanns-battre

SvD: http://www.svd.se/vi-skammer-ut-oss

Expressen: 1, 2, 3

HD: http://www.hd.se/2016-09-23/utvisas-efter-forsakringsmiss

The Local: https://www.thelocal.se/20160923/world-class-developer-told-to-leave-sweden-over-admin-error

During weekend more than 4500 people signed petition to review Tayyab’s case again. We need 10000 till the end of this week.

You can help by signing: https://www.change.org/p/the-swedish-government-ensure-tayyab-is-allowed-to-keep-his-job-life-and-home-in-sweden

It is difficult to take into account the individual’s innocence…

In the beginning of this week we got horrible news from Migrationsverket. One of my colleague’s workpermit extension was declined and he and his family have to leave Sweden in 4 weeks. Had he made something wrong? Personally, I think not, but it’s better to read article and decide on your own. This is frustrating that in country like Sweden formal way of working dominates more and more on wish to find solution. That is quite simple in this case.

Dynamo is small company and this decision shocked us all. All of my colleagues are highly skilled professionals, and I don’t know any another company that have so many people from so many countries: 56 of us and 25 countries, but we are working as we came from one. No conflicts, no problems, patience and similar sense of humor. We are different, but we are value the same things. It’s more than just sad feeling because we might loose our colleague.

 

http://www.expressen.se/nyheter/han-ar-en-av-de-basta-i-sitt-yrke–ska-utvisas/

En av Sveriges skickligaste i sitt yrke – nu utvisas Tayyab | Nyheter | Expressen Han Ă€r högutbildad, har bostad i Stockholm och sĂ€gs tillhöra de skickligaste i Sverige inom sitt yrke. Men nu ska Tayyab, 27, utvisas frĂ„n landet.

On the bright side, Dynamo is taking the fight and connected lawyers in attempt to appeal against the Migrationsverket decision. Here is Mathias Plank (our boss) message.

upd. Please sign petition if you want to help.

Mobile Development Digest #40

cover40

I’ve been sick last week and had too weak to write a digest. However, it was important week for iOS developers. Bunch of updates were released, starting from iPhone 7, Watch Series 2, iOS and TVOS 10 (Read 16 pages comparison of iOS 10 and iOS 9). New Swift 3.0 and XCode… This time developers were under high pressure, I think. SceneKit editor is crashing all the time for me.

Anyway, the week after the update iOS 10 adoption is 30% due to Mixpanel. Really good. Let’s see when it will hit 90% (new year?). Apple doing well to increase it. Frontpage of AppStore is full of iOS10 apps.

It was quite easy to miss big update on GitHub because of this. If you use GitHub you would be surprised with huge and solid changes in GIT tools.

(more…)

Animated transformation of circle into rectangle that you never saw [with Swift and CALayer]

This is my first ever tutorial of this kind and I appreciate any feedback (including wrong English sentences and unclear explanations). Thanks!

I found this animation in Twitter and was amazed with breathtaking effect of the wave-like expanding and transformation. Here is original GIF:

Also it wasn’t the same transformation that you can find in Stackoverflow :) What’s a difference? Look:

transform
Left – cornerRadius, Right – similar to GIF

 

It looks complex but it’s feasible to make it in Swift with CALayer, CAKeyFramedAnimation and UIBezierPath. Hardest thing here is not the transformation but timing function for animation. I tried to make it as close as possible, but 100% close reproduction isn’t a target of this tutorial.

Code is Swift 3 and written in XCode 8.

(more…)

Mobile Development Digest #39

chairs

Two days more and we will see how Apple thinks to compete during next year.

In the meantime, Google has suspended Project Ara. I thought that it was cancelled already. How far ago they announced it, 2011, 2012? It’s too long to be in development stage these days. However, project itself it really interesting and results might be reused in many areas. Might be in IoT? Seems like Google might have some plans.

 

(more…)

Mobile Development Digest #38

8YOB4GAYH8

It’s yet August but in Stockholm autumn came already. Rainy and uncomfortable (and a lot of people in the subway). I miss sunny Saint-Petersburg… Oh, wait. It was exactly the same, but year around.

I cant help but wait for Apple event next month and I am waiting for new Apple Watch that I definitely want to try.

One more week with Apple TV passed. What can I say. Apps development is quite simple, but I haven’t find a way to deploy apps by air. However, the device as a STB quite disappointing. Tim Cook declared “the future of television is apps”, but in the current state of AppStore on AppleTV it’s not even the far future. Seems like big developers do not want to spend time on adapting the apps and AppStore is full of ugly and useless apps, and a lot of “pay for each movement” apps. Single sign-on and automatic installation of apps is very annoying. I forced to deleted, delete and delete apps from the phone.

Remote control is awesome, but sometimes lagging and I cannot win “3 fruits” in Minions 😁😬😁

(more…)

Mobile Development Digest #37

XVS8FFEABO

In the previous issue I posted a link to an article about live text recognition with iOS 10. I was able to test it in real life environment also (on introduktionsmötet i förskolan) and
 No, this doesn’t work good for Swedish. Siri really confused when Sweds are talking with their normal speed. However, I do not lose hope and am working on an update for The Focus to include speech recognition for flash cards.

(more…)

RippleEffectView component

Here we go. Recently, I’ve been ready article about How to create an Uber splash screen and decided to make some experiments with the code and timings for animation. Actually, that was a “magic” part of whole article. How guys defined those times. Result of the article is quite fine, but it’s not the same as Uber splash screen. However, here is a lot of different effects with just this view. So, in the end I made a small component based on Derek Selander`s artcile and code.

It works fine on both iPhone and iPad (on iPad 3 I saw lagging, but it should be fine on modern versions).

Component written on Swift 2.3 (but it runs on XCode 8 beta 6 without any changes)

Here is the result:

rippleEffectView
Magnitude: 0.2

rippleEffectView
Magnitude: -0.8

RippleEffectView code available on GitHub under MIT license.