|
Getting the proper hardware is a right step; I don't think much of trying to hit all bases using emulators. Business expenses.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
The emulator was quite impressive. I had setup a iPhone 15 Max, and it was a complete iPhone including the apps that come with it, and worked just like an iPhone. I'm not sure if it's tied to my iPhone so that messaging and stuff works. But I get what your saying where I will hit a wall again with the emulator, and may have to buy the real thing. I don't own a Android phone, and I know the emulator will only take me so far for that platform. And I don't really want to buy phones and tablets.
I'll be careful on this, can't really borrow phones here, and I'll only get one chance from friends to test it before they lose patient with me. Great advice! and food for thought moving forward with a plan when I get to that point.
I bought one of the books based off it's reviews, the IOS one and not the Cookbook.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
|
|
|
|
|
I have my Swift app that records audio in chunks of multiple files, each M4A file is approx 1 minute long. I would like to go through those files and detect silence, or the lowest level
.
While I am able to read the file into a buffer, my problem is deciphering it. Even with Google, all it comes up with is "audio players" instead of sites that describe the header and the data.
Where can I find what to look for? Or even if I should be reading it into a WAV file? But even then I cannot seem to find a tool, or a site, that tells me how to decipher what I am reading.
Obviously it exists, since Siri knows when you've stopped speaking. Just trying to find the key.
|
|
|
|
|
|
Hi,
Is it possible to create code that works on MAC and Windows too (My concern is about MAC but if both platforms that would be great) to get data from predefined PDF form fields into predefined excel template?
If yes can you please provide simple exams of code to test?
|
|
|
|
|
|
I need to code in swift that can calculate the idle time of system.
|
|
|
|
|
|
Here's a GitHub gist that seems to do what you need.
|
|
|
|
|
|
|
i don't know to create video in Game screen
|
|
|
|
|
See my suggestion below. You cannot learn either Objective-C or Swift by posting vague questions here. You need to get a good study guide.
|
|
|
|
|
1. Pick a concept
2. Gather information
3. Start building
4. Refine your concept
5. Test your game
6. Market the finished product
Hope This Helps!
|
|
|
|
|
You've replied to the wrong person, in a thread from over four years ago.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Frist of all i need more example / case study during learing swift.
|
|
|
|
|
Use Google, or go to the CodeProject articles section.
|
|
|
|
|
|
hi all,
i m using NSPrintOperation using view.
NSPrintOperation graphic context affect my print view design.
when i print in landscape page my design also rotate.
please help me how can i handle this.
thanks in advance.
|
|
|
|
|
HI all
i am using NSPrintOperation with NSView for printing.
portrait pages are print well,
but Landscape printing not done properly please help me for this.
NSPrintOperation* printOperation = [NSPrintOperation printOperationWithView:my_print_view printInfo:printInfo];
[[printOperation printInfo] setPaperSize:printInfo.paperSize];
[[printOperation printInfo] setOrientation:NSPaperOrientationLandscape];
[printOperation setCanSpawnSeparateThread:YES];
[printOperation setShowsPrintPanel:NO];
[printOperation runOperationModalForWindow:window delegate:window didRunSelector:nil contextInfo:nil]
thanks in advance.
|
|
|
|
|
hi all
on printing action application get crashed with NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' message.
please help me for this.
crash log is
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 4
Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff83ab3784 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff89814f03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff83ab35a7 +[NSException raise:format:arguments:] + 103
3 CoreFoundation 0x00007fff83ab3534 +[NSException raise:format:] + 148
4 AppKit 0x00007fff879c386e -[NSPrintSpoolingGraphicsContext dealloc] + 37
5 CoreFoundation 0x00007fff83a2ff93 __CFArrayReleaseValues + 435
6 CoreFoundation 0x00007fff83a0da73 _CFRelease + 179
7 AppKit 0x00007fff8746e53d __NSAppKitFinalizeThreadData + 260
8 libSystem.B.dylib 0x00007fff8098f751 _pthread_tsd_cleanup + 187
9 libSystem.B.dylib 0x00007fff8098f39c _pthread_exit + 147
10 Foundation 0x00007fff84f9718f __NSFinalizeThreadData + 0
11 Foundation 0x00007fff84f97127 __NSThread__main__ + 1448
12 libSystem.B.dylib 0x00007fff8098efd6 _pthread_start + 331
13 libSystem.B.dylib 0x00007fff8098ee89 thread_start + 13
)
Thread 4 Crashed:
0 libSystem.B.dylib 0x00007fff809c89ce __semwait_signal_nocancel + 10
1 libSystem.B.dylib 0x00007fff809c88d0 nanosleep$NOCANCEL + 129
2 libSystem.B.dylib 0x00007fff80a253ce usleep$NOCANCEL + 57
3 libSystem.B.dylib 0x00007fff80a44a00 abort + 93
4 libstdc++.6.dylib 0x00007fff8a10e5d2 __tcf_0 + 0
5 libobjc.A.dylib 0x00007fff89818b39 _objc_terminate + 100
6 libstdc++.6.dylib 0x00007fff8a10cae1 __cxxabiv1::__terminate(void (*)()) + 11
7 libstdc++.6.dylib 0x00007fff8a10cb16 __cxxabiv1::__unexpected(void (*)()) + 0
8 libstdc++.6.dylib 0x00007fff8a10cbfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
9 libobjc.A.dylib 0x00007fff89814fa2 object_getIvar + 0
10 com.apple.CoreFoundation 0x00007fff83ab35a7 +[NSException raise:format:arguments:] + 103
11 com.apple.CoreFoundation 0x00007fff83ab3534 +[NSException raise:format:] + 148
12 com.apple.AppKit 0x00007fff879c386e -[NSPrintSpoolingGraphicsContext dealloc] + 37
13 com.apple.CoreFoundation 0x00007fff83a2ff93 __CFArrayReleaseValues + 435
14 com.apple.CoreFoundation 0x00007fff83a0da73 _CFRelease + 179
15 com.apple.AppKit 0x00007fff8746e53d __NSAppKitFinalizeThreadData + 260
16 libSystem.B.dylib 0x00007fff8098f751 _pthread_tsd_cleanup + 187
17 libSystem.B.dylib 0x00007fff8098f39c _pthread_exit + 147
18 com.apple.Foundation 0x00007fff84f9718f __NSFinalizeThreadData + 0
19 com.apple.Foundation 0x00007fff84f97127 __NSThread__main__ + 1448
20 libSystem.B.dylib 0x00007fff8098efd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff8098ee89 thread_start + 13
|
|
|
|
|
Lookup the error code:
kPMOutOfScope
Your application called this function out of sequence with other printing functions.
Declaration
kPMOutOfScope = -30871
From that I would guess that you have called PMSessionEndDocumentNoDialog() while printing is not - or not anymore - active.
|
|
|
|
|
i not called any of fiction related PMSessionEndDocumentNoDialog or kPMOutOfScope
i really don't know what happened even crash log not show any link to my application its shows all link to lib
|
|
|
|
|
kPMOutOfScope is just the name of the error (a definition or an enum ; should be declared in PMError.h).
PMSessionEndDocumentNoDialog might be called by other printing related functions or by a library (which seems happened in your case). So it may be a bug in that library or your code calls (printing) functions from that library without follwing the library reference documentation.
There should be not so many code lines in your application that are printing related. I would start inspecting them for correct usage of functions by reading the documentation for the used functions. Add code to check function return values (if a start print / preparation function fails for example and you did not detect that but call other printing functions later, they will fail too which might include exceptions). If it is a third party library, contact the supplier or ask in a related forum.
|
|
|
|