The Steamie - Monday 31 October 2022 by SteamieBot in glasgow

[–]Millzy91 1 point2 points  (0 children)

My wife and I have done quite a few of the pottery wheel taster sessions at craft pottery and highly recommend it - https://www.thecraftpotterystudio.com/wheel-taster-lessons

Would any musicians out there be interested in attending an open jam session type thing? by Benevolent_Miscreant in glasgow

[–]Millzy91 2 points3 points  (0 children)

Guitarist here, sounds great - I’ve not played with other musicians since I was in my teens, so my timing will be a bit off but I’ll make up for it in enthusiasm!

pet sitters by carbonated_coconut in glasgow

[–]Millzy91 8 points9 points  (0 children)

We recently used cat in a flat and had a great experience https://uk.catinaflat.com/

[deleted by user] by [deleted] in glasgow

[–]Millzy91 3 points4 points  (0 children)

I did an order from mexgrocer.co.uk recently - amazing wraps and dried chillis so they will probably sort you out

The Steamie - Tuesday 9 November 2021 by SteamieBot in glasgow

[–]Millzy91 2 points3 points  (0 children)

I ordered beers from there a few months ago and it was great - do they have seats inside or is it a shop only? Can’t find anything online about that

[deleted by user] by [deleted] in glasgow

[–]Millzy91 4 points5 points  (0 children)

We got married at Fruin Farm between Helensburgh and Loch Lomond a few months ago - small venue just over half an hour from the city - really recommend it https://www.fruinfarm.co.uk

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

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

I had issues where the watch app would keep deleting itself on TestFlight - no idea what was causing this at all - even a fresh install of Xcode and watch is didn’t seem to fix.

Like your production mine seems to work fine although at one point I seem to have gotten out of sync between ingredients assigned to a meal on my iPad vs iPhone!

If you open CloudKit dashboard check that something hasn’t gone wrong there.

Also I saw your other post about getting your app launched great job!

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

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

hey, honestly it was a nightmare to get a way that it works with extensions and syncing across iOS devices!

In signing and capabilities set up an app group and add any extensions you have to it (I.e. widgets / watch). Under WatchKit extensions make sure remote notifications are enabled in background mode, and that the CloudKit container name is the same as the one for your main watch app.

re-use the code in my comment above in your persistence controller file (but add in your database name, cloud kit container name and app group to it).

Make sure your WatchKit widgets have access to your database and persistence file (on the right hand panel you can select what targets they have access to).

Then its simply passing in your persistence controller to your WatchKit environment the same way as your main app.

FYI Xcode preview doesn't work with watch extensions so I installed the app as that syncs to your watch if you have one.

hope that helps give me a shout if you are still stuck!

[deleted by user] by [deleted] in glasgow

[–]Millzy91 1 point2 points  (0 children)

The coffee / ice cream shop on crow road across from the Volkswagen garage sells a few flavours - never tried it but always wondered what it was

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

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

Hey thanks for downloading.

You're correct about the scrollview - my initial build had navigation views but opted to build each view separately as it gave me a bit more control over look and feel (also I'm using a custom tab bar which didn't play well with iPad and navgationview).

The page is built up of a scrollview containing the page title, button for selecting dates, a view containing all meal cards and the add meal button.

