Tag Archives: iOS
Problem Solving – IP addresses must follow the format A.B.C.D, where A, B, C, and D are numbers between 0 and 255.
Given a string of digits, generate all possible valid IP address combinations. IP addresses must follow the format A.B.C.D, where A, B, C, and D are numbers between 0 and 255. Zero-prefixed numbers, such as 01 and 065, are not allowed, except for 0 itself. For example, given “2542540123”, you should return [‘254.25.40.123’, ‘254.254.0.123’]. To generate all possible… Read More »
Custom Theme using Theme Extensions
Theme extensions were introduced in Flutter 3. But what are Theme Extensions? As the name says, it helps to extend the inbuilt themes with our own extensions. Let’s jump into an example So when you create a flutter app, your basic root widget will look like this return MaterialApp( title: ‘Flutter Theme Extensions’, theme: ThemeData( primarySwatch: Colors.blue, ),… Read More »
Custom BottomSheet, Custom Snackbar in Flutter using FlushBox
In this article we will see how to use a nice plugin called FlushBox in Flutter. Watch Video Tutorial First thing to do is to add dependencies. Add Dependencies Go to your pubspec.yaml file and add the below dependency. Once done that run ‘flutter packages get’ in the terminal to download the packages to be used by your… Read More »
Custom Splash Screen in Flutter for Android and iOS.
Lets start with iOS Watch Video Tutorial iOS Go to the flutter project folder and open the iOS folder. You will see the runner.xcodeworkspace file. Open the file in Xcode. Now if you select the root folder and select the target and go the General Tab, Here just towards the bottom you will see an option to set… Read More »
Animations made simple in Flutter using Animator Plugin
Firebase Storage – Uploading and Downloading files & Multi File Picker in Flutter
Watch Video Tutorial This demo shows how to upload files to firebase Storage. For this demo we will upload only images to firebase Storage. Also I am doing any sign in to Google, this is completely anonymous. Let’s start… Add Dependencies we need three plugins for this example #1 Multiple File Picker This plugins helps us… Read More »
Using Gradient in Flutter
Here is a simple example of using Gradient in Flutter. Here we are just showing a demo of how to use LinearGradient in Flutter. You can even use the RadialGradient or SweepGradient in the similar way. Watch Video Tutorial Here is the complete example of setting a LinearGradient in a Container. Please leave your valuable comments below.
Stepper Widgets in Flutter
Hello, Stepper is an awesome widget in Flutter. It makes developers job easy by writing less code. Here we will have a UI as shown in the below screenshot. First we will create a list of 3 Steps. Each Step will have a ‘title‘, ‘content‘ and isActive property. ‘content‘ can be any Widget. To… Read More »
Complex JSON Parsing in Flutter / Dart
Hi This article helps you to do complex Json Parsing in Flutter or dart. Watch Video Tutorial Simple JSON I have the following json in a file named “person.json” in a folder named “json” in root of my project. To parse this json, we will create a model class named “Person”. The “fromJson” method creates a “Person” object… Read More »
Create Custom Widget(Button) in Flutter – Android or iOS
Hello friends, In this article, I will show you how you can create custom widgets in Flutter using Widget Composition. As you know Flutter is cross Platform, so this is gonna work for both Android and iOS. Watch Video Tutorial Let’s start now. I am going to create a custom button just like you see in… Read More »
RNFirebase core module was not found natively on ios – Fix
This issue happens in react-native-firebase for a various reasons. First thing you have to do is check Firebase/Core is in your pods. Try Cleaning and rebuilding your project. Click on the target you are running in xcode and check the frameworks section in ‘General’ Tab -> Check you have linked libFirebase.a there. If not click the “+” button… Read More »
How to do Unit Test of functions and Widgets in Flutter?
Ionic Commands for building and Publishing Hybrid Mobile Apps
1. Desktop browser testing Testing your app in a browser is as simple as running the serve command in your project’s root folder. 2. Simulator testing You can also test right in the simulator using the cordova commands from the previous chapter. For example, to test in the iOS simulator, run: Substitute ios with android for Android testing.… Read More »
ld: warning: directory not found for option -F or -L, Xcode Error – Solved.
There are two errors like this that often happens with the Xcode. If it is a “directory not found for option ‘-L/…” error, that means it’s a Library Error, then Follow the below steps… Click on your project (targets) Click on Build Settings, Search for “Library Search Paths” Under Library Search Paths, delete the paths and keep the… Read More »
Google Sign In – iOS Version..
Like Google Sign-In for Android, you will need a configuration file. Go to the below link and create a configuration file be giving your ios-bundle identifier. [https://developers.google.com/identity/sign-in/ios/start] Here I will be explain with the help of CocoaPods for integrating the Google SignIn SDK with the app. So first you need to install CocoaPods. For that Open a Terminal…… Read More »
Open Camera, Take Photo, Save it, Load it – iOS Sample code
Customizing UITableView using “Prototype Cells” in iOS.
Hi all, In today’s tutorial we will study how we can customize a UITableView using “Prototype Cells” in iOS which was introduced in XCode 5.0. First Create a new Project and Name it “CustomTBLView”. Now you will get the Main.storyBoard file with other ViewController and Delegate Files. Open Main.storyBoard and “Drag” a TableView on to it. Now Drag… Read More »
Handling Files in iOS
Hi All, In Todays article we will see how we can handle files in Objective C. The list of the methods used for accessing and manipulating files are listed below. Here you have to replace the FilePath1, FilePath2 and FilePath strings to our required full file paths to get the desired action. Comparing two file contents Check if… Read More »
How to create a Slide from Left animation while deleting a row from a ListView in Android?
Hello all…… I have written a lost of posts on Listviews. You can see that by just searching Listviews in my site. Today I will show you how to create a slide out animation while we delete a row from a ListView. So this is the xml that contains the ListView. Let it be in the main.xml main.xml… Read More »
Android hits 900k activations per day
The Google Android Army is coming again… Google’s Android platform sees 900,000 activations a day, according to a tweet from Android head Andy Rubin. The statistic, of course, doesn’t distinguish between smartphones and tablets, so it’s hard to get a clear picture of the Android ecosystem. See more about this new from here. http://www.washingtonpost.com/business/technology/android-hits-900k-activations-per-day/2012/06/11/gJQA1tlfUV_story.html
Facebook releases new camera app for iPhone.
The company has announced Facebook Camera for iPhone, an app dedicated to shooting photos, applying filters, and batch uploading photos to your Timeline. The app was developed independently from Facebook for iOS by the Facebook Photos team, Photos product manager Dirk Stoop told me, and is focused on letting you share photos as quickly as possible and in… Read More »
iOS apps crash more than Android Apps
Hello all… Recent studies has shown that apps that run on Apple’s iOS crashes more than Google’s Android apps. This is something that people who are involved in computer repair training should be aware of. According to the studies iOS apps crashes more than 3 times as compared to Android apps. These are some of the results. Source… Read More »
C++ program append the two text files
Three file objects are created using the fstream class one for first, second for second file and third for the appended file. The first two files are opened in the input mode and third in the append mode. The first file is opened and checked for error condition if the file exist its contents are written to the… Read More »
C++ program to copy the contents of a text file to another
Two file objects are created using the fstream class for the two files, one for source file and another destination file. The first file is opened and its contents are copied to the second file using get ( ) and put ( ) function. Each time the source file is opened error checking is done to ensure that… Read More »
- 1
- 2