Category Swift Source
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
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
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
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 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