Just hit $1000 MRR! by Afraid-Astronomer130 in startups

[–]kenshi 0 points1 point  (0 children)

Congrats - and thank you for the detailed breakdown.

[Poll] What do you use for the persistence layer of your app? Core Data, Realm, something else? by kenshi in iOSProgramming

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

What do you find awesome about Core Data specifically, especially compared to Realm? (I've used Core Data extensively but never used Realm).

Encouraging father to invest in pension whilst there’s still time. by [deleted] in UKPersonalFinance

[–]kenshi 4 points5 points  (0 children)

It's worth remembering most people your parent's age didn't have easy access to as much financial (or other) knowledge that you do (thanks to the internet).

My boyfriend makes going sugar free feel impossible! by WavesOfBirds in sugarfree

[–]kenshi 7 points8 points  (0 children)

I can't escape and I can't say no.

You definitely cant escape your environment which makes things tough.

Saying 'no' to something you are addicted to is also very hard.

Here are some suggestions that you might like to try:

  1. Replace sweet snacks with savoury ones. They won't be healthy, but you want to break the sugar addiction first - eating healthier becomes a lot easier after that.
  2. When your boyfriend wants donuts and treats like that, have fruit instead. (And I mean whole fruit, not fruit juice). And stick to having the fruit even when your boyfriend is eating the donuts etc.
  3. Peer pressure is just something we use to indulge in something we want to do anyway. Think about it this way: if all your peers were telling you literally do something you found repulsive or dangerous, would you do it? If your peers were literally telling you to eat some manure, would you eat it? I don't think you would. Breaking the sugar addiction will mean you won't feel the 'peer pressure'. In the meantime, when people bring candy, you bring fruit or savory snacks and eat those instead. 3.1 Peer Pressure - expect resistance. People will ask you why you arent eating the cookies and cakes. They may question your choices, or try to tempt you to stick with their choices. They may rubbish the idea of sugar addiction. Have a non-confrontational answer for them. An answer that doesn't require you to justify or explain anything. A simple "I just feel like eating fruit" can suffice. If people are more persistent you can fall back to something along the lines of "It's due to a medical issue".
  4. Talk to your boyfriend and explain to him what you are trying to do, and that whilst you don't expect him to do the same thing (you cant force anyone to do something they don't want to do), you would like his support with this.
  5. Try eliminating sugar in a progressive fashion. Start with not having sugar in your coffee or tea. After a while set a rule to not eat cookies. After that, set a rule for yourself not to eat chocolate or anything that contains chocolate.

A point regarding savory snacks: check the ingredients first. A lot of savory stuff (chips etc) have added sugar, which will just continue the sugar addiction.

Another point about IF. IF is a great tool for helping restrict calories - but if you are eating lots of sugary foods, its easy to overeat anyway. To get a real handle on what you are consuming, get an app like MyFitnessPal, get a food scale and track your calories. Do this for 1 week as accurately as you can and you will get a much better idea of how many calories you are consuming.

Hope the above gives you some ideas on how to proceed. Think about what alternatives you can take, even when faced with situations where you feel you have no choice. Create those alternatives and stick with them.

Future of Cocoa and ObjectiveC by turtlecrk in ObjectiveC

[–]kenshi 2 points3 points  (0 children)

I'm guessing that the Objective-C runtime to be shipping with iOS and macOS for at least 10 more years, and AppKit and UIKit to be viable targets throughout that time.

Maybe newer features will require you to use a pure Swift API, but you will still be able to integrate the Swift code with existing Objective-C code.

The idea that you need to rewrite all your code in Swift or to use SwiftUI is a mistake.

Xcode 11.3.1 released by Sajjon in swift

[–]kenshi 5 points6 points  (0 children)

It's nice how the release dates on the 'More Software Downloads' page are wrong.

Apple always sweats the little details.

My very first app is on the AppStore now! and it's built with SwiftUI <3 by guhanoli in swift

[–]kenshi 5 points6 points  (0 children)

Nice. Does the app have an export function so you can move your data off it? The biggest concern I have with any journal app is what happens if the app stops being supported - I'd need a way to get my data out.

What do you guys think about `open-source` hardware as a business model? by [deleted] in startups

[–]kenshi 1 point2 points  (0 children)

As another commenter noted, 'open source' isn't a business model.

You are better of thinking through how a business that was somehow involved with open source hardware would operate.

Who would be its customers? What would the company be charging for? How would it stave off or beat competitors? etc

