Home  »  Swift Source
Category   Swift Source

Swift Core Image Filter – CIImage and CIFilter

Posted on 24 Nov 2015
Swift Core Image Filter - CIImage and CIFilter


How to use Core Image Filter – CIImage and CIFIlter within Swift 2, Xcode 7, iOS 9 application.

This example shows how to use CIImage and CIFilter (i.e. Core Image Filter) within iOS 9 application (Swift 2). It includes functionality like Select image from Gallery, or Capture from device Camera, Apply filter to selected image, Save filtered image to Phone Gallery. Please note, this example does not cover all Core Image filter but shows basic usage of photo effect filters i.e. how to apply photo effect to image using filter. You can use this code as a base and expand it’s functionality. It is free for personal or commercial use.

It consist functionality below:
– Select image from Gallery.
– or Capture from device Camera.
– Apply various filter to image.
– e.g. CIPhotoEffectChrome, CIPhotoEffectMono etc.
– Save filtered image to Photo Gallery.

Read more  

Swift Video Player using AVPlayerViewController

Posted on 10 Nov 2015


Video player demo application build using Swift 2, Xcode 7, and iOS 9.

This is simple video player application build using Swift for iOS platform. It is using AVFoundation library and AVKit. It uses AVPlayer to play video file. This application can be used as a base for Video Player project and expand it’s functionality. It’s free for personal or commercial use.

It consist functionality below:
– Play video from Local resource.
– Play video from Remote url.
– Uses AVPlayer for video player.
– Uses AVPlayerViewController to present video screen.

Read more  

Swift Audio Player using AVFoundation Library

Posted on 05 Nov 2015
Swift Audio Player using AVFoundation Library


Audio player demo application build using Swift 2, Xcode 7, and iOS 9.

Swift based sample application build using AVFoundation library. It uses AVAudioPlayer for playing mp3 file. This application can be used as a base for any Audio Player project to expand it’s functionality. It’s free for personal or commercial use.

It consist functionality below:
– Load mp3 using AVAudioPlayer
– Change Track (Next, Previous).
– Play, Pause current track.
– Show label for currently playing track.

Read more  

Using MKMapView in Swift, iOS Application

Posted on 02 Nov 2015
Using MKMapView in Swift, MapKit


MKMapView based demo application build using Swift 2, Xcode 7, and iOS 9

Swift based demo that shows map functionality within iOS application. It uses MKMapView component to display map and MapKit for various map functionality. You can use this application as a base for any Map Based iOS project and expand it. It’s free for personal or commercial use.

It consist functionality below:
– Load map using MKMapView.
– Change map type using UISegmentedControl.
– Ask for location access permission upon.
– Access user location using CoreLocation.
– Zoon In/Out of map.

Read more  

Swift Animation

Posted on 17 Sep 2015


Swift 2 based animation demo build using Xcode 7, iOS 9

Swift based mobile application that demonstrates animation techniques. It shows various ways to applying animation on UI element like UIView or UIImageView etc. You can use this demo to understand how basic animation can be applied within Swift application and make it interactive. You can use this as a base project and expand its functionality, it’s free for personal or commercial use.

Technology used:
– Creating UIImageView object runtime.
– Based on screen size, position the object in a view.
– Applying movement on UIImageView using various techniques.
– Move Object Automatically i.e. programmatically in loop etc.
– Move Object Manually i.e. via user interaction.
– Simple and Clean interface.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, iOS 9, Xcode 7.

Read more  

PrashantKumar Mangukiya
Native iOS / Hybrid Mobile Application Developer
LinkedIn Profile   GitHub Profile   Twitter Profile

Browse by Category

Follow Me on Twitter

Other Post

OSM Satsang -- iOS, Swift based Audio Player App. iOS App Released – OSM Satsang (Download tracks and play offline) - 04 Jun 2016
Geo Target Note iOS App Released – Geo Target Note - 19 May 2016
Swift Core Image Filter - CIImage and CIFilter Swift Core Image Filter – CIImage and CIFilter - 24 Nov 2015
Swift Video Player using AVPlayerViewController - 10 Nov 2015
Swift Audio Player using AVFoundation Library Swift Audio Player using AVFoundation Library - 05 Nov 2015
Using MKMapView in Swift, MapKit Using MKMapView in Swift, iOS Application - 02 Nov 2015
Go to Top