Posts

iOS App Dev: Image Filter and Analysis with Core Image

Image
Whenever you are planning to create an app or service related to image/photo editing, Core Image is the framework you have to rely on. Let's talk about the Core Image concept first. Core Image   Core Image is a framework to provide support for image processing and analysis. Core Image works on Images from Core Graphics, Core Video, I/O Image framework using GPU or CPU rendering path. As a developer, you can interact with high-end frameworks like Core Image, without knowing low-level processing details of OpenGL or GPU or Metal or even GCD multicore processing.   The following image describes the interaction process of Core Image with running Apps and the OSs.     Overall, Core Image provides the features to developers like,   Access to built-in image processing filters Feature detection capability Support for automatic image enhancement The ability to chain multiple filters together to create custom effects Support for creating custom filters that run on a GPU Feedback-based image

Swift Programming: Big O notation for complexity checking

Image
Big O Notation: Complexity measurement and optimization for Swift programming “Big O notation”, a well-known concept in computer science and a must ask topic in any technical round for developer job. If you heard this term for the very first time, no worry, here you will understand what this “Big O notation” all about. “Big O notation” is a general computer science concept, which helps the developer to measure the time and memory space complexity of an algorithm or program block. Measuring complexity is a common practice in a development environment for many causes, like, To determine the efficiency of an algorithm (asymptotic analysis). To determine the requirement for algorithm optimization. Find total execution time for given input data. Cost estimation on executing time. Here “Big O notation” plays a significant role to determine the time and memory complexity of an algorithm, depend upon the given number of inputs or datasets. It helps to understand how the number of

iOS App Dev: Custom View Framework to add own properties into the UIView

Image
UIView, the view class for iOS App Development, on top of which, you will do all kinds of UI design related tasks. UIView serves like a service table where you will put UI Controls for a user to start interaction with your App. By default, an UIView has properties which been assigned in the UIView class. These properties are easily accessible from the attribute inspector. As shown in the above picture, these are the default properties of a view in iOS App development environment. But if a developer wants to expand more features into the default view, you have to inject the new features to the view by creating a custom framework. Here we will learn a step-by-step procedure to create a custom framework to add extra settings or features to default UIView’s view. Scenario Say, you have a requirement to create an App where besides the default view design, you may need some more extensive design components for a particular view. A colorful and thick border surro

macOS 10.15 (Beta): First look

Image
Multiple master strokes from Apple! I am talking about the recent WWDC 2019, where Apple revealed, series of technological advancements and new developments. It includes new iOS 13, watchOS 6,  tvOS 13, macOS 15 and first time is history, a separate OS for iPad, named iPadOS. Surprises aren't stop here. It was treat to all to see the whole new Mac Pro with new Pro Display. Apple even makes happy to their developers with latest development related tools and frameworks. Whole World got excited to use all of these. Although beta versions of everything are available for registered developers from developer.apple.com , AppStore releases will be available this fall for public. Today, I'm talking about the first look of new macOS 10.15, named macOS Catalina. Apple claims, it is World's most advance desktop operating system. Just installed the Catalina, off-course the beta version. And tell you fact, it is a power house operating system. From App Developers to Creative

macOS 10.14 Mojave’s Stacks

Image
It’s been a while that Apple launched latest macOS with version 10.14 and we called it Mojave (mo-HAH-veh). Once you upgrade from older version of macOS to latest Mojave, the first in-built feature you will notice is, Stacks. This by default enabled feature, allows to organise all your files on desktop in stack manner. Here we will talk about the Stacks in Mojave (latest macOS 10.14+), it’s functionalities and hidden features, which we may ignore or not aware about by mean. The Stacks The best place to keep day-to-day files in computer, is Desktop, for most of the users. By realising this, now iCloud Drive is integrated with Desktop for macOS. With latest version of macOS 10.14, Apple implemented another feature for macOS Desktop, called, Stacks. If you are using older version of macOS and you have many files are scattered on your Desktop, it may looks like following screen. But once you upgraded to latest macOS Mojave and after finishing all startup procedures, yo