iOS on all about apps
https://code.allaboutapps.at/categories/ios/
Recent content in iOS on all about appsHugo -- gohugo.ioen-usMon, 23 Sep 2019 10:16:32 +0200Xcode Alternative Icons
https://code.allaboutapps.at/articles/xcode-alternative-icons/
Mon, 23 Sep 2019 10:16:32 +0200https://code.allaboutapps.at/articles/xcode-alternative-icons/Xcode beta season is over but it’s still the time of the year where iOS developers usually have multiple Xcode version installed. Distinguishing one from another isn’t easy if you have multiple identical icons in the dock and, like me, getting reminded by Xcode that your project’s Swift version isn’t compatible.
Alternative icons to the rescue! It’s actually quite easy to change any app’s icon in macOS. After opening the info panel of Xcode.UIKonf 2019
https://code.allaboutapps.at/articles/uikonf2019/
Wed, 03 Jul 2019 14:06:29 +0200https://code.allaboutapps.at/articles/uikonf2019/UIKonf 2019 took place from May 26th to 29th in Berlin and is one of the largest iOS conferences in Europe. For us at all about apps it was the forth visit in a row and, as always, it was an awesome conference.
While the talks don’t start until Monday, UIKonf always kicks off with a day of social events. These include a boat tour, guided tours through museums or the famous bike tour.iOS Coordinators
https://code.allaboutapps.at/articles/ios-coordinator/
Tue, 14 May 2019 10:00:00 +0200https://code.allaboutapps.at/articles/ios-coordinator/<p>In our apps, we use the <a href="https://www.objc.io/issues/13-architecture/mvvm/">MVVM (Model-View-ViewModel)</a> approach.
This concept manages the interaction within a view controller, but who manages the view controllers?</p>
<h1 id="the-coordinator">The Coordinator!</h1>Reactive Swift: Progress HUD Extension and Order of Events
https://code.allaboutapps.at/articles/reactive-swift-events-order/
Thu, 28 Mar 2019 11:00:00 +0200https://code.allaboutapps.at/articles/reactive-swift-events-order/A blocking progress HUD to show a network or any other asynchronous activity may not be the most elegant solution, but sometimes it just gets the job done. Using ReactiveSwift you can use a SignalProducer extension to quickly show & hide a HUD for any reactive operation:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 extension SignalProducer { public func bindToProgressHUD(_ viewDelay: Double = 0.Cocoaheads @ all about apps
https://code.allaboutapps.at/articles/cocoaheads/
Tue, 26 Feb 2019 11:30:08 +0100https://code.allaboutapps.at/articles/cocoaheads/Last Thursday we hosted the 109th edition of Cocoaheads Austria in our office and more than 30 local iOS and Mac developers showed up. Cocoaheads is a monthly meetup and always hosted at a different location, usually by local development companies here in Vienna.
Michael Heinzl and myself, Matthias Buchetics, gave the main talk about App Architecture at all about apps before Peter Steinberger talked about Swizzling. Our own Gunter Hager then closed with a fun presentation of Emoji Flags before we had some great conversations with food & drinks.Emoji Flags
https://code.allaboutapps.at/articles/emoji-flags/
Wed, 23 Jan 2019 10:01:25 +0100https://code.allaboutapps.at/articles/emoji-flags/Sometimes there’s the need to fly a flag in your project. You probably know the ISO code, more specifically the ISO 3166-1 alpha-2 code, a.k.a two-letter code. For Austria this would be AT. Now when thinking about converting these codes into emoji flags, a lookup table comes to mind. But instead of jumping straight into implementing the table it’s time to take a closer look at the Unicode Standard. The clever people that added the flag emojis to the Unicode character set invented a system of specifying the flags that makes an algorithmic conversion without lookup tables quite easy.Drawing Smooth 2D Graphs using UIBezierPath
https://code.allaboutapps.at/articles/smooth-graph-lines/
Mon, 26 Nov 2018 21:12:27 +0100https://code.allaboutapps.at/articles/smooth-graph-lines/We have been working on multiple projects that required drawing 2D line graphs given a set of points. UIKit gives us the versatile UIBezierPath, which allows us to create a straight line graph by appending segments using addLineToPath for each point in our array. Easy, but not really pretty.
There are two different kinds of curves in UIBezierPath: quadratic curves with a single control point (addQuadCurveToPoint) and cubic curves with two control points (addCurveToPoint).Reactive Swift: Access Control for Mutable Properties
https://code.allaboutapps.at/articles/reactive-swift-properties/
Tue, 17 Jul 2018 11:50:28 +0200https://code.allaboutapps.at/articles/reactive-swift-properties/Swift’s access control allows us to define separate access levels for the getter and setter of a property. This is nice if we want to provide read access to a property but should only be able to modify it internally:
private(set) var isLoading = false When using ReactiveSwift (or similarly RxSwift) you usually work with MutableProperty. In order to limit modification of the property’s value we can create a private writable MutableProperty and a public read-only Property:Reactive Swift: flatMap, flatten and combineLatest
https://code.allaboutapps.at/articles/reactive-swift-flatmap/
Tue, 17 Jul 2018 11:50:28 +0200https://code.allaboutapps.at/articles/reactive-swift-flatmap/Most of our projects at all about apps are build using a MVVM architecture with ReactiveSwift as our reactive framework of choice. However, all code examples should be easily translatable to RxSwift.
Often, you end up with an array of objects (e.g. View Models) which contain some reactive property that you want to bind to. The array itself is a MutableProperty as well and can change at any time (e.g. after a network request).