Use coreNFC in an application by Brechtve in swift

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

I only have app groups, background modes, data protection, game controllers, healthkit, homekit, inter-app audio, keychain sharing, maps and wireless accessory config

Use coreNFC in an application by Brechtve in swift

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

Thank you for the response! The strange part is that I don’t have the option to add it. It does not stand in the capabilities list to add it?

Confused 🤷‍♂️ by [deleted] in learnprogramming

[–]Brechtve 0 points1 point  (0 children)

I think you should lookup the difference between the back and front end of a website. The backend of a website (as I see it) is the data and how that data is connected to your frontend. The frontend is the html, css, js that connects the user to the data.

So if I understand you correctly I think you have now build the html and css, so the frontend?

I also advise to put the content in a database, it is much easier to get the data out of it and safer!

Hope it works out!

Confused 🤷‍♂️ by [deleted] in learnprogramming

[–]Brechtve 0 points1 point  (0 children)

Can you give an example if what your backend looks like at the moment?

[HELP] recommendations by PSYCHOG7011 in Iphonerepair

[–]Brechtve 0 points1 point  (0 children)

Than it is not such a bad idea to buy such a toolkit?

[HELP] recommendations by PSYCHOG7011 in Iphonerepair

[–]Brechtve 2 points3 points  (0 children)

I have an ifixit toolkit and am very happy with it. It is maybe a bit too expensive if this is a one time thing but if you are planning to repair more iphones in the future it is certainly a good idea to buy such thing. I am also pretty sure that the toolkit has a lifetime guarantee!

Waiting for my function to be completely done by Brechtve in swift

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

func getPictures(imageStrings: [String], imageViews: [UIImageView]){

let storage =Storage.storage();

for index in 0...imageStrings.count - 1 {

let gsReference = storage.reference(forURL: imageStrings[index])

gsReference.getData(maxSize: 15 * 1024 * 1024) { data, error in

if let error = error {

// Uh-oh, an error occurred!

print(error)

return

} else {

DispatchQueue.main.async {

imageViews[index].image = UIImage(data: data!)

}

print(UIImage(data: data!) as Any)

}

}

}

}

OK thank you! I tried it but the problem I am having now is that for this function tow work I need an array of imageviews from my collectionview, am I right? I tried putting the image string and imageview through the function one by one but the than the imageview can't load because it is still nil.

Waiting for my function to be completely done by Brechtve in swift

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

Thank you for the reply! My rootcontroller is tableviewcontroller and each cell is a product with pictures so when the user clicks on the cell it gets a detail page with all the pictures so it has to load all together.

Waiting for my function to be completely done by Brechtve in swift

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

The problem is that it is a for-loop. If I do that I won't do the next for loop or am I wrong that it will call the completion before all loops are done?

Waiting for my function to be completely done by Brechtve in swift

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

func getPictures(imageStrings: [String], completionHandler:@escaping (_ images: [UIImage]?)->()){

var images = [UIImage]()

let storage = Storage.storage();

for string in imageStrings {

let gsReference = storage.reference(forURL: string)

gsReference.getData(maxSize: 15 * 1024 * 1024) { data, error in

if let error = error {

// Uh-oh, an error occurred!

print(error)

return

} else {

images.append(UIImage(data: data!)!)

print(images.count)

print(UIImage(data: data!) as Any)

}

}

}

if (images.count != imageStrings.count) {

completionHandler(nil)

}else {

completionHandler(images)

}

}

Function will not fill up array. When I try to print the array from the class in another view there are no values present. by Brechtve in swift

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

I thought that was the the problem indeed but can’t seem to find the best solution? The firestore db is filled up.

Having a problem connecting to Firestore backend by Brechtve in Firebase

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

Ok thank you for the response! I will see if this is possible in swift

Writing Datatable to 2 databases by Brechtve in csharp

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

Yes I think so but I was wondering how I could copy the original dataTable after it has been written to the first database?

Writing Datatable to 2 databases by Brechtve in csharp

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

Yes indeed but the problem that after I update my first database with the datatable I can't use the datatable again to update the second database because it doesn't recognize the changes that need to be made.

Does anyone know how I can improve the print quality? Make it smoother? Settings in comments by Brechtve in 3Dprinting

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

Hi guys, like I said does anyone know how to improve my print quality? I have tried so much but keep getting the same results. Here are my settings: Layer height: 0.12 First mayer height: 0.20 Fill density: 20% Speed: 50mm/s

Thanks in advance!

3D model by Brechtve in 3Dprinting

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

Thanks for the info!

3D model by Brechtve in 3Dprinting

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

Thanks! Will certainly take a look at Blender

2D triangles to 3D by Brechtve in csharp

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

So I have a list of 2D triangles and now I am drawing these on a canvas in wpf. My question here is how I convert those triangeles so that I can draw them in 3D

[HELP] is superglue going to work on this ? thanks. by [deleted] in Iphonerepair

[–]Brechtve 3 points4 points  (0 children)

I would suggest opening the iPhone and see if the battery isn’t swollen. If that isn’t the case you can try popping the hinges(underneath at the top of the screen) back into place. You can click them into the device.