Posts

Post not yet marked as solved
2 Replies
first line of code: struct UserTip: Tip {
Post not yet marked as solved
2 Replies
Missed the first line of code: static let hoverEvent: Event = Event(id: "hoverEvent") /// Parameters-Rules @Parameter static var isHovering: Bool = false static var tipCountKey = "UserTipCount" var title: Text var message: Text? var image: Image? var tipShownLimit: Int @ObservedObject var buttonState: ButtonState var rules: [Rule] { [ #Rule(Self.$isHovering) { $0 == true }, #Rule(Self.hoverEvent) { $0.donations.count < 10 } ] } }
Post not yet marked as solved
1 Replies
I resolved this issue. I had to specify in the browser to encode as multipart/form-data and then on the server: case http.MethodPost: contentType := request.Header.Get("Content-Type") if strings.HasPrefix(contentType, "multipart/form-data") { p.DataBodyMap = make(url.Values, 0) request.ParseMultipartForm(1000) for key, value := range request.MultipartForm.Value { p.DataBodyMap[key] = value } photoFile, header, err := request.FormFile("photoBytesString") if err == nil { log.Println(header, err) photoContentType := header.Header["Content-Type"][0] log.Println(photoContentType) photoBytes, _ := ioutil.ReadAll(photoFile) log.Println("len(photoBytes): ", len(photoBytes)) encodedImage64 := base64.StdEncoding.EncodeToString(photoBytes) encodedImage64WithPrefix := "data:" + photoContentType + ";base64," + encodedImage64 p.DataBodyMap["photoBytesString"] = []string{encodedImage64WithPrefix} }
Post not yet marked as solved
2 Replies
Notifications are working now on the iMac after reinstalling the OS.
Post not yet marked as solved
2 Replies
Again, the iMac is not receiving notifications even after rebooting twice. Running the same code.a call to [NSApp registerForRemoteNotifications]produces neither didRegisterForRemoteNotificationsWithDeviceToken nor didFailToRegisterForRemoteNotificationsWithError.This works on my other 2 test Macs, which are Macbook Pro's. The iMac is from 2015, the laptops are newer.
Post not yet marked as solved
4 Replies
Well I swear it said 'for free'. Maybe because I was using a test user?
Post not yet marked as solved
4 Replies
BTW, the app has been tested and approved for sale, but I don't want to release it until this issue is resolved.
Post not yet marked as solved
3 Replies
If I select to unlock it and select email, how would I check the email? I made up the apple id in apple connect as a test user. If I select security, I am asked for month, day, and year and it always fails as the apple connect test user view only asks for month and day.This is killing me.
Post not yet marked as solved
1 Replies
Sorry, hit return on Title and it saved.The issue is that I assign an int64_t value in my ContactRecord.contactType, but after this, the actual value stored there is nil. Funny this is this has worked fine for months and just yesterday, started to fail. How can nil even be in an int64_t value? On a new record, it initializes to zero.
Post not yet marked as solved
52 Replies
After moving xCode 10 out of the app folder, it finally installed.
Post not yet marked as solved
21 Replies
In fact, I have two bugs filed and no response to either. Is anybody listening?
Post not yet marked as solved
21 Replies
I filed a bug. No response.
Post not yet marked as solved
21 Replies
I went back to xCode 10 and these issues do not occur, so definitely an xCode 11.0 issue.
Post not yet marked as solved
21 Replies
I am now running the 10.15 released Catalina. xCode 11.0 (released) and experiencing the same issues. Also an NSButton with an image has the image messed up.