Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrections

  • Loading branch information...
commit 9d8a3d11f5969ca831cd3822aeabaad579ec2283 1 parent a5feb4d
@Cocoanetics authored
View
6 Core/Source/DTVersion.m
@@ -239,13 +239,13 @@ - (NSString *)description
{
if (_build > 0)
{
- return [NSString stringWithFormat:@"%d.%d.%d.%d", _major, _minor, _maintenance, _build];
+ return [NSString stringWithFormat:@"%d.%d.%d.%d", (int)_major, (int)_minor, (int)_maintenance, (int)_build];
}
if (_maintenance > 0)
{
- return [NSString stringWithFormat:@"%d.%d.%d", _major, _minor, _maintenance];
+ return [NSString stringWithFormat:@"%d.%d.%d", (int)_major, (int)_minor, (int)_maintenance];
}
- return [NSString stringWithFormat:@"%d.%d", _major, _minor];
+ return [NSString stringWithFormat:@"%d.%d", (int)_major, (int)_minor];
}
#pragma mark Properties
View
4 Core/Source/NSMutableArray+DTMoving.m
@@ -17,10 +17,10 @@ - (void)moveObjectsAtIndexes:(NSIndexSet *)indexes toIndex:(NSUInteger)idx
NSArray *objectsToMove = [self objectsAtIndexes:indexes];
// If any of the removed objects come before the index, we want to decrement the index appropriately
- index -= [indexes countOfIndexesInRange:(NSRange){0, index}];
+ idx -= [indexes countOfIndexesInRange:(NSRange){0, idx}];
[self removeObjectsAtIndexes:indexes];
- [self replaceObjectsInRange:(NSRange){index,0} withObjectsFromArray:objectsToMove];
+ [self replaceObjectsInRange:(NSRange){idx,0} withObjectsFromArray:objectsToMove];
}
@end
View
10 DTFoundation.xcodeproj/project.pbxproj
@@ -73,6 +73,7 @@
A766136416143F8A00DF6C2B /* NSMutableArray+DTMoving.m in Sources */ = {isa = PBXBuildFile; fileRef = A766135F16143F8A00DF6C2B /* NSMutableArray+DTMoving.m */; };
A766136516143F8A00DF6C2B /* NSMutableArray+DTMoving.m in Sources */ = {isa = PBXBuildFile; fileRef = A766135F16143F8A00DF6C2B /* NSMutableArray+DTMoving.m */; };
A766136616143F8A00DF6C2B /* NSMutableArray+DTMoving.m in Sources */ = {isa = PBXBuildFile; fileRef = A766135F16143F8A00DF6C2B /* NSMutableArray+DTMoving.m */; };
+ A76613E5161444FD00DF6C2B /* NSString+DTUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A7D0AA49153C233E0020F18B /* NSString+DTUtilities.m */; };
A77DD39E14E648AD00F34B03 /* DTAsyncFileDeleter.h in Headers */ = {isa = PBXBuildFile; fileRef = A77DD39C14E648AD00F34B03 /* DTAsyncFileDeleter.h */; settings = {ATTRIBUTES = (Public, ); }; };
A77DD39F14E648AD00F34B03 /* DTAsyncFileDeleter.h in Headers */ = {isa = PBXBuildFile; fileRef = A77DD39C14E648AD00F34B03 /* DTAsyncFileDeleter.h */; settings = {ATTRIBUTES = (Public, ); }; };
A77DD3A014E648AD00F34B03 /* DTAsyncFileDeleter.m in Sources */ = {isa = PBXBuildFile; fileRef = A77DD39D14E648AD00F34B03 /* DTAsyncFileDeleter.m */; };
@@ -1137,6 +1138,7 @@
FACE186F1612035600758319 /* DTPDFDocument.m in Sources */,
FACE18701612035600758319 /* DTPDFPage.m in Sources */,
A766136616143F8A00DF6C2B /* NSMutableArray+DTMoving.m in Sources */,
+ A76613E5161444FD00DF6C2B /* NSString+DTUtilities.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1243,10 +1245,6 @@
A70B4CF01486637E00873A4A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = (
- armv6,
- "$(ARCHS_STANDARD_32_BIT)",
- );
DSTROOT = /tmp/DTFoundation.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/DTFoundation-Prefix.pch";
@@ -1261,10 +1259,6 @@
A70B4CF11486637E00873A4A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = (
- armv6,
- "$(ARCHS_STANDARD_32_BIT)",
- );
DSTROOT = /tmp/DTFoundation.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/DTFoundation-Prefix.pch";
Please sign in to comment.
Something went wrong with that request. Please try again.