Why are people using 3 party's frameworks like Cocoapods, AFNetworking etc ❓
▶︎ The Research: I just spent few minutes of my time checking the file size of some 3 third party's frameworks where everybody seems to be using. here are my search result for the frameworks I see people posting frequently on social networks.
✶ Cocoapods => 56M ✶ AFNetworking => 8M ✶ SwiftyJSON => 3M ✶ Alamofire => 1M
▶︎ The solution: ✭ I have few apps that require networking call and JSON parsing as well. ✭ The app with basic networking call and JSON parsing require less than 10 lines of code. ✭ The app with complex networking call require 4 - 5 methods or less than 50 lines of code.
▶︎ Average file size on app store: ✔️ 8M.
▶︎ Why file size matter? ✶ Base on my market research, the file size have larger than 8M with deleting rate are over 90% ✶ BTW, No apps on my phone that file size is larger than 8M❗️ ✶ if you want your apps on my phone, you have to work on your file size.
▶︎ The drawback of the third party's frameworks: ✖︎ Not being appeared on user's devices. ✖︎ On users deleting list. ✖︎ More files mean more objects that require more power, more memory, more CPU, more buggs, more memory leaks, more crash and poor performance.
▶︎ The puzzle: ❓ Help me understand, why people are using these frameworks when they can have the same job done in a simpler solutions with just few K in file size?









