Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Monday, December 13, 2021

iOS: Things I wish I knew before starting iOS development

If you just started learning how to build iOS apps, you might’ve felt overwhelmed by an endless list of things you should know. I’ve been there and I think I’m still there in a way.

Today, I’d like to share with you guys things I wish I had known before getting a foot into the door.

You don’t need to thoroughly understand every single detail about your code.

Because simply put, it’s next to impossible to understand all the moving parts in your code since they’re all tangled with one another, especially if you’re a newbie to Swift.

At the very beginning, it might be more helpful to just accept things as they are. Just follow the tutorial step to make the work done.

And then when you get more comfortable with how it works, you could get further into a low level of how this works.

Language first, framework later

People often first learn the tricks of a framework, and then move on to the language. That’s actually not the right way to go.

The simple reason here is that if you know about the underlying language, it helps you understand how the framework works. If you have no idea about the trades of a a language, there is no way you will understand why something is done a certain way in the framework.

Small Steps Can Make Big Changes

Don’t just read, implement. I’ve often seen developers read through tutorials or sometimes even whole books without anything much to show for it. However, my biggest concern is how much would you retain if you just read ?

Start with an app that you feel most comfortable. And add some function to it day by day. Even a tiny app also has its problem to solve. You wont believe what you would get after time.

Storyboard vs Code

If you’ve read enough articles about the iOS development, I bet you’ve stumbled upon an article about which way is better to create a user interface. In my opinion, you need to learn both of them.

Every company and every developer has their own taste in this matter but I do think you should go with the storyboard if you just start learning it.

It’s more intuitive and easier to see the visual change whenever you do something. And you might not even know what you can do with each UI component yet. Familiarize yourself with all the common components and auto layout enough before moving into creating all in code.

If you get that far with programmatic UI, figure out when one thing is more beneficial and how it’s better than the other. The time will come when you have to create a custom UI in code as if you’re heavily using the storyboard.

Learn about software design patterns

By the time you’re familiar with Swift, it will dawn on you that just making it work is not enough. You need to think about the maintenance aspect of an app, is it relatively easy to add a feature to the code base? is it easy to fix a bug when it’s found? is it easy to unit test?

When you’re working on a big code base and it’s not well-structured, you will find it extremely difficult to make a change or add another feature on top of that. It will get to a point where you made a change but not sure if it had any side effect on somewhere else in the code that leads to another bug.

That’s when design patterns come in the play. It’s all about how we structure code.

Try to learn different design patterns and apply them to your code base for practice. It will give you an insight into what should be considered to make the code base better.

Last but not least, expose yourself to anything related to iOS development

Mastering a technology on your own is great, but sometimes you learn a lot by just looking at the code of others. Be it your colleagues or random tutorials on the internet, try to find why someone approaches a problem in a certain way — and ask questions if necessary.

It’s also important for developers to realize that it’s impossible to know everything, but the knowledge is out there — you just need to Google it. As a beginner, if you’re stuck there is high probability that someone like you had the same problem in the past and the solution is somewhere out there in the internet (this often happens to the veterans too!)

Thank you for your time!

Saturday, December 11, 2021

Flutter: Top 10 Amazing Flutter chart libraries

Flutter, an open-source development kit created by Google has grown over the years.

Features Like Hot Reload, a vast widget catalog, very good performance, and a solid community contribute to meeting that objective and makes Flutter a pretty good framework.

Because sometimes in life charts and graphs are inevitable for us to display.

In order to make sense of numerics and data overall, in the same spirit, we need beautiful, responsive, customizable and easy to implement charts.

Flutter OpenSource chart libraries have the answers we need.

Here is a collection of 10 best chart libraries for Flutter to implement in your next Flutter project.

1. Fl_animated_linechart
Animated line chart library for a flutter, with tons of customization options, currently supports line and area

















Features
  • Support for DateTime axis
  • Multiple y-axes, supporting different units
  • Highlight selection
  • Animation of the chart
  • Tested with more than 3000 points and still performing

2. Bezier Chart
A beautiful bezier line chart widget for flutter that is highly interactive and configurable.














Features
  • Multi bezier lines
  • Allow numbers and datetimes
  • Gestures support like touch, pinch/zoom, scrolling
  • Highly customizable

3. Flutter_candlesticks
An Elegant OHLC Candlestick and Trade Volume charts library for the Flutter.

























Features
  • Easily create price watch apps using Flutter.
  • Suited for CryptoCurrency and share market apps
  • Fully customizable

4. Flutter Circular Chart
A library for creating animated circular chart widgets with Flutter, you can Create easily animated pie charts and radial charts by providing them with data objects they can plot into charts and animate between























Features
  • Beautifully animated circular charts
  • Fully customizable
  • Supports radial charts with multiple concentric circles

5. Flutter_charts
Flutter Charts is a charting library for Flutter, written in Flutter. Currently, the column chart and line chart are supported.

























Features
  • Automatically checks for the X label overlap.
  • Plenty of examples available for easy start
  • The highly customizable flutter chart library

6. Flutter Plot
A pretty plotting package for Flutter apps. Sizing and auto adding aren’t great right now, but tinkering with padding and font size will allow for you to align things well.

Features
  • Fully customizable
  • examples available for an easy start
  • you can create super neat plots

7. Charts by Google
Charts is a general charting library Created by Google for the Flutter mobile UI framework.



Features
  • Wide Range of Charts Available
  • Includes charts like Line chart, combo chart, Axes chart e.t.c
  • A charting package for Flutter, supporting both Android and iOS.

8. Fcharts
With Fcharts you can Create beautiful, responsive, animated charts using a simple and intuitive API.





















Features
  • A work-in-progress chart library for Flutter.
  • Responsive charts
  • simple and intuitive API

9. FL Chart
FlChart allows you to draw your charts in the Flutter, It’s a powerful Flutter chart library, currently supporting Line Chart, Bar Chart, and Pie Chart

Features
  • Handles Touches
  • Handles Animations
  • You can create awesome BarCharts
  • Also supports LineChart and PieChart

10. MPFlutterChart
A powerful Flutter chart view/graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, dragging and animations.



































Features
  • Tons of charts available
  • supports dragging and animations
  • Highly customizable

Conclusion
That’s my collection of the best chart libraries for Flutter, if you have a great component and didn’t see it in here, leave a suggestion in the comments below. Have a wonderful charting and visualization experience!
#flutter #programming

Reference