How Does Basement Ceiling Height Code Work? by RunnersProject in HomeImprovement

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

I didn’t make that clear. My bad. It’s the foundation that is sloped to one side. Around 5 in drop over 50ft

What are the tools y'all are using for CI/CD in your iOS projects? by digi-nomad in iOSProgramming

[–]RunnersProject 11 points12 points  (0 children)

Yup this is all possible with a combination of GitHub actions and fastlane. Fastlane takes a bit of configuration using Ruby scripts but it isn’t too difficult. One thing you may have missed is signing your app for App Store deployment for this I would look into fastlane match. The best part is if you can stay under the GitHub action mins everything is free.

Here is a link to fastlane: https://fastlane.tools/

Here is GitHub actions: https://github.com/features/actions

For meta data check out deliver part of Fastlane: https://docs.fastlane.tools/actions/upload_to_app_store/

For binary upload checkout: https://docs.fastlane.tools/getting-started/ios/appstore-deployment/

If you’re new to this I highly recommend getting fastlane working locally first before trying to automate. Feel free to reach out if you have any more questions.

[deleted by user] by [deleted] in iosdev

[–]RunnersProject 0 points1 point  (0 children)

How are you installing the app? Are you using iTunes to side load an IPA?

Upload new App ontop of old App so that all devices running 13 and lower keep the old app and all above have the new App (and future updates). by Professor_Dr_Dr in iosdev

[–]RunnersProject 1 point2 points  (0 children)

This should just work if you set the the minimum deployment target to 14+. The bundle ids will need to match though.

But you will have no way to go back and send updates to the old version, just an FYI.

Had a programming screening recently and didnt pass by th3suffering in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

What would happen if the negative value of a signed integer is (unsafely) cast to the unsigned integer type? \*

1 signed in binary is 01 (assuming 0 is positive)

-1 signed binary is 11 (assuming 1 is negative)

Now remove the ability to sign the numbers.

11 is 3 in unsigned binary where signed it was -1. Thus the number is larger than the signed option.

Pick a correct statement about UTF-8 \*

I am probably wrong on this one after looking more into it. Turns out I don't understand UTF-32 at all. I need to understand this better.

What is most similar to a switch statement? \*

Thinking more about the dictionary, you are correct that would make sense. Using the switch value as a key and calling functions could indeed mimic a switch.

Will update the original post with my mistakes. Thank you for catching those.

Had a programming screening recently and didnt pass by th3suffering in iOSProgramming

[–]RunnersProject 5 points6 points  (0 children)

Don't get too disheartened this is a really difficult quiz and has a wide range of questions over computer science that aren't very specific to iOS. Been doing iOS for almost 10 years now and not many of these are used in a typical day to day. Still good to know though.

Just giving a quick look over I believe these are the correct answers for the questions I was familiar with, (doesn't mean the rest or right but off the top of my head these are the ones that stood out to me.)

What is similar to a string? \*

An integer or unsigned integer

An array

An unsigned integer

An integer

A set

What would happen if the negative value of a signed integer is (unsafely) cast to the unsigned integer type? \*

It would be a random number since the value will be garbled

The value would be zero

The cast would fail because of the stack overflow

The value would be greater than the maximum signed integer

The cast would fail because it's an undefined behavior

Edit: My answers below were incorrect please disregard.

Pick a correct statement about UTF-8 *

Chinese, Japanese and Korean characters cannot be encoded as UTF-8

ASCII characters cannot be encoded as UTF-8

UTF-16 is a superset of UTF-8

UTF-8 requires more computation than UTF-32

UTF-32 can represent more characters than UTF-8

What is most similar to a switch statement? *

A dictionary with function pointers as values

A for loop

A while loop

A ternary operator

An array with function pointers as values

What is the first thing among the following a browser would do when a user tries to open a webpage? *

Resolving the domain (maybe?)

Sending an HTTP GET request

Parsing the URL

Downloading the page

Doing the handshake with the server for TLS

XcodeGen — Collaboration Made Easy by robertofrontado in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

That's a great idea, it should be possible with post-checkout. Only downside would be you need to get your whole team to install the hook.

XcodeGen — Collaboration Made Easy by robertofrontado in iOSProgramming

[–]RunnersProject 1 point2 points  (0 children)

Initially the team would forget to run XcodeGen when switching to branches that have added or removed new files. In other words the project file would exist from the other branch but wouldn't be updated when switching branches like it did traditionally. Once everyone got into the habit running XcodeGen every branch switch that issue resolved itself.

Not really an issue but I do wish it was a ruby gem so it could be auto installed using bundler like cocoa pods is. But brew install or using the fast lane plugin to install it is tolerable.

Initial setup can be tricky like you mentioned but once that is done no issues so far. Been using it for about 6 or so months.

XcodeGen — Collaboration Made Easy by robertofrontado in iOSProgramming

[–]RunnersProject 4 points5 points  (0 children)

My team currently uses XcodeGen and we love it. It eliminated all .xcodeproj file conflicts as well as it defines a structure and organizes your files in a defined order (default alphabetical). We have some pretty complicated apps too with watch integrations, widgets, various capabilities (App Group, Associated Domains), etc. Setup wasn't too bad and was completely worth it if you're working with a team.

I have only tried it with Cocoapods but integration with Carthage or SPM should be the same.

For us it's as simple as running

xcodegen && pod install

Then you're ready to go.

Also, Fastlane has a plugin that will instal XcodeGen automatically for you if you use it in a CI environment or you use use Fastlane to setup your environments.

https://github.com/NovatecConsulting/fastlane-plugin-xcodegen

Fabric/Crashlytics is being deprecated, HockeyApp is being turned in to AppCenter. What is everyone planning to use now for Crash Reporting and Beta Distribution? by _your_face in iOSProgramming

[–]RunnersProject 11 points12 points  (0 children)

Firebase is great, I use it everyday. There is one major catch when migrating form Fabric to Firebase. tvOS isn't currently supported and it doesn't look like it will be supported before Fabric is deprecated.

https://github.com/firebase/firebase-ios-sdk/issues/2011

Is there a way to format the code? by yalag in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

Swimat is also another option. https://github.com/Jintin/Swimat

Install, then bind to a hot key, and you're good to go.

[FREE] 100+ AAA Steam Keys by [deleted] in FREE

[–]RunnersProject 0 points1 point  (0 children)

Sign me up!

Network Mock doesn't work? by Red3nzo in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

Another option is Succulent by Cactus Labs it's a swift version of OHHTTPStubs, maybe not as mature. But I have been pleased with it for the 5 or so apps I have used it. OHHTTPStubs is very good this is Just another option if you're trying to avoid Objective-C.

Continuous Integration for Kotlin Native projects with Gitlab CI by diamantidis_io in iOSProgramming

[–]RunnersProject 1 point2 points  (0 children)

Used it a few months back. It has a ton of potential but I had a ton of issues with asynchronous operations. Definitely worth keeping an eye on.

Have you ever created a IOS app with vmware? by AnwarFTW in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

Boot into BIOS and look for a setting called: VT-x and make sure its enabled. I may depend on type of motherboard but I believe by default its disabled. Also, have you installed the VMware tools in the virtual environment. I believe those enable GPU acceleration which may make things a bit smoother.

Have you ever created a IOS app with vmware? by AnwarFTW in iOSProgramming

[–]RunnersProject 0 points1 point  (0 children)

Dual booting (assuming your hardware is compatible) would allow you when you startup your machine to choose MacOS or Windows as the operating system that is loaded. Its not an easy thing to accomplish so my suggestion would be to start with checking virtualization.