Click here to Skip to main content
15,390,016 members
Home / Discussions / Objective-C and Swift
   

Objective-C and Swift

 
QuestionHow can I decipher, or understand what I reading in an M4A file? Pin
SergioQ24-Jan-22 15:52
MemberSergioQ24-Jan-22 15:52 
QuestionHow can I take data from PDF form to Excel on specified cells Pin
Member 146436033-Nov-19 22:18
MemberMember 146436033-Nov-19 22:18 
AnswerRe: How can I take data from PDF form to Excel on specified cells Pin
Richard MacCutchan3-Nov-19 23:41
mveRichard MacCutchan3-Nov-19 23:41 
QuestionHow to get Idle time of mac? Pin
UJ727-Jul-18 23:57
MemberUJ727-Jul-18 23:57 
AnswerRe: How to get Idle time of mac? Pin
Richard MacCutchan28-Jul-18 0:11
mveRichard MacCutchan28-Jul-18 0:11 
AnswerRe: How to get Idle time of mac? Pin
Vincent Reynolds20-Sep-19 11:23
MemberVincent Reynolds20-Sep-19 11:23 
AnswerRe: How to get Idle time of mac? Pin
Vitória Oliveira1-Oct-19 11:31
MemberVitória Oliveira1-Oct-19 11:31 
GeneralRe: How to get Idle time of mac? Pin
Ogladaj Znami13-Jan-22 22:17
MemberOgladaj Znami13-Jan-22 22:17 
QuestionHow to design game Pin
HerryF19-May-18 1:22
MemberHerryF19-May-18 1:22 
AnswerRe: How to design game Pin
Richard MacCutchan19-May-18 2:08
mveRichard MacCutchan19-May-18 2:08 
GeneralRe: How to design game Pin
Coding Ninjas7-Jun-22 0:46
MemberCoding Ninjas7-Jun-22 0:46 
GeneralRe: How to design game Pin
Richard Deeming7-Jun-22 0:57
mveRichard Deeming7-Jun-22 0:57 
AnswerRe: How to design game Pin
chipp_zanuff2-Nov-18 20:42
Memberchipp_zanuff2-Nov-18 20:42 
QuestionRecently i decided to learn swift again[Help] Pin
HerryF8-Oct-18 20:15
MemberHerryF8-Oct-18 20:15 
AnswerRe: Recently i decided to learn swift again[Help] Pin
Richard MacCutchan19-May-18 2:06
mveRichard MacCutchan19-May-18 2:06 
AnswerRe: Recently i decided to learn swift again[Help] Pin
Dennis E White9-Oct-18 9:45
professionalDennis E White9-Oct-18 9:45 
QuestionNSPrintOperation graphic context affect my custom print view? Pin
Le@rner4-Feb-18 18:04
MemberLe@rner4-Feb-18 18:04 
QuestionNSPrintOperation not print properly Landscape print Pin
Le@rner30-Jan-18 20:13
MemberLe@rner30-Jan-18 20:13 
Questionmy application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner17-Jan-18 0:50
MemberLe@rner17-Jan-18 0:50 
AnswerRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Jochen Arndt17-Jan-18 1:07
professionalJochen Arndt17-Jan-18 1:07 
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner17-Jan-18 1:40
MemberLe@rner17-Jan-18 1:40 
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Jochen Arndt17-Jan-18 1:56
professionalJochen Arndt17-Jan-18 1:56 
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.
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner30-Jan-18 20:10
MemberLe@rner30-Jan-18 20:10 
QuestionNSImage become blurry after transfromation Pin
Le@rner7-Jul-17 20:27
MemberLe@rner7-Jul-17 20:27 
QuestionNSMutableArray copy problem Pin
Le@rner26-Jun-17 21:19
MemberLe@rner26-Jun-17 21:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.