|
John Simmons / outlaw programmer wrote: "Yeah, but I didn't notice." That, ladies and gentlemen, is the ultimate hurdle.
"The user shouldn't notice what OS you're using" should be hammered into every developer. Personally, I think our Linux-based phones are years ahead of where the Linux desktop is. Given that to do most anything, I still have to use the CLI.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
The Linux desktop is like the wild west.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: Tried to install SQL Server 2017 installed, but an arbitrary decision of the part of Microsoft prevents you from installing it on Win7.
SQL Server on Linux is fantastic, and faster to set up. We use SQL Server in a Docker container for local development, but you could also just install it on a Linux computer or VM.
|
|
|
|
|
Do they have different editions like on Windows?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
|
Looks like the Linux version is a no-go for me. I need agents and SSIS, but those things are listed as "unsupported". So I guess it's nothing newer than 2014...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: "Yeah, but I didn't notice." That, ladies and gentlemen, is the ultimate hurdle. ... and quite a compliment on your skills as the household IT guy.
Software Zen: delete this;
|
|
|
|
|
I've written a full iOS app that even does some drawing to the main View. I actually published it to the App Store (and suffered all the things that means) a little over a year ago. Then I was too cheap and I let my $99 dev account expire so you can't see it on App store now.
Here's a quick snapshot of the app just for reference:
https://i.stack.imgur.com/EmHYw.png[^]
When I wrote that app I learned just enough to get it going because my target was the app, not necessarily learning to develop apps perfectly.
Anyways, I have read/been reading a couple of iOS development books.
One, I really liked because the author is a very good writer:
iOS 12 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics: Matt Neuburg: 9781492044550: Amazon.com: Books[^]
But as I got further in the book (unfortunately later parts of chpt 2) I found that the book just went off in tangents of Swift code that I'm probably not going to see until much later.
It really bugged me. I want to learn iOS Dev not necessarily every nuance of Swift.
It's kind of like a carpenter with a hammer. I need to be great with a hammer but I don't need to know how the they build the hammer head from molten iron.
I've also read a bit of iOS Programming: The Big Nerd Ranch Guide (6th Edition) (Big Nerd Ranch Guides): Christian Keur, Aaron Hillegass: 9780134682334: Amazon.com: Books[^] and it's good too.
But after those books I don't find much.
My Point and Question
I also find that when I go to write an app and start searching I don't find much documented or documented well enough or current enough to get things working on iOS. It's quite difficult to find solid resources that are up to date.
Comparing Android App I Wrote To iOS
A very good example is that I wrote a very simple Android app that:
1. allows user to add a list of URLs
2. allows user to make a call to getHostAddress() on background thread and measure how much time it takes to turn the URL string into the ipAddress.
It's a little utility that is very easy and simply basically measures the time to resolve the Domain Name. It looks like this : https://i.stack.imgur.com/3fRbw.png[^]
But when I try to search to write an app like that on iOS, I find nothing. Does the iOS not have a similar call to getHostAddress()? Is the API more limited for security reasons?
Xcode : Not My Favorite IDE
Also Xcode IDE is not my favorite. It seems like there is just a lot of noise in it as I look at it. I also think iOS storyboard and UI layout is annoying and difficult (especially compared to WinForms, XAML, and Android) and it feels kind of like magic is going on.
Anyone else have good resources for learning?
modified 2-Dec-18 17:09pm.
|
|
|
|
|
I program in Objective C because my apps use a lot of system and media APIs. Swift didn't seem to have easy access to those libraries. I will probably stick with Objective C for the forseeble future.
Anyway, to your question here is the codez :
NSURL *validURL = [NSURL URLWithString: yourUrl];
NSString *host = [validURL host];
NSString *ipAdress = [[NSHost hostWithName:host]address];
Here is the Host class to get you started:
Host - Foundation | Apple Developer Documentation
modified 20-Oct-19 21:02pm.
|
|
|
|
|
That's cool. Thanks for showing me that code. I will check it out.
|
|
|
|
|
|
That's an interesting article. I wish they'd go back and update it now that Swift 4.2 has released and see if there are any changes in dev attitudes.
I also wonder if for those of us who are new(er) to iOS dev that learning Swift is probably easier.
I really don't care for the look of Objective-C syntax - since it seems like an oddball version of C and I'm an old C++ dev.
I also notice that the things I actually don't like about Swift are the Functional language parts that I also don't like about C# but those things I just have to accept.
Thanks again for sharing.
|
|
|
|
|
It's almost a law that a language/framework/OS/IDE/whatever is mature with version 6 and up.
That's my point when I will switch.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Take a look at one of the Beginning iPhone Development books by David Mark and Jack Nutting. It only deals with the iOS SDK, not so much language.
Raywenderlich.com has excellent, solid tutorials that build out concepts from simple to complex, in both Obj-C and Swift, including games. You get to know the platform and the language over time. They've also published a few books.
I'm surprised you struggle to find information; sites like Medium.com are thick with Swift / iOS tutorials, and you'll find complete language and UI documentation at developer.apple.com.
Apple of course also publishes a free language guide on Swift, which is a handy reference. Mattt Thompson (NSHipster) and others (objc.io) write about iOS extensively.
Storyboards also use a form of XML, but I agree there is some dark voodoo going on in Layouts
|
|
|
|
|
Thanks for the feedback. I will check out the Mark/Nutting book.
I have stumbled upon Wenderlich and he definitely does have some good stuff too.
I think it's also because API names in iOS are so odd -- seem so different (compared to what I find in Win APIs).
Ri_ wrote: but I agree there is some dark voodoo going on in Layouts
Thanks for the confirmation on that.
EDIT
Oh, I see the nutting/mark books are quite old (latest one pubbed 2014). A lot has changed since then. Maybe that is part of it too. Thanks again.
|
|
|
|
|
Have you looked at the online courses from Udacity or Coursera?
The 3 that I have taken have been very good and two of them were free I was able to do them at my own pace.
|
|
|
|
|
Les mt wrote: Have you looked at the online courses from Udacity or Coursera?
I haven't. I usually don't like video tutorials, because they are often so slow. I will check them out though. Thanks.
|
|
|
|
|
Aaaaaargh!!!!!!!! Stooopid Apple!!!!
Every time I lock down the updates after a code review. Apple rolls out the next bunch of updates that depreciates a bunch of code. The last time all Swift 3 compatible code, Gone. The code I wrote I did update, I saw it coming. However, the third party crap can't be arsed to update theirs... Grrr!!!
I ended up being the "Apple Guy" because I tried it some time ago as a technology investigation and built a simple App as a proof of concept, no training, just dove in. And now, I'm the "Apple Guy"...
Reminds me of this Commit Strip[^]
It was broke, so I fixed it.
|
|
|
|
|
|
raddevus wrote: Android Studio Oh yeah, I installed that horrendous cobble-de-guck IDE they have from Google... wrappers over wrappers cobbled together with interpreters for the phone platforms... holy moley. I got it to work with my ZTE phone but definitely not for the faint of heart.
I admire your pluck. I asked our Android Dev about Xamarin, he said it works, if you don't mind migraines.
I think I'm going to go back to 8-bit assembly. At least once you had that crap down, they didn't keep changing the rules that often. Not until that curly brace stuff came around
It was broke, so I fixed it.
|
|
|
|
|
S Houghtelin wrote: I'm going to go back to 8-bit assembly. At least once you had that crap down, they didn't keep changing the rules that often
Yeah, they just keep pulling the rug out from under us. It's unstable world.
|
|
|
|
|
I definitely second the RayWenderlich.com recommendation. They stay up to date and have some awesome authors.
I like IOS Development With Swift[^]. Manning has the same author doing the content as tutorial videos. I did see that you don't care for those, but he keeps the pace moving pretty quickly.
Also, coincidentally, Manning is having a sale today, half off pbooks and videos (code is DOTD120318). Details are their page.
I've also read and liked Swift Development with Cocoa[^], although that one is getting a bit old now (2015). The authors are iOS developers.
Hope you can find something that suits your needs and isn't out of date. It does change so very quickly that I wonder if books are still the answer.
|
|
|
|
|
I hadn't seen the Manning book. I am checking that one out and it does look good.
Thanks for chiming in with all the recommendations.
ajhampson wrote: It does change so very quickly that I wonder if books are still the answer
I do agree with that. It's amazing how fast the tech changes and the book becomes obsolete.
|
|
|
|
|
|
That's strange, I would have never thought Apple would favour copying and slightly changing a song over coming up with an original innovation song of their own...
|
|
|
|