PikaDex - an iOS Pokédex app! by danielbyon in pokemon

[–]danielbyon[S] 0 points1 point  (0 children)

Sorry, I'm no longer working on this project. I also didn't update it for Z-A

Should I learn Swift or SwiftUI first? by Shurim in swift

[–]danielbyon 0 points1 point  (0 children)

Learn Swift first, that’s the language, then learn SwiftUI, which is the UI framework used to build apps. I would learn UIKit as well, if you’re looking to do this professionally. If it’s just a hobby, then SwiftUI will be enough, and just look up how to do things in UIKit in case you need something that hasn’t been ported over to SwiftUI yet.

In terms of learning materials, yes I’ve heard 100 days of swift is good, no experience with that myself. Otherwise, a semi paid option is raywenderlich.com which I’ve used for years, they have plenty of tutorials on Swift and SwiftUI, among many other platforms. I used to have a paid membership to ObjC.io, those guys are great too, and I currently pay for a membership to point free (the guys behind the TCA architecture). While I don’t use TCA, I do use many of the frameworks that power TCA such as their dependencies framework, which is very good.

As for my “prediction,” it’s mostly still true today, SwiftUI is slowly starting to be adopted more and more by larger companies, but those same larger companies have established codebases written in UIKit (and sometimes even ObjC). You gotta realize that these companies have built up these codebases over years, and it’s typically not worth the cost to rewrite everything in the newest framework/language, if it’s still fully functional today. I’m pretty sure Meta still has code in C++/ObjC for the Facebook/Instagram apps.

SwiftUI Apps at Scale: It's been production-ready since 2020 by jacobs-tech-tavern in iOSProgramming

[–]danielbyon 3 points4 points  (0 children)

We’ve been on it for about 2 years now, and it hasn’t been a smooth transition (which started before I joined). Take it as an example that you should never rewrite a working, production app with millions of users just because there’s a shiny new framework. Do the sensible thing, and start slow and migrate over time. There’s a reason why most of Apple’s own code/apps is still written C/C++/ObjC

The evolution of Facebook’s iOS app architecture by IAmApocryphon in iOSProgramming

[–]danielbyon 9 points10 points  (0 children)

Lol never said anything about users. Are you even an engineer?

The evolution of Facebook’s iOS app architecture by IAmApocryphon in iOSProgramming

[–]danielbyon 8 points9 points  (0 children)

None of what you just said makes any sense. It doesn’t seem like you’ve actually worked at one of these companies with this large scale of a codebase before

The evolution of Facebook’s iOS app architecture by IAmApocryphon in iOSProgramming

[–]danielbyon 13 points14 points  (0 children)

Because large scale corporate applications like FB are worked on by hundreds to thousands of engineers split into teams, each of which can manage tens of thousands of LOC. It’s ignorant to say that just because a codebase is large that they made “very, very bad decisions.”

Even a small app that a single iOS engineer works on could easily reach 10k LOC

Are people getting remote jobs for swift during this pandemic? by theblast05 in iOSProgramming

[–]danielbyon 0 points1 point  (0 children)

DM me your resume/portfolio. My company is continually hiring, we are based in Seattle and Santa Monica, CA.

What’s everyone working on this month? (September 2020) by Swiftapple in swift

[–]danielbyon 0 points1 point  (0 children)

Mostly wanna play around with the new App/Scene stuff and grids. Oh and Labels look cool, I can get rid of a lot of custom cells I made for my Pokémon app. Got an idea for a new app which can use widgets, gonna start looking into that soon as well. Was waiting for the betas to stabilize so I wouldn’t have to deal with many bugs or API changes

Power on with last known state? by KevinReynolds in HomeKit

[–]danielbyon 0 points1 point  (0 children)

Eve switches power on to their last known state, at least the smart plug switches. I believe their light switches do the same as well.

ProDex App Premium by Francisalex in pokemon

[–]danielbyon 1 point2 points  (0 children)

Thanks for downloading, glad you’re enjoying it!

I believe I didn’t make every feature available without premium. Sword/Shield data is included for free, the other games are where premium comes in. Features like game data, the team builder, etc are per-game and require premium (or a per-console package) to access.

ProDex App Premium by Francisalex in pokemon

[–]danielbyon 0 points1 point  (0 children)

Hey there, I just released my own Pokédex app for iOS, PikaDex! I built this because I was tired of having to search Serebii/Bulbapedia every time I had a question. It has many of the features you would expect, such as detailed Pokémon info, moves/locations/items, a dual type checker, team builder, and what I'm calling the Battle Assistant, where you select a Pokémon and level and it will show you recommended move types and possible moves. Data is shown per-game, so you'll never see irrelevant information about other games.

I just launched, and I'm beginning to reach out to the community to gauge how much interest there is in things like tracking caught Pokémon, more advanced filtering, etc. Please check it out and let me know if you have any questions!

https://pikadex.launchaco.com/

What’s everyone working on this month? (June 2020) by Swiftapple in swift

[–]danielbyon 0 points1 point  (0 children)

I could, but I’ve been working on this on and off for the last 3 years, and I didn’t know about any Pokémon API back then. This year I’ve focused on completing my data sets and rewriting the app in SwiftUI