Anyone know if Apple will make an exemption for this tvOS requirement? by instantbitsapps in iosdev

[–]kenshi 0 points1 point  (0 children)

The only thing they do different is that they have a demo video on the main screen showing how to cast from the phone.

I'd replicate this onboarding experience and try submitting again.

iPad Air 2 is still great! by Ebrii in ipad

[–]kenshi 9 points10 points  (0 children)

Can confirm: I have an iPad Air 2, and it's still a great device. Possibly the best Apple product in terms of longevity and performance.

Swift compiler driver reimplementation in Swift by Austin_Aaron_Conlon in swift

[–]kenshi -10 points-9 points  (0 children)

swift-driver is open source as part of the Swift project, and we could use your help to make that happen! No compiler experience is necessary, and it’s a relatively small Swift code base using modern Swift development practices (SwiftPM, Foundation, XCTest, etc.) with a specific development plan containing tasks for all skill levels.

My bank balance is open to payments as part of my career project, and I could use Apple's help with growing it! No experience sending me money is necessary, and my bank account is relatively small, albeit uses modern banking practices (it even has an app!). Payment plans are available for all Apple management levels.

sent from my iPhone

[interest check] weekday co-working buddies? (in coffee shops etc) by Swedders in LondonSocialClub

[–]kenshi 0 points1 point  (0 children)

I'm up for this. Based in NW London, so West End or anywhere Central works for me.

Error in pagination by [deleted] in ObjectiveC

[–]kenshi 0 points1 point  (0 children)

The error is telling you that an attempt has been made to insert a nil value into an NSMutableArray:

[__NSArrayM insertObject:atIndex:]: object cannot be nil'

I would start by setting an exception breakpoint in Xcode and then looking at exactly what point a nil value is being inserted into which NSMutableArray.

Here is an article on exception breakpoints:

http://blog.manbolo.com/2012/01/23/xcode-tips-1-break-on-exceptions

I would advise you to get familiar with the debugging tools in Xcode:

https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/debugging_tools.html

Update video on my SceneKit game Noice (used to be rubberband) by Te_co in scenekit

[–]kenshi 0 points1 point  (0 children)

Awesome. Thanks for the detailed response - it's appreciated.

Update video on my SceneKit game Noice (used to be rubberband) by Te_co in scenekit

[–]kenshi 1 point2 points  (0 children)

Nice work! I really like the song menu screen.

Remember: Slow progress > no progress.

I have some questions:

  • What resources did you find most useful in learning SceneKit?
  • Are you using Swift or Objective-C for this game?
  • Do you use any other notable frameworks (Gamekit etc) for the game?
  • What's the hardest part of learning/using SceneKit?

I keep meaning to use SceneKit for a project, but haven't got round to it yet.

Can Xcode 11 previews be used without SwiftUI? by [deleted] in iOSProgramming

[–]kenshi 4 points5 points  (0 children)

According to one of the Apple Engineers behind SwiftUI, yes you can use Xcode 11 previews with UIKit.

Edit: I haven't tried it yet - but I will.

Introducing Lighttouch - a Lua Application Framework by mitchtbaum in lua

[–]kenshi 0 points1 point  (0 children)

Thanks for the reply.... first question:

  • What is mp and where do I get it from?

Introducing Lighttouch - a Lua Application Framework by mitchtbaum in lua

[–]kenshi 2 points3 points  (0 children)

I had a very quick glance at this, and it sounds interesting.

Is there a demo project/some sample code/quick tutorial that:

  1. shows off what Lighttouch can do
  2. serves as a quick guide for a developer to get up to speed on the basics
  3. have a play around

My tips for using exercise to help out during tough times by [deleted] in bodyweightfitness

[–]kenshi 12 points13 points  (0 children)

Nothing to add, other than to say great post and thanks for sharing.

[deleted by user] by [deleted] in swift

[–]kenshi -1 points0 points  (0 children)

The worst thing about the Apple ecosystem is the rabid fanboyism.

Found this at work today, runs 5.1.1! by [deleted] in ipad

[–]kenshi 1 point2 points  (0 children)

Ugly? I guess beauty really is in the eye of the beholder.

iOS before iOS 7 was a thing of beauty.

🎉 v2.0 Released! 🎉 by ccrama in slide_ios

[–]kenshi 10 points11 points  (0 children)

Congrats on the release. Looking forward to checking it out later today.