Mobile Development Digest #62

Hello. That was a good week and Apple was the main newsmaker. At the first place, they announced next WWDC’17 in San Jose. Tickets will be distributed by lottery in the end of March. Everyone who will not be able to participate can enjoy conference online at developers site.

Apple revealed trailer for upcoming series “Planet of the Apps“. I wonder if this will be reflected in Silicon Valley :) In the meantime, you can watch¬†interview with¬†Eddy Cue¬†to get some details about the show.


Get fresh digest by email

Any problems? Drop me a note mdd@alsedi.com

(more…)

Implicitly Unwrapped Optionals? Damn!

This is the first article in the series of “Swift? Damn!” articles. If you hadn’t read the¬†introduction¬†then please do it now.

So… we are writing a¬†game and ¬†in the same time friends of mine studying Swift and asking me about all unclear things. Optionals were the first topic on which¬†I¬†got hard¬†questions. From Objective-c perspective optional value which you define in normal way with question mark is very similar to nil. However, implicitly unwrapped optionals is something that looks¬†very wrong.

It wasn’t a thing I can explain 100% clearly. I read Apple’s docs and several articles on SO. It have not made IUO more clear than it was. I decided to ask my colleagues in¬†Dynamo. Our¬†team of iOS developers is incredible strong and includes Jack Nutting, Reda Lemeden, Gabriel Roupillard and many¬†more, really smart world-class mobile developers.

I tried to contact several people from Swift team to get an official answer, but with no luck :(

(more…)

Swift? Damn!

Two friends of mine are dinosaurs in coding. They are developing apps in Objective-C and every time we speak about Swift they continuously complaining that they do not understand thiiis and thaaat, with Objective-C it would be faster… it looks like java scriiipt.. blah blah blah. Sometimes they refer to some open source projects. Pretty annoying!

I don’t feel anything wrong about Objective-C but I like Swift, Storyboard, XIBs much more (even it’s not stabilized yet!).

Finally, we decided to write something together with Swift. I do the coding and explain everything from simple to advanced things. They follow and do assignments. Every time the task is done each of us creates pull request and we can discuss code changes. Guys are pretty lazy and I will have time to write more about progress in learning Swift by Objective-C developers. I find that some moments are fun and worth to share.

Another aspect of this Swift study is that I am learning too. I need to read more than my friends and find a way to explain complex patterns and tricks in Swift and XCode, compare performance in Objective-C and Swift, and more and more and more. Sometimes I find some useful tricks (like simple CSV parsing. Yeah, yeah, I know that abstract CSV is the hell). All this stuff I would like to share also.

All articles in this series will be published under Swift? Damn! category.

 

 

Mobile Development Digest #61

Hello! I have collected a lot of great tutorials and new frameworks which you can try this week.

Last week I asked for feedback about this digest. I received several good advices (Special thanks to Lucas Farah). During nearest weeks, I’m going to implement some of them and improve the way I present the information and collect feedback. I believe you will like it.

In the meantime, please enjoy digest #61. As always, you can contact me at mdd@alsedi.com or via Twitter, or via comments in the blog.


Get fresh digest by email

Any problems? Drop me a note mdd@alsedi.com

(more…)

One line CSV parser with Swift (The power of Swift)

We developing new game in ALSEDI and one of the tasks is parsing of CSV-like format. I find that it’s really fun and simple task with Swift.

CSV format may contain complex and sometimes style-breaking elements, like comma between quotes. If you have this case then you need to use more powerful parsing methods, like regex.

However, for simple data types which do not try to make a chaos in your data structure, CSV is very handy and much more readable than JSON. This article is about parsing this kind of CSV and about how simple is this.

Long story short, here is the one-line CSV parser.

(more…)

Mobile Development Digest #60

This is the¬†60th issue of the digest and I’d like to ask you for a feedback. I want to improve the content of the digest and need your help. Now¬†more than 1000 people is reading this digest at my blog, Mailchimp maillist, LinkedIn and RSS. This is huge. I would like to understand you more. What are you looking for is¬†news¬†in development? What do you like in Mobile Development Digest and what not? Let me know and yours feedback will make this digest better.

In Digest #59 I posted a link to the excellent article about compilation time in mixes Swift and Obc-C projects. For this digest I found more articles in the field that will help you to understand better what is going on during compilation and how to simplify and speedup this process on both iOS and Android.

 


Get fresh digest by email

Any problems? Drop me a note mdd@alsedi.com

(more…)

Mobile Development Digest #59

This was a good week.

Apple announced several important changed in iOS 10.3. Also, this week Apple will relocate iTunes, Apple Music and Apple Store to Ireland. This has no any effect on developers and users.

Fastlane joined Google¬†and that’s a question how Google will use it.

Swift 3.1 and Kontlin 1.1 got more details for upcoming releases.


Get fresh digest by email

Any problems? Drop me a note mdd@alsedi.com

(more…)

Upcoming features in iOS 10.3

Upcoming¬†release of¬†iOS 10.3¬†provides new SDK method for request reviews from users. It’s pretty limited and will not replace custom components for requesting reviews, but benefit of SDK is that user stays in the app and leave review directly to the App Store. Definitely Apple may make it only one legal way to leave comments in store, but due to John Gruber they don’t have strict timeline for it.

Another important change is that developers will be able to respond to customers in the similar way like it is possible in Google Play.

One more thing which doesn’t relate to reviews¬†and¬†will be available in¬†iOS 10.3 and tvOS 10.2 is – Alternative icons for the app!

Isn’t it cool?

Update 02/05/2017. As Dave Verwer noted in his newsletters iOS 10.3 will not run 32bit apps. No one expect big problems with that because all Apple devices since 2013 are 64bit and if someone hasn’t update an app since that time then it most likely will be removed from AppStore as part of cleanup.


Subscribe to weekly digest to keep updated on news about Swift, iOS and Android.