diff --git a/READMD.md b/READMD.md new file mode 100644 index 0000000..addf66d --- /dev/null +++ b/READMD.md @@ -0,0 +1 @@ +#此方法能返回两个字符串的相似度 diff --git "a/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215.xcodeproj/project.xcworkspace/xcuserdata/yumin.xcuserdatad/UserInterfaceState.xcuserstate" "b/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215.xcodeproj/project.xcworkspace/xcuserdata/yumin.xcuserdatad/UserInterfaceState.xcuserstate" index 7c28042..10cf307 100644 Binary files "a/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215.xcodeproj/project.xcworkspace/xcuserdata/yumin.xcuserdatad/UserInterfaceState.xcuserstate" and "b/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215.xcodeproj/project.xcworkspace/xcuserdata/yumin.xcuserdatad/UserInterfaceState.xcuserstate" differ diff --git "a/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215/ViewController.m" "b/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215/ViewController.m" index 2a61bce..7ba89a4 100644 --- "a/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215/ViewController.m" +++ "b/\345\255\227\347\254\246\344\270\262\347\233\270\344\274\274\345\272\246\345\214\271\351\205\215/ViewController.m" @@ -49,7 +49,6 @@ - (float) likePercent:(NSString *)testString AndTargetString:(NSString *)target{ } return 100.0 - 100.0*matrix[n][m]/testString.length; } - - (void)viewDidLoad { [super viewDidLoad]; float percent=[self likePercent:@"helloworld" AndTargetString:@"helloWorld"];