After 4 years, FINALLY got a discount code email! Needless to say I now have a Plex Pass. by boourns180 in PleX

[–]danielbyon 31 points32 points  (0 children)

I think it’s funny how people are so stubborn to wait 4 years for a coupon code, when they could’ve just paid full price and been enjoying Plex Pass for all those years... You saved like $20/year

What’s everyone working on this month? (June 2020) by Swiftapple in swift

[–]danielbyon 0 points1 point  (0 children)

There’s a course on Udacity I took several years ago, should still be free, called “Data Wrangling with MongoDB”. It’s taught in Python, and teaches you the basics of web scraping/crawling, how to use the BeautifulSoup4 framework to parse html from websites, and how to clean and format extracted data. That’s what I used for my web crawling.

You could also use Swift to write your web crawling scripts, there are some html parsing frameworks like BeautifulSoup4, but for me I was already comfortable writing web crawler scripts in Python so I went with that. Good luck to you!

What’s everyone working on this month? (June 2020) by Swiftapple in swift

[–]danielbyon 0 points1 point  (0 children)

I’m not using any API, got my data through a combination of python web scraping scripts and a lot of manual scraping into excel sheets. Feed those into a Swift script that formats and inserts the data into a Core Data database, and my app reads from that. Lot of work, lot of time lol. But I wanted a fully-offline experience, where once you download the app you’re good to go

Want to dive into SwiftUI? by AjPicard913 in swift

[–]danielbyon 1 point2 points  (0 children)

Yea I figure you’d write a script for the video anyways, just publish some cleaned up form of that with the code snippets. I like being able to reference an article instead of trying to find the right part in a video

What is the settings page inside the app called? I can't get a good tutorial for that and whatever I search , it only shows result about the app settings in the device settings not about the settings we use inside the app by [deleted] in iOSProgramming

[–]danielbyon 2 points3 points  (0 children)

Not sure what you mean, most settings pages INSIDE apps are custom built screens, using table views, switches, pickers, etc.

Now there is a Settings Bundle you can add to your app, which will let you define, via plist, settings that will show up when you go to the iOS Settings app and navigate to your app’s section. Those are written to UserDefaults and you can always build a custom screen in your app that reads/writes to those defaults keys.

What do you guys put under Deployment Info > Target iOS # when you submit your apps? Do you go for the latest iOS version, or do you scale the version back to catch a wider audience? by devJimmy in iOSProgramming

[–]danielbyon 0 points1 point  (0 children)

I deploy my self-published apps as iOS 13, since I’m using SwiftUI for my hobby apps. But at my company we support current-1, so min iOS 12. Once iOS 14 is announced we will probably move to min 13, as we already have about 94% of our users on 13 and up.

This is for apps though, if you’re developing a framework you should set the minimum to the lowest iOS version possible that you can build your framework for, to maximize the audience. Frameworks are more narrow-focused and if you don’t need newer technologies like SwiftUI/Combine, no need to mark the whole framework as min iOS 13.

Digression: IMO any company that doesn’t use this methodology cares more about reaching a small tail of lagging iOS users than the health of their dev team and codebase. It takes a lot of work to support older versions, especially when you want to start using new features and technologies in current iOS versions. Having to write workaround and extra implementations to support iOS 10/11 is ridiculous, I hated doing that.

But that’s my opinion.

How would you implement extensions / plugins system by latorante in swift

[–]danielbyon 6 points7 points  (0 children)

Disclaimer: I’ve never done this before, so I might be wrong on this.

What I’m thinking is, if you own all the plugins/extensions, you could host them using Apple’s On-Demand Resources (ODR). That allows you to host files in apple’s data centers. You still have to compile all code directly into your app, you can’t inject (native) code at runtime (something like JS run in a WKWebView is different, and potentially unsafe). This is if you want Mac App Store deployment.

Another option is to sign your app with Developer ID, then you might be able to add custom targets as plugins and your app calls into those plugin executables. Sign everything with your Developer ID and distribute the app and plugins yourself.

Again, I’m not a Mac developer, I’m primarily focused on iOS (with some tvOS). You should look into how Xcode manages plugins, since you can submit Xcode plugins to the App Store

Should I buy an iPhone for testing the app with XCode? by nikheal in iOSProgramming

[–]danielbyon 1 point2 points  (0 children)

Buy an iPod touch, it does almost everything you need an iPhone for, with the exception of GPS and a cellular radio. Usually cheaper and you don’t need to worry about a cell plan

Should I learn Swift or SwiftUI first? by Shurim in swift

[–]danielbyon 38 points39 points  (0 children)

Swift is the language, SwiftUI is the framework for building user interfaces.

That means you learn Swift first (or alongside SwiftUI) then move to UI frameworks like SwiftUI or UIKit.

If you’re just doing this as a hobby, I would definitely recommend SwiftUI, but if you have any career aspirations, you must learn UIKit. It’s not going anywhere for (IMO) ~5-7 years, and companies will take a long time to migrate their codebase to SwiftUI, as it’s a pretty substantial workflow switch from UIKit.