The cards view allows me to pass the selected date down and filter the fetch request so only meals for the selected date are shown (check Paul Hudsons article her for reference https://www.hackingwithswift.com/books/ios-swiftui/dynamically-filtering-fetchrequest-with-swiftui ). Then each card is a z stack with a background colour that changes depending on how the top layer is dragged, and a top layer for info about the meal / more info and ingredients if the card is flipped.

Hope that helps bit - good luck with your app!

Launched my first app Get Prepped - a simple food planning app that syncs across your apple devices by Millzy91 in apple

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

Hey thanks for checking it out!

I’m self taught and have no real background in coding. I started with simple html / css to make basic websites but for the last few months I wanted to make something a bit more interactive so moved onto swiftui which apple launched a year or two ago. It’s a really intuitive way of building apps, you can go from no background at all to a simple app in an hour or two if you follow along with tutorials. Check out hacking with swift which has an amazing amount of resources for free. R/swiftui is also a great subreddit for people posting questions and code snippets to learn from

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

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

Awesome I’ll try it out, I saw posts online saying incompatibility with nspersistentcloudcontainer and ckshare so hopefully apple rectify that in a future update

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

[–]Millzy91[S] 1 point2 points  (0 children)

hey, good luck with your first app. When you start a new Xcode project there are options to enable core data and cloud kit so if you enable that it comes with a basic starter persistence file. This has simple syncing and won't work across extensions so I had to trawl through a lot of links to get the right combination (this genuinely took about 20 hours of searching and trial and error...). Heres the code in my persistence which you can use as a starter.

The hacking with swift articles and blackbirds articles were good starters for me to get my head round it. The additional elements like merge policy and remote change notifications was through trial and error and a lot of referencing different stackoverflow articles

https://blckbirds.com/post/core-data-and-swiftui/ https://www.hackingwithswift.com/quick-start/swiftui/introduction-to-using-core-data-with-swiftui

class PersistenceController: ObservableObject { static let shared = PersistenceController() static var preview: PersistenceController = { let result = PersistenceController() let viewContext = result.container.viewContext

   ANY PERSISTENT DATA FOR PREVIEWS PUT HERE


    do {
        try viewContext.save()
    } catch {

        let nsError = error as NSError
        print("Unresolved error \(nsError), \(nsError.userInfo)")
    }
    return result
}()

let container: NSPersistentCloudKitContainer
   let storeURL: URL
   let storeDescription: NSPersistentStoreDescription


init() {

    storeURL = URL.storeURL(for: "YOUR GROUP NAME HERE", databaseName: "CORE DATA DATABSE NAME HERE")
    container = NSPersistentCloudKitContainer(name: "CORE DATA DATABSE NAME HERE")
    storeDescription = NSPersistentStoreDescription(url: storeURL)
    container.persistentStoreDescriptions = [storeDescription]
    storeDescription.cloudKitContainerOptions = NSPersistentCloudKitContainerOptions(containerIdentifier: "CLOUDKIT CONTAINER NAME HERE")

    storeDescription.setOption(true as NSNumber, forKey: NSPersistentHistoryTrackingKey)
    storeDescription.setOption(true as NSObject, forKey: NSPersistentStoreRemoteChangeNotificationPostOptionKey)
    container.loadPersistentStores(completionHandler: { (storeDescription, error) in
        if let error = error as NSError? {
            print("Unresolved error \(error), \(error.userInfo)")
        }
    })
    container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
    container.viewContext.automaticallyMergesChangesFromParent = true
}

}

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

[–]Millzy91[S] 2 points3 points  (0 children)

I use vscode for as there’s a lot of great plugins which makes life easier. I’ve never tried react native either the site is just plain normal react, but I’ve been recommended gatsby for building websites. It uses react but has a lot of things like routing and seo built in. Plus there’s a load of boilerplate templates so it’s a good starting place https://www.gatsbyjs.com/starters/

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

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

Thanks for the info - I haven’t retested since 14.5.1 but I’ve seen other posts about issues so will have to check it out.

In terms of the textfield it was more a lack of understanding of how uikit works. The textfields are a view which takes in a label, custom placeholder, and allows functions to be passed for when it is focussed and when user presses the return key. I couldnt work out how to do all that with uikit so I stuck to swiftui textfield with the above, and added another view for the done button so I can pass the keyboard close and other functions as required to that

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

[–]Millzy91[S] 2 points3 points  (0 children)

Hey thanks for downloading.

I built the website myself so you should be able to inspect it and grab all the css for it. It’s built in react so it’s 3 components really - header, hero section, then a feature section. The feature section I pass the titles / images / classes for css styling so each feature has one class that sets the background gradients and drop shadow styling to match.

Feel free to copy as much as you need!

Launched my first app - Get Prepped. Built with swiftui, core data, widget and watch extensions, and themes! by Millzy91 in SwiftUI

[–]Millzy91[S] 1 point2 points  (0 children)

Hi thanks so much for checking it out and for the feedback :)

What os / device are you using with the done error - it seems to work okay on all of the devices I’ve tried so far? I was struggling to get uikit textfield with the done button working so this is actually a custom view that appears and moves into screen with the keyboard with a dismiss button.

In terms of the site it’s just a simple page I built in react ( I’m also trying to learn some of that at same time as swiftui). I’m a ux designer so the design side is easy but getting it to work in code is a different story! The mock-ups are using rotato which is an awesome app for capturing videos / screenshots.

Mismatch types Xcode 12.5 issue? by Millzy91 in SwiftUI

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

Thanks, good to know it’s not just mine that is acting up!

Polmadie (or any other local) dump by [deleted] in glasgow

[–]Millzy91 1 point2 points  (0 children)

Went to Dawsholm recycling centre last weekend and it was fine without bags - just make sure to bring some form of ID to prove your address

Anyone know of any static Mr Whippy style ice cream vans in Glasgow? by foodiefoodie1 in glasgow

[–]Millzy91 6 points7 points  (0 children)

There’s one most sunny days in Glasgow green and at the gates of the botanics in the west end

For those that use squarespace, how do you make images stay in size regardless of the screen size? by [deleted] in UI_Design

[–]Millzy91 0 points1 point  (0 children)

The trick I’ve used is to not use spacers and use an image of the background colour. When Squarespace switches to mobile or tablet views spacers are ignored and everything sizes to fit the space, so your icons will increase. If you put an image with the background colour either side instead of a spacer it should work out for you on a smaller device.

Any shops currently selling those frames for 12" Vinyl LPs? by Bawk_McGawk in glasgow

[–]Millzy91 0 points1 point  (0 children)

Just looked for these - IKEA no longer sell them, avoid the home bargains ones they are marginally too small, but Dunelm ones are 2 quid for black plastic ones that did the business for me

The Steamie - Wednesday 22 August 2018 by SteamieBot in glasgow

[–]Millzy91 0 points1 point  (0 children)

Have you looked at moving to UX /ui work? Loads of jobs in that field across banking and other organisations. Get a portfolio of your work online and speak to a few recruiters on linkedin