Click here to Skip to main content
13,900,319 members

Objective-C and Swift

 
GeneralMessage Closed Pin
10-Dec-18 5:34
memberMember 1408420310-Dec-18 5:34 
QuestionMessage Closed Pin
4-Dec-18 23:33
memberErdinc274-Dec-18 23:33 
QuestionMessage Closed Pin
12-Oct-18 2:49
memberMember 1401745812-Oct-18 2:49 
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
protectorRichard MacCutchan28-Jul-18 0:11 
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
protectorRichard MacCutchan19-May-18 2:08 
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
protectorRichard MacCutchan19-May-18 2:06 
GeneralMessage Closed Pin
8-Jul-18 20:36
membercode_frux8-Jul-18 20:36 
AnswerRe: Recently i decided to learn swift again[Help] Pin
Dennis E White9-Oct-18 9:45
professionalDennis E White9-Oct-18 9:45 
AnswerMessage Closed Pin
24-Feb-19 9:08
memberflorian.mrc24-Feb-19 9:08 
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
mveJochen 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
mveJochen 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 
SuggestionMessage Closed Pin
12-Apr-18 6:59
memberEssayWriter12-Apr-18 6:59 
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 
SuggestionRe: NSMutableArray copy problem Pin
Richard MacCutchan26-Jun-17 23:02
protectorRichard MacCutchan26-Jun-17 23:02 
GeneralRe: NSMutableArray copy problem Pin
Le@rner26-Jun-17 23:05
memberLe@rner26-Jun-17 23:05 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190306.1 | Last Updated 24 